You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Adding a project is now two explicit commands instead of one flow with a
mode switch: Open folder… opens an existing folder, and Clone
repository… clones a remote into a new folder. The New Work menu, the
Projects header, the empty Projects row, and the empty workspace all offer
both commands.
Each command opens the Add Project dialog already set to its task, so the
Open/Clone switch no longer appears when the entry point chose the mode.
The Projects header "+" opens a small menu with the two commands instead of
starting an unnamed add flow.
The Add Project dialog is a proper modal now: it renders above the window,
keeps Tab inside the dialog, locks the page behind it, closes on Escape
when idle, and returns focus to whatever opened it.
Its controls come from the design system: text fields, the WSL distro
picker, checkboxes, buttons, progress and inline notices match the rest of
the app.
Running a project in WSL is one compact "Run in" picker instead of two large
environment cards; elsewhere the picker is hidden because there is only one
environment. Opening a folder shows the path field directly, with Browse as
a secondary action.
Cloning remembers the last destination folder per environment and shows it
as a one-line "Clone into …" summary; Change reveals the folder and name
fields. Authentication is one panel: HTTPS username/token by default, with
"Use SSH instead" for keys, host-fingerprint confirmation and the
post-clone credential persistence choice.
The dialog lives in components/projects/AddProjectDialog.tsx.