Repository navigation
Era bar: closable and remembered (kit v=4) - #19
Merged
Merged
Conversation
The 'phase 2 / back to phase 1' strip above the header gets a close button. Closing removes it and stores interimm-era-bar=closed in localStorage so it stays hidden on later visits. On phones the left label is hidden so the bar stays one line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUNj9piTc2aGUUJFvN31tV
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.
Requested by L in the project thread.
Before: the "第二阶段 · 通联纪 · 2219 / ← 返回第一阶段" bar above every header was always there.
After: the bar has a × on the right. Closing it removes it and stores
interimm-era-bar=closedin localStorage, so it stays hidden on later visits (storage access wrapped in try/catch). On phones the left label is hidden so the bar stays one line.How:
kit/interimm.jschecks the key before rendering and binds the close button after the header is drawn;labels.closeadded to both nav JSONs; styles inkit/interimm.css; all 17 pages bumped to?v=4.npm testpasses (27/27); checked by screenshot at 412 px and 1200 px, including that the bar stays gone after reload.Companion: iron-bamboo-initiative stops rendering this bar at all.
Generated by Claude Code