Repository navigation
feat(web): clearer dashboard navigation - #103
Merged
Merged
Conversation
Eight top-level items become six. Costs and Analytics merge into Usage (Costs and Activity tabs sharing one date range). Setup becomes Accounts. Devices moves into Settings as a tab. Links to the old pages are rewritten before the first render, so ?view=costs, ?view=analytics, ?view=setup&tab=... and ?view=devices still open the same place.
Errors, the README and the docs pointed people to Setup, Devices and the Costs page, which no longer exist under those names.
|
Deployment failed for project vmbridge with the following error: Learn More: https://vercel.com/vkpdevelopers-projects?upgradeToPro=build-rate-limit |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Problem
The dashboard had eight top-level items. Costs and Analytics were separate pages showing two views of the same thing (what VMs cost, and how they were used, over the same date range). "Setup" was a vague name for the place where you add provider keys, a GitHub token and agent sign-ins. Devices was a top-level page even though it is a settings task, much like Addresses and Password.
New arrangement
Eight items become six: Canvas, Logs, Usage, Accounts, Skills, Settings.
Links and cross-links
main.tsxbefore the first render (lib/moved-links.ts, unit tested):?view=costsgoes to Usage/Costs,?view=analyticsto Usage/Activity,?view=setup&tab=…to Accounts with the same tab, and?view=devicesto Settings/Devices.go()now takes{ view, tab }, and tab ids are typed per page. The budget banner opens Usage/Costs, the failing-device banner and Canvas "Pair" open Settings/Devices, and "Test connection" now opens Settings/Addresses, where that button actually is (before, it opened the VMs tab).Validation
bun run check: typecheck plus 549 tests pass.Desktop
Phone