Skip to content

Conversation

@OCopping
Copy link
Collaborator

@OCopping OCopping commented Nov 13, 2025

This PR reworks some logic of the autofill script to remove the need for a index-src.bob file. Instead of specifically looking for macros to replace, we will just overwrite the contents of the xml tag with anything provided by the user in the techui.yaml.

The next step will be to implement full validation for every user-edited screen, instead of just index.bob.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

❌ Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.03%. Comparing base (7600a81) to head (d79760f).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
src/techui_builder/autofill.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
+ Coverage   81.92%   82.03%   +0.11%     
==========================================
  Files           7        7              
  Lines         581      579       -2     
==========================================
- Hits          476      475       -1     
+ Misses        105      104       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@OCopping OCopping marked this pull request as draft November 13, 2025 08:57
@OCopping OCopping force-pushed the remove-need-for-index-src branch from cd417da to c4b9825 Compare November 13, 2025 09:15
@OCopping OCopping marked this pull request as ready for review November 13, 2025 09:15
@OCopping OCopping force-pushed the remove-need-for-index-src branch 2 times, most recently from 0c3d2b3 to 4e6c75e Compare November 17, 2025 09:33
This basically means just always overwrite the tag contents with what is
provided by the techui.yaml file. This removes the need for a -src.bob
file.
@OCopping OCopping force-pushed the remove-need-for-index-src branch from 8196a56 to d79760f Compare November 17, 2025 15:32
@OCopping OCopping merged commit a8827a1 into main Nov 17, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants