Skip to content

Reveal the active worksheet tab after sheet navigation - #688

Merged
h-a-n-a-s-h-i merged 2 commits into
storytold:mainfrom
derechopiano:fix/sheet-tab-navigation
Oct 13, 2026
Merged

h-a-n-a-s-h-i merged 2 commits into
storytold:mainfrom
derechopiano:fix/sheet-tab-navigation

Conversation

@derechopiano

Copy link
Copy Markdown
Contributor

Selecting a sheet beyond the visible tab strip currently leaves its name off-screen, including when using the Previous/Next arrows. Reveal the active tab when the selection, visible tabs or viewport width changes, using the existing scroll area. Leave manual scrolling alone between those changes.

Related to #681. This builds on the scrolling added in #268 and does not change sheet-navigation commands.

Validation:

  • Reproduced clipped selected tabs on unchanged main; inspected before/after renders.
  • Six UI tests cover opening at a later sheet, arrow navigation, horizontal/vertical gestures without snap-back, hidden sheets and long names, resizing, adding a sheet, and worksheet-scrollbar interaction.
  • Formatting, workspace/all-target Clippy, assets, layers, wasm, parity and keytips pass.
  • Full workspace tests: 1,331 passed, one ignored, and three known main failures: io::tests::csv_save_keeps_the_separator_it_was_opened_with, tests::saving_an_opened_semicolon_csv_keeps_semicolons, and i18n::tests::translations_are_unique_and_preserve_unknown_text. No unrelated repairs included.

Developed with OpenAI Codex; reproduced and tested locally as described above.

The standard cargo xtask ci command passes formatting and Clippy, then stops at the two CSV failures above; the remaining gates were run separately and passed.

# Conflicts:
#	docs/target-app-parity.md
#	docs/ui-parity.md
@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 8fa9a65 into storytold:main Oct 13, 2026
1 check failed
h-a-n-a-s-h-i pushed a commit that referenced this pull request Oct 13, 2026
- restore closing braces the line-level merges of side-by-side tests dropped
- new ChartData literals carry the palette field
- the filter-menu shortcut passes the row with the column
- #688's tab tests account for #851's All Sheets button
- Serbian margins for the ruler-margin labels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@echelon

echelon commented Oct 13, 2026

Copy link
Copy Markdown
Member

Merged — thank you @derechopiano for the contribution!

I merged main into your branch to resolve conflicts with other PRs that landed first.

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