Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/frontend/packages/swarm-ui/test/issue-report-repo.test.mjs
Author SHA1 Message Date
iris
c5cc961028 swarm-ui: the report, review and classifier-key pages read through useResource
Part of the unification order in the UI sweep issue (step d, the rest).

The pull-request and issue reports (the repo list and the report), the review
try-out's repo list and classifier cap, and the classifier key move to the
shared read hook. A failed report still drops its rows, now by reading
'error ? null : loaded' instead of a handler that cleared them. The reads that
seed a draft, post, or are not a plain request stay as they were.
2026-11-26 01:21:15 +01:00
iris
f6acc1e976 swarm-ui: keep the issue report's table, errors and repo filter consistent
A failed report dropped its error under the previous repo's rows, the
repo list and the report shared one error slot, a remembered repo that
the list lacked left the select on all repos, and the report URL did not
encode the repo path. Each request now has its own error, a failed report
clears the rows, the remembered repo keeps an option, and the path parts
are encoded.
2026-10-21 22:58:51 +02:00