Gate the experimental Migration suite behind an opt-in Settings flag - #28
Draft
Exotic209093 wants to merge 1 commit into
Draft
Gate the experimental Migration suite behind an opt-in Settings flag#28Exotic209093 wants to merge 1 commit into
Exotic209093 wants to merge 1 commit into
Conversation
…n flag The cross-org Migration suite ships but is thinly tested. Hide it by default so it isn't a silent liability, while keeping it available for power users. - Add UiSettings.experimentalMigration (default off). - AppRoot: only show the Migration nav group when enabled, and guard direct navigation (legacy aliases / command palette / saved routes) with an opt-in notice that can enable the suite inline. - SettingsScreen: add an 'Experimental: cross-org Migration tools' toggle. typecheck/lint(0 warnings)/test(432)/build all green. https://claude.ai/code/session_01FFYU8SwvrpR39ANezVjFqE
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.
Resolves roadmap N.4 — the migration suite ships but is thinly tested, so this gates it behind an opt-in flag rather than leaving demoted-but-visible screens as a silent liability.
Changes
UiSettings.experimentalMigration(default off).AppRoot— the Migration nav group only renders when enabled. Because it's excluded fromnavGroups, it also drops out of the command palette. Direct navigation (legacy route aliases, saved routes) hits a guard that shows an opt-in notice with an inline Enable migration tools button.SettingsScreen— adds an "Experimental: cross-org Migration tools" checkbox.Behaviour
Fully reversible from Settings; no data touched.
Verified
typecheck✅ ·lint --max-warnings=0✅ ·test✅ 432 ·build✅Plain conditional rendering on a stored boolean — nothing requires an in-browser smoke-test. Left as draft per default; ready to mark for review whenever you'd like.
https://claude.ai/code/session_01FFYU8SwvrpR39ANezVjFqE