Skip to content

Added label feature for the techui.yaml#216

Open
adedamola-sode wants to merge 5 commits intomainfrom
use-labels
Open

Added label feature for the techui.yaml#216
adedamola-sode wants to merge 5 commits intomainfrom
use-labels

Conversation

@adedamola-sode
Copy link
Copy Markdown
Collaborator

The changes include adding fields labels and child labels to techui.yaml components, which get passed as into the component models and entities. Then from entities, we get generated screens that take into consideration the child labels for the names of the screens, and also the main label instead of a key of components in the yaml file. After the screens are generated, the generate_json_map uses a new function _get_labels to fetch the labels from the techui.yaml, and places them where needed, taking precedence before what is already in the screens.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

❌ Patch coverage is 95.74468% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.76%. Comparing base (28f53e3) to head (f964208).

Files with missing lines Patch % Lines
src/techui_builder/builder.py 92.85% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #216      +/-   ##
==========================================
+ Coverage   94.66%   94.76%   +0.09%     
==========================================
  Files          10       10              
  Lines         825      859      +34     
==========================================
+ Hits          781      814      +33     
- Misses         44       45       +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.

@adedamola-sode adedamola-sode marked this pull request as ready for review May 5, 2026 10:36
@adedamola-sode adedamola-sode requested a review from OCopping May 5, 2026 14:00
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.

1 participant