[Refonte UI] Live network throughput in the status pill
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- mariadb, mysql, postgresql, react, rust, sqlite, tauri, typescript
- Ambito
- backend-api-design, databases, desktop
Direzione di ricerca
Start by tracing the status pill and the live connection paths for direct TCP, TLS, and SSH in the frontend and Rust backend. Determine where connection data is exposed, then review how tests cover counters and rate formatting. Done means PostgreSQL and MySQL/MariaDB show a live rate, SQLite shows nothing, and the stated test and lint commands pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Split from #104 (chrome parity). The status pill in the top bar has a slot on its right for live network throughput (e.g. 0 B/s, 1.2 KB/s), as in the reference layout. #104 leaves that slot empty: the number needs data the backend does not collect today, and a fake value is not acceptable.
Work
- Backend: count bytes read and written on each live connection (direct TCP, TLS and SSH tunnel paths; SQLite has no network, so its slot stays empty), without measurable overhead on queries.
- Expose a rate (bytes/s over a short sliding window) per connection to the frontend, e.g. a small event or a polled command. No secret, query text or value is ever included.
- Frontend: show the rate in the pill's right-hand slot for the active connection, in a stable format (
B/s,KB/s,MB/s), without layout shift when the number changes.
Acceptance
- The pill shows the live rate for PostgreSQL and MySQL/MariaDB connections, direct and through SSH; SQLite shows nothing.
- Idle connections read
0 B/s; the number moves while a large page loads. - Tests cover the counter and the formatting;
pnpm test && pnpm lintandpnpm test:rustgreen.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 1h 2m
- PR unite (30g)
- 41
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Cemoche/tablemax
-
accessibility area:frontend size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:backend size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area:infra good first issue size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
area:docs good first issue size:S status:ready type:task
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:infra size:S status:ready type:task
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Cemoche/tablemax
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
db-ux-design-system/core-web#8613 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug:new
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
callstackincubator/simlock#934 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
gchq/LD-Explorer#286 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
foxglove/mcap#1907 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno