mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-03 01:23:31 +01:00
fix(ui): steady list loading, picker footer, preview caption and plan-limited expiry
- My work keeps its tab bar and counts while a tab, search or filter
reloads: the first load holds the tab row with placeholders, a reload
dims the current rows and shows placeholder rows instead of a false
empty state. Admin repositories, users and conferences, the conference
page and the conferences list get the same placeholders and busy state.
- Repository picker: one footer row with the access link on the left and
a compact icon pager on the right; Previous only after page 1; a row's
name tooltip only when the name is cut short.
- Preview caption: the title stands alone, the redaction status is a chip
("Nothing redacted yet: add terms" focuses the Terms field). The
caption's Files toggle is gone: the tree is always shown from 992px and
the window's own file bar opens it below.
- Under a plan limit the expiry reads as text ("Apr 29, 2027 · in 5
months, the maximum on your plan") with the date input behind
"Advanced: pick an exact date"; validation still applies and a submit
opens the disclosure on an invalid date. Without a limit the picker
stays, and the echo no longer repeats "Expires".
- dev-mock: serves the dashboard summary API (with an optional delay
cookie), a 5-month free expiry and a long picker name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0640d741f1
commit
94947ad0ec
16 files changed
+494
-105
No files matched your search
@@ -93,6 +93,9 @@ export function submitForm(event, callback) {
|
||||
});
|
||||
if (form && !form.checkValidity()) {
|
||||
const invalid = form.querySelector("input:invalid, select:invalid, textarea:invalid");
|
||||
// A field behind a closed disclosure cannot take focus or show its message.
|
||||
const details = invalid?.closest("details");
|
||||
if (details && !details.open) details.open = true;
|
||||
invalid?.scrollIntoView?.({ block: "center" });
|
||||
invalid?.focus();
|
||||
form.reportValidity();
|
||||
|
||||
Reference in new issue
Block a user