Repository navigation
feat(web): hide tabs below the status they need - #319
Merged
Merged
Conversation
The public sees statistics, lookup, about and api only. Explore needs observer, live and submit contributor, analyse partner; a tab below its status is hidden in the menu and its hash opens the statistics, as the admin tab already did without a role. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Changes
Changed
web/index.html: explore, live, submit and analyse start hidden.web/app.js:TAB_TIERmap andtabAllowed, used byrouteandwhoami.scripts/browser_test.py:test_public_sees_a_short_menu..openspec/specs/030-browser-client/spec.md,.openspec/architecture/decisions/016-phase3-rust-on-db-core.md: docs.Changelog
Review Findings
No prior
/reviewrun in this session.Testing
node --check web/app.js,python3 -m py_compile scripts/browser_test.pymake check-assurance: tested 100% (min 95%), 0 dead linkstest_public_sees_a_short_menuruns in CI (Obscura), not locallyKnown gap: a link inside a lookup result that points into explore sends a public user to statistics instead.
Related Issues
Related to no issue.
🤖 Generated with Claude Code