Skip to content

Fix/tags tab toggle and alignment#26

Merged
oxGrad merged 8 commits intomainfrom
fix/tags-tab-toggle-and-alignment
Apr 27, 2026
Merged

Fix/tags tab toggle and alignment#26
oxGrad merged 8 commits intomainfrom
fix/tags-tab-toggle-and-alignment

Conversation

@oxGrad
Copy link
Copy Markdown
Owner

@oxGrad oxGrad commented Apr 27, 2026

No description provided.

oxGrad and others added 8 commits April 27, 2026 11:13
- Show pending "*" marker on individual package items, not just the parent tag
- Fix tag-level toggle to revert pending state on second press (idempotent undo)
- Center all status labels to a fixed width inside brackets for visual alignment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the generic '*' pending marker with directional arrows that
show what state the package or tag will transition to (e.g. '-> tied',
'-> untied', '-> partial') so the user can see the effect of their
toggle before applying.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a blank line after the tab header and a fixed 2-space indent after
the cursor arrow so name columns start at the same offset (col 4) in
both tabs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduce tuiMarginLeft/Right = 4 constants and apply them uniformly
via styleMargin so the TUI content is inset from both terminal edges.
Header box and branch divider widths are adjusted accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove centerLabel wrapping from the unknown status fallback so the
plain string is returned as expected by tests. Update visibleHeight
test expectations to reflect the +4 overhead after the blank line
was added below the tab header.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oxGrad oxGrad merged commit b7d8efc into main Apr 27, 2026
6 checks passed
@oxGrad oxGrad deleted the fix/tags-tab-toggle-and-alignment branch April 27, 2026 06:12
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