swarm-ui try-out: stable live region, reasons for disabled buttons
The running line is a live region whose text changed every second, so a screen reader announced the counter again each time. The sentence is now stable and the elapsed seconds sit outside it. The run and open-a-PR buttons point at the hint that says why they are off, and add-a-classification says why it is off at the cap.
This commit is contained in:
parent
e81aaef7e3
commit
e03bd4caa4
5 changed files with 53 additions and 11 deletions
|
|
@ -483,7 +483,10 @@ rows as the review table.
|
|||
A page for writing classification prompts without touching the repo. Pick a
|
||||
repo and a PR, write or edit a classification, and run it against that PR;
|
||||
change the prompt and run it again until it answers the way you want.
|
||||
Nothing reaches the forge while you iterate.
|
||||
Nothing reaches the forge while you iterate. A button the page disables
|
||||
points at a line that says why, such as the 10-classification cap on **add a
|
||||
classification**, and a screen reader announces the run's progress once, with
|
||||
the elapsed seconds outside the announcement.
|
||||
|
||||
The page posts the run to `swarm-controller` (`POST
|
||||
/api/review-classifier/try-out`), which reads the PR with its own forge token
|
||||
|
|
|
|||
Loading…
Reference in a new issue