Repository navigation
Commit 99ab215
committed
feat(gui): redesign provider accounts workspace with adaptive grid, collapsible rails, and quota controls
Summary of changes:
- Redesign provider accounts workspace with responsive two-column grid layout and container query adaptation for narrow screens.
- Introduce unified dropdown filter button with live counts for all accounts, Gemini/Claude active quotas, and exhausted states.
- Implement intuitive 4-option sorting (more/less headroom, soonest 5-hour and 7-day reset) with automatic active model context.
- Streamline quota windows to clean '5-Hour' and 'Weekly' metrics without repeating Gemini/Claude brand names or redundant percent badges.
- Provide clean unmasked email login by default with optional hidden (***) and alias display modes, and one-click clipboard copy.
- Add collapsible icon-only navigation sidebar (68px) and provider rail (58px) with smooth transitions and localStorage state persistence.
- Stabilize accounts overview stats card with 2x2 responsive grid under 960px container width and anchored refresh controls.
- Enhance account search bar with high-contrast surface background matching filter buttons and green focus glow.
- Replace native browser confirm with branded dark modal dialog for account deletion.
- Hydrate quota cache immediately on mount from disk and refresh in background to prevent blank cards on reload.
- Persist selected provider, active tab, filter, sort, title mode, and view mode in localStorage across page reloads.
- Add comprehensive test suite in tests/gui/account-quota-analysis.test.ts with full 9-locale parity.1 parent 68f4bc6 commit 99ab215
26 files changed
Lines changed: 4008 additions & 265 deletions
File tree
- docs/pr-assets
- gui
- src
- components/provider-workspace
- i18n
- pages
- styles
- tests
- scripts/test-layout
- tests/gui
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
160 | 177 | | |
161 | 178 | | |
162 | 179 | | |
| |||
284 | 301 | | |
285 | 302 | | |
286 | 303 | | |
287 | | - | |
| 304 | + | |
288 | 305 | | |
289 | 306 | | |
290 | 307 | | |
| |||
312 | 329 | | |
313 | 330 | | |
314 | 331 | | |
315 | | - | |
| 332 | + | |
316 | 333 | | |
317 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
318 | 344 | | |
319 | 345 | | |
320 | 346 | | |
| |||
344 | 370 | | |
345 | 371 | | |
346 | 372 | | |
| 373 | + | |
| 374 | + | |
347 | 375 | | |
348 | | - | |
| 376 | + | |
349 | 377 | | |
350 | 378 | | |
351 | 379 | | |
| |||
461 | 489 | | |
462 | 490 | | |
463 | 491 | | |
| 492 | + | |
0 commit comments