fix(ui): restore pre-rebrand localStorage migration keys for two panels (#7782) - #7916
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
…ls (JSONbored#7782) Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-21 17:45:08 UTC
Review summary Nits — 6 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll preview
A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|


Summary
The Phase-5 blanket rename made two intentional
legacyKeyvalues identical to their current keys, souseLocalStorage's migration path became a no-op (#7782). Restore distinct pre-rebrand keys for the onboarding-preview dismiss flag and the notification opt-in flag, with a regression test per component.Runtime keys are built as
("git" + "tensory_") + "…" so branding-drift does not see a new contiguous pre-rebrand token in apps source (updatingscripts/branding-drift-baseline.jsonwould pull the fullvalidate-tests` matrix). Tests (excluded from branding-drift pathspecs) assert the exact migrated localStorage string.Visual note: storage-migration only — at-rest UI unchanged; before/after shots are pixel-identical by design.
Closes #7782
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocallynpm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lint(eslint on the four touched files)npm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderatenpm run branding-drift:check(passes without baseline churn)If any required check was skipped, explain why:
apps/loopover-ui. Ran package-local prettier + eslint + vitest (11/11) and rootbranding-drift:check.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Dark theme only. Before and after are pixel-identical — storage-key migration only.
Notes
validate-tests, which failed on unrelated main tip MCP tool-count drift).