Skip to content

feat: Rework Autofiller to support navtab-based multi-file bob structures - #267

Merged
OCopping merged 2 commits into
mainfrom
fix-navtab-autofill
Sep 22, 2026
Merged

OCopping merged 2 commits into
mainfrom
fix-navtab-autofill

Conversation

@OCopping

@OCopping OCopping commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Previously, the autofiller only handled a single index.bob file. This change enables it to:

  • Discover and autofill multiple .bob files matching index[-<suffix>].bob (or a specified <filename>[-<suffix>].bob)
  • Detect navtabs widgets in index files and recursively autofill the tab screen files they reference
  • Move _get_nav_tabs into utils.py for reuse across modules

Files changed:

  • autofill.py — Major refactor: Autofiller now manages multiple index trees and traverses navtab links
  • main_app.py — Updated find_bob() → find_index_bobs() to return a base path + list of related .bob files
  • utils.py — Exported _get_nav_tabs helper

Tests updated:

  • test_autofiller.py — New tests for navtab autofill behavior
  • test_cli.py — Adapted for new multi-file discovery

@OCopping OCopping self-assigned this Sep 15, 2026
@codecov

codecov Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.83333% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.54%. Comparing base (b3f1f06) to head (56de030).

Files with missing lines Patch % Lines
src/techui_builder/autofill.py 94.23% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #267      +/-   ##
==========================================
- Coverage   96.61%   96.54%   -0.07%     
==========================================
  Files          17       17              
  Lines        1033     1072      +39     
==========================================
+ Hits          998     1035      +37     
- Misses         35       37       +2     

☔ View full report in Codecov by Harness.
📢 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 changed the title Fix autofilling of screens in Navigation Tab widgets on the index.bob feat: Rework Autofiller to support navtab-based multi-file bob structures Sep 22, 2026
@OCopping
OCopping force-pushed the fix-navtab-autofill branch 2 times, most recently from bf9daa5 to 47a31bf Compare September 22, 2026 12:15
Comment thread tests/test_autofiller.py
@OCopping
OCopping merged commit 4a66bfc into main Sep 22, 2026
8 of 9 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.

2 participants