Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the three toasts that didn't match read like the rest

Two toasts started with a capital and ended with a full stop (the stored login
dialog's and the login delete's), and the API key removal had no tone. They are
short lowercase phrases with the ok tone now, and the design guide says so.
This commit is contained in:
iris 2026-11-28 02:51:27 +01:00 • committed by mara
commit f6a0bb4bb3

View file

@ -134,6 +134,7 @@ on save, which leaves no button to put it under: that confirms with a toast. An
a list that refreshes confirms with a toast. A change the page already shows
(a card that flips or goes, a row that appears) says nothing. A new action picks
the way by this rule and doesn't add a fourth.
A toast is a short lowercase phrase with no full stop, and its tone is `ok` when it confirms a change (`removed example.com`, `sent to 2 agents`).
## Empty states