Creating a project — the app's front door — currently runs through a raw window.prompt for the name, then a full window.location.assign page reload to /settings?tab=data (components/project-switcher.tsx). Switching projects also forces a full reload.
What to do
- Replace the prompt with a proper create dialog (name field, maybe a short blurb about what a project is), consistent with the rest of the shadcn UI.
- After create, navigate with the router and invalidate queries instead of a hard reload; same for switching projects, if the active-project state can be swapped without tearing the page down. If a hard reload is genuinely required by how the server pins the active project db, document that constraint in the code and keep the reload — but the prompt still goes.
Part of the polish epic #35.
Creating a project — the app's front door — currently runs through a raw
window.promptfor the name, then a fullwindow.location.assignpage reload to/settings?tab=data(components/project-switcher.tsx). Switching projects also forces a full reload.What to do
Part of the polish epic #35.