Colour grid values by type
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by locating the result-grid cell rendering, theme-token definitions, and the settings handling for [grid] and :set; the issue does not name files or tests. Trace how cell types, cursor and selection colors, and stripe colors are currently chosen, then check the terminal theme against real screens. Done means the requested type colors and off setting work, text and NULL retain their stated behavior, and numbers remain right-aligned.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
In the result grid every value is drawn in the same colour except NULL. Numbers, dates and text look alike, so scanning a wide result for the kind of value takes longer than it needs to.
Proposal
Colour cell values by their type, with a setting to turn it off:
| Kind | Examples | Colour |
|---|---|---|
| Numbers | integer, numeric, float | number colour |
| Date and time | date, timestamp, interval | date colour, different from text |
| Boolean | true, false | boolean colour |
| Structured | JSON, arrays, binary, UUID | a muted colour of its own |
| NULL | NULL | as today (dim, italic) |
| Text | varchar, text, enum | the normal text colour |
- Text keeps the normal colour, since most values are text; only the other kinds stand out.
- Setting
[grid] cell_colors = "type"(default) or"off", also in:setand the settings screen. - The colours are theme tokens, so custom themes can change them; the
terminaltheme picks from the 16 terminal colours. - Check against the cursor, selection and stripe colours with real screens before it ships.
- Colour is never the only cue: numbers stay right-aligned.
- Lingua principale
- Rust
- Stelle
- 166
- Fork
- 8
- Merge medio
- 4h 24m
- PR unite (30g)
- 291
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 DokaDev/datarig
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
DokaDev/datarig#544 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DokaDev/datarig
Issue simili
-
area:compat area:operations documentation ready-for-agent type:afk
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ZcashFoundation/zinder#552 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
storytold/vectorcraft#9229 ·
I maintainer di solito rispondono entro 1 giorno