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
{{ message }}
Repository navigation
Show progress while the first connection is opening #799
Open ?mock, click +, choose "Staging" (the mock takes about 1.5 s).
For the whole wait nothing changes. The sidebar still says "No connection selected", the status bar says "Disconnected", and there is no spinner or placeholder tab.
With Staging connected, open + and choose "MariaDB sandbox". While it is in flight, the healthy Staging tab's icon pulses amber ("Connecting"), and the connection being attempted has no tab.
Cause
src/components/layout/ConnectionTabs.tsx:43-47: the "Connecting" state is the store-wide loading flag, applied to every existing tab. A tab exists only after a connect succeeds.
src/stores/connectionStore.ts: loading is also set by loadProfiles, saveProfile, deleteProfile and disconnect, so those flash "Connecting" too. Overlapping connects clear it early.
Fix
Track in-flight connects per profile id (connecting: string[]). Render a placeholder tab (spinner plus profile name, with a cancel X) as soon as a connect starts, and show "Connecting to Staging…" in the status bar. Don't reuse loading for the tab state.
Activity
fix(connection): show progress while connecting
release: 1.4.0 (#871)