Improve byte formatting across the UI
This commit is contained in:
@@ -49,3 +49,4 @@ Updated: 2026-04-02
|
||||
32. Restored proxy-link copying for plain-`http` deployments by falling back from the Clipboard API to `execCommand('copy')`, and added regression coverage for both clipboard paths.
|
||||
33. Replaced stale startup mock values with explicit skeleton loading states so the shell no longer flashes fallback dashboard/users/settings data before the first live snapshot arrives.
|
||||
34. Renamed the tracked Docker Compose file to `compose.example.yml` and ignored local `compose.yml` so production-specific compose settings no longer get overwritten by pulls.
|
||||
35. Expanded byte formatting to cover `KB` through `PB`, improving dashboard totals, user usage, and quota remainder readability for both small and very large traffic values.
|
||||
|
||||
@@ -28,8 +28,8 @@ Updated: 2026-04-02
|
||||
- `src/App.test.tsx`: login-gate, startup skeleton, preferences persistence, hash-tab restoration, websocket-sync safety, reconnect/logout fallback handling, clipboard fallback coverage, generated-credential/create-edit modal flows, runtime stop, pause/resume, delete-confirm, and settings-save UI tests
|
||||
- `src/app.css`: full panel styling including fixed-width icon action buttons, busy-state treatment, startup skeleton shimmer states, and connection banner styling
|
||||
- `src/data/mockDashboard.ts`: default panel state and frontend fallback snapshot
|
||||
- `src/lib/3proxy.ts`: formatting and status helpers
|
||||
- `src/lib/3proxy.test.ts`: paranoia-oriented tests for core domain rules
|
||||
- `src/lib/3proxy.ts`: formatting and status helpers, including byte scaling from `B` through `PB`
|
||||
- `src/lib/3proxy.test.ts`: paranoia-oriented tests for core domain rules and byte-format scaling boundaries
|
||||
- `src/lib/panelPreferences.ts`: `localStorage`-backed panel language/theme preferences plus theme application helpers with `system` as the default theme
|
||||
- `src/lib/panelText.ts`: English/Russian UI text catalog for the panel shell, user-edit actions, runtime controls, last-seen labels, and connection recovery notices
|
||||
- `src/shared/contracts.ts`: shared panel, service, user, and API data contracts including per-user last-seen metadata
|
||||
|
||||
Reference in New Issue
Block a user