swarm-ui: a toast waits while the pointer is on it
A toast left after four seconds (eight for an error) whether it had been read or not. The countdown stops while the pointer rests on it and runs on for at least 1.5 seconds after the pointer leaves.
This commit is contained in:
parent
868b8743d8
commit
963ec65bbc
1 changed files with 56 additions and 5 deletions
|
|
@ -60,6 +60,9 @@ agent's internet to a looser mode, sending `/clear` as a message, reloading over
|
|||
unsaved instructions, and **push a branch for a PR** on the review try-out. A page
|
||||
asks from inside a handler with the `useConfirm` hook, with no dialog state of its own.
|
||||
|
||||
A toast in the top-right corner stays four seconds, or eight for an error, and a click dismisses it.
|
||||
While the pointer rests on it the countdown stops, and after the pointer leaves it stays at least another 1.5 seconds, so you can finish reading a message.
|
||||
|
||||
| route | what |
|
||||
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `/` | the start page: the swarm's name over a digital-rain backdrop with the slug (`hyperhive / we are the wired`, its shaded gradients pulsing in a wave unless reduced motion is on) at the foot, plus a paperclip offering to set up an agent while no `ruth` exists, or her hive declares her destroyed (it opens the create form with `ruth` filled in); the swarm name in the header links here |
|
||||
|
|
|
|||
Loading…
Reference in a new issue