Statistic trend and StackedBar segment text: readable colours on light surfaces and intent fills
I maintainer di solito rispondono entro 1 giorno
@Foxhoundn ci sta già lavorando.
Dal 7/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
What the landing page needs
Text that a component draws in an intent's colour should be readable on the surface it sits on, the way ReqoreTag appearance="soft" already is (getReadableAccentColor: the colour pushed lighter on a dark theme, darker on a light one, until it reads at 4.5:1). Two components draw it raw:
ReqoreStatistictrend: the arrow and the trend text areintent={trendIntent}with the intent's own colour. On a light tile the default intents read at about 2:1:- success
#8db844on#f0f0f2: 2.03:1 (on white 2.31:1); - warning
#f59e0bon#f0f0f2: 1.89:1 (on white 2.15:1); - on a dark tile they are fine (success on
#1b1b24: about 7:1).
- success
ReqoreStackedBarshowValues/showLabels: the segment text is always#ffffff(with a 1px text shadow) whatever the segment's colour, and the labels are 9px capitals:- white on success
#8db844: 2.31:1; on warning#f59e0b: 2.15:1; on danger#ef4444: 3.76:1; only muted#71717apasses (4.83:1).
- white on success
Asks:
- Statistic: the trend in the readable accent of its intent on the tile's surface (both modes), or a
trendEffectso a consumer can set it. - StackedBar: the segment's value and label in the readable colour for the segment's fill (dark text on a light fill), and a size for the labels that is not below 11px (or a
labelEffect).
Why
qorus.cloud's "What you get" row 1 (qorus-saas-landing PR #19, redesign package WP7) shows an example business dashboard: three ReqoreStatistic tiles with a trend ("↑ 6%", "✓ on target", "! 2 stuck · 1 exception") and the day's failures by category as a ReqoreStackedBar. In light mode the trend lines are hard to read, and the bar's own labels did not read in either mode (white 9px capitals on amber).
What the site does meanwhile
- The tiles keep Reqore's trend (the light-mode trend is pale; the tiles are a pictured example,
aria-hidden), markedTODO(reqore)with this issue insrc/components/home/DashboardPreview.tsx. - The failures bar is a slim
ReqoreStackedBarwith no values or labels, and a legend under it made ofReqoreTag appearance="text"(which already computes a readable colour). Once the bar's text reads, the legend can go.
- Lingua principale
- TypeScript
- Stelle
- 4
- Fork
- 0
- Merge medio
- 16h 28m
- PR unite (30g)
- 9
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 qoretechnologies/reqore
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
qoretechnologies/reqore#725 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
qoretechnologies/reqore#711 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
qoretechnologies/reqore#675 ·
I maintainer di solito rispondono entro 1 giorno
-
Checkbox: a long description pushes the control out of its container — the label column cannot shrinkForse già presa @Foxhoundn l’ha presa 49 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
qoretechnologies/reqore#662 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
qoretechnologies/reqore#745 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di qoretechnologies/reqore
Issue simili
-
area: documentation status: in progress type: documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
Oddmash/oddmash-ui#222 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
appium/appium-wincore-driver#169 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
india-ultimate/hub#715 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation Entwickler
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
I maintainer di solito rispondono entro 1 giorno