Repository navigation
Community board: history navigation, keyboard tabs, narrow layout - #68
Merged
Merged
Conversation
- Tabs, task rows and activity links push hash entries and follow hashchange, so browser Back returns to the list or tab the reader came from; publishing now actually opens the new problem. - Returning to the list focuses the row that was opened; opening a task focuses its title. Opening a task hidden by the filter widens it to All. - Tabs follow the ARIA pattern: tabpanel, aria-controls, roving tabindex, arrow/Home/End keys. - Proof and statement textareas no longer wrap code lines. - Tabs fit without scrolling at 390 and 320 px; facts use a 2x2 grid on phones. - Page check covers Back, keyboard tabs, publish-then-open, tab fit, and open-problem and dark-theme screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second polish round on the community board (follow-up to #66).
Navigation
hashchange. Browser Back now returns to the list or tab the reader came from; before,replaceStatemeant Back left the page.location.hashbut nothing listened, so it stayed on Join. It now opens the new problem.Accessibility
tabpanel,aria-controls, rovingtabindex, and Arrow/Home/End keys.Layout
wrap="off", so code lines scroll instead of breaking.Tests
scripts/test-web-community.tsnow checks Back navigation, keyboard tab switching, publish-then-open, and that the tabs don't scroll at any width. It also adds open-problem screenshots (light, dark, 390) and a dark solved-list screenshot.tests/web(2433 pass),bun run build && bun run build:web, and the community page check all pass.🤖 Generated with Claude Code