Skip to content

Improve TOC highlighting for collapsed branches#2712

Merged
stanislaw merged 4 commits intomainfrom
mettta/toc_UI_improvement
Mar 6, 2026
Merged

Improve TOC highlighting for collapsed branches#2712
stanislaw merged 4 commits intomainfrom
mettta/toc_UI_improvement

Conversation

@mettta
Copy link
Collaborator

@mettta mettta commented Mar 6, 2026

This PR updates TOC highlighting behavior for collapsed branches: when a highlighted child becomes hidden, highlight moves to the visible parent; when the branch is expanded again, highlight is recalculated back to the visible child. It also adds event-based highlight refresh on TOC state changes and extends E2E coverage for this parent/child transfer behavior.

@mettta mettta requested a review from stanislaw March 6, 2026 18:08
@stanislaw stanislaw merged commit bd8553c into main Mar 6, 2026
33 checks passed
@stanislaw stanislaw deleted the mettta/toc_UI_improvement branch March 6, 2026 19:42
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