121 Commits
Author SHA1 Message Date
Juan Denis 9c324e55ce test(ui): make layout snapshots stable across machines 2026-11-11 04:40:19 -05:00
Juan Denis 1b1c5904d4 test(ui): add screenshot regression checks for phone, tablet and desktop 2026-11-11 04:28:54 -05:00
Juan Denis 9a8b116eda feat(ui): explain the remaining disabled buttons
Button: the disabledReason description now sits beside the button instead
of inside it, so the accessible name stays the label and the reason is only
the description. Controls test asserts both (text and icon buttons).

disabledReason added to: backup schedule Save, job progress Close, service
Settings attach domain (x2), DNS Add record, New service Connect GitHub,
shared variable groups (Create group, Add, Attach), .htaccess Convert,
deploy console prev/next match, DataTable sort direction, Cron job form,
Recipes Start, filter drawer Clear all, saved view Save, ChangeBar
Undo/Redo/Save, log viewer Refresh/Download, server Packages Uninstall,
grid Column menu (move left/right, clear filter), File manager Up, grid
Tools scope, grid view Create, OAuth Connect, DB table Next page, DB
console Export, DB import dump, Operations dock Continue, Notifications
Reset, integrity Baseline/Check, AI composer Send, Terminal journal
toolbar (remote), and the page primary action / phone header "+".
2026-11-10 20:26:35 -05:00
Juan Denis 705bfd62d9 feat(ui): explain why buttons are disabled
Button gains a `disabledReason` prop: a prerequisite-disabled button now
uses aria-disabled (stays focusable, click/submit swallowed) and shows
the reason in a tooltip on hover, focus and tap, plus an aria-describedby
description. DropdownMenuItem shows the reason inline. Pending states
keep using `loading`.

Applied to: SSL (New certificate, Auto-renew, More-menu item), log
toolbar (Live, Jump to end, Refresh, Download, Truncate), Settings >
System (Apply, Save canonical domain), New service wizard (steps,
Continue, Deploy), Downloads, backup Restore, File Manager Back and
Forward, Databases new console tab, Cloud provision Create, Agent fleet
upgrade, proxy Switch/Save snippet, log viewer Clear, fleet capacity
Export/Compare/Forecast, database migration Continue, Notifications
mark-all.
2026-11-10 18:36:38 -05:00
Juan Denis 962971d2a8 test(ui): assert the users loading skeleton by role 2026-11-10 12:46:43 -05:00
Juan Denis ed597ce2ef fix(ui): mark required fields and show inline errors in connection and engine install forms
Forms migrated to FormField / Label required / useFieldErrors:
- Connect provider dialog: source OAuth app, DNS, cloud, storage (S3/B2),
  registrar, container registry and SMTP relay
- Database engine install drawer: instance name and required template variables

Submit buttons are no longer disabled for missing values; submitting with
empty required fields shows inline errors, focuses the first invalid field
and does not call the API.
2026-11-10 10:23:02 -05:00
Juan Denis 37e5787c87 fix(ui): mark required fields and show inline errors in database, schedule and API dialogs
Migrates to FormField + Label required + useFieldErrors:
- Databases: new database, new MySQL user, new PostgreSQL user
- Backups: new backup schedule
- Templates: deploy drawer variables (shared required marker, inline errors)
- Settings: create API key, create/edit webhook subscription (URL check)
- Domains: add-domain server errors about the domain show at the field
2026-11-10 08:23:04 -05:00
Juan Denis 0ae7790917 fix(ui): mark required fields and show inline errors in more dialogs
Migrates to FormField + Label required + useFieldErrors:
- SSL certificates: obtain (domains, email, conditional webroot / wildcard DNS credentials) and upload (domain, certificate, private key)
- Queue operations: create group, create queue, send message
- Monitors: new monitor (keyword only when the check type needs it)
- Status pages: page, component and incident dialogs
- Invite user: optional email gets an inline invalid-email error

ResourcePicker now exposes aria-required/invalid/describedby inside a FormField, and Domains distinguishes an empty domain from a malformed one. New strings in all locales.
2026-11-10 06:20:35 -05:00
Juan Denis e004251126 fix(frontend): Extensions dark-theme icon tiles and compact detail header 2026-11-03 23:09:51 -05:00
Juan Denis 4c4dfd4af7 feat(frontend): Extensions Updates tab, update banner + Update all, card grid; phone tab-strip fixes 2026-11-03 20:20:35 -05:00
Juan Denis 7136345270 feat(frontend): long hints become one-line text with an InfoTip for the detail 2026-11-03 13:33:42 -05:00
Juan Denis e67562848a chore(frontend): delete never-mounted CutoverDrawer, MemberActionsCard, AccountSecurityNudge 2026-11-03 13:26:20 -05:00
Juan Denis 2c5c4837fe fix(frontend): replace corrupt IBM Plex Sans 400 and validate fonts by decoding 2026-11-03 12:58:30 -05:00
Juan Denis d00c4a72ea fix: bind file editor previews to their storage target 2026-10-24 15:00:57 -04:00
Juan Denis e955134e41 feat: run approved assistant deployments through persistent recipe operations 2026-10-24 06:30:26 -04:00
Juan Denis fd4795a376 fix: preserve search focus and ignore stale list responses 2026-10-24 06:29:24 -04:00
Juan Denis ada1276d39 feat: add pinned preview deployment controls and queued lifecycle feedback 2026-10-24 06:23:06 -04:00
Juan Denis 355157856f feat: add effective environment inspector with browser regression checks 2026-10-24 06:02:51 -04:00
Juan Denis ac0871c016 fix: start agent maintenance only in the guarded runtime phase 2026-10-24 05:14:36 -04:00
Juan Denis dd93f01fd6 refactor: keep File Manager download operations in the action hook 2026-10-24 05:02:47 -04:00
Juan Denis a853c91d61 fix: preserve File Manager deep links on initial mount 2026-10-24 04:54:38 -04:00
Juan Denis 8bf9f4681c test: cover File Manager tree races and listing failures 2026-10-24 04:51:50 -04:00
Juan Denis 3c5b948f2e test: enforce core boundaries and document extension rules 2026-10-24 04:48:54 -04:00
Juan Denis b534ee2baf refactor: split File Manager state and views with regression guards 2026-10-24 04:44:18 -04:00
Juan Denis e49c627640 Let memoized file rows skip unrelated re-renders
FileRow and FileCard were wrapped in memo, but every handler passed to
them was re-created on each render, so a keystroke or a selection
re-rendered every row of a large directory. useStableHandler gives the
rows fixed handler identities that still run the latest code.
2026-10-10 22:38:21 -04:00
Juan Denis 73a93a7b36 Let labels name the resource and server pickers
The pickers dropped an id, so the five labels above them named
nothing. They now put it on the trigger button; clicking the label
opens the picker. Ratchet 46 -> 41.
2026-10-10 22:35:28 -04:00
Juan Denis a636f2cdb1 Ratchet unassociated form labels at 46
The rest head a group of options, sit over read-only text, or label a
picker that does not forward an id yet. A new label must name its
field.
2026-10-10 22:25:44 -04:00
Juan Denis 0adb6bf752 Tie form labels to their fields
156 labels named no field: no htmlFor and no control inside, so
clicking one did not focus the input and screen readers announced the
input without a name. Each now points at its field through a useId()
id. The change is additive only (ids and htmlFor), checked by comparing
tokens with the previous version.
2026-10-10 22:25:37 -04:00
Juan Denis adb9ae8fbb Open clickable rows and cards from the keyboard
A row with onRowClick could only be opened with a mouse or the j/k
cursor: it took no Tab focus and ignored Enter. Clickable rows in the
tables, the grid and the card view are now focusable and open on Enter
or Space, with a focus ring. Keys on a button inside the row still
reach the button, and the cursor listener skips a key a row handled.
2026-10-10 22:17:18 -04:00
Juan Denis 95a9e227fc Fix row deletes that read state from first render
The vault secret and variable-group columns were memoized without the
state their delete handlers read. Deleting a secret then refreshed a
null vault and reported failure; deleting a group variable sent group
null; deleting a group after a workspace switch reloaded the old
workspace's groups.
2026-10-10 22:01:16 -04:00
Juan Denis ada4d49ea4 Reload the file listing when the source changes
The listing effect watched only the path. Switching to a remote agent
that advertises no allowed paths keeps the path, so the panel host's
files stayed on screen under the agent's header, and edits went to
the agent against the wrong host's entries.
2026-10-10 22:01:06 -04:00
Juan Denis c98952b907 Load two stylesheets nothing imported; lint for orphans
The Coexistence page and the extension crash card were written with
their own stylesheets, but neither file was ever imported, so both have
always rendered without their layout. A new lint step,
check-orphan-files, fails on any src file nothing imports (SCSS
included) unless it is kept with a reason; it is what found these two.
2026-10-10 20:40:35 -04:00
Juan Denis c7ea877d88 Send the journal priority filter to the API
Picking a priority in the Terminal's journal view highlighted the level
but never sent it, so the list was unfiltered. The API already filtered
on ?priority=; the client now passes it, with the fresh value rather
than the previous render's.
2026-10-10 20:33:12 -04:00
Juan Denis 84ac8684e3 Guard the remaining Docker tabs against stale loads
Volumes, Networks and Compose had the same two bugs fixed earlier in
Containers and Images: a late answer from the previously selected
server replaced the current list, and a failed load showed an empty
list (or the old one) instead of the error.
2026-10-10 20:31:25 -04:00
Juan Denis a7413e34fa Move File Manager dialogs into components
Four inline dialogs kept their open flags, targets and input values as
ten separate useState calls on the page. One dialog state now says which
is open, and NamePromptModal / PermissionsModal own their inputs; the
browser test drives all three flows and passes on the old code too.
The create-file dialog had no way to open it and is removed with its
strings.
2026-10-10 20:28:55 -04:00
Juan Denis 78201eeefc Format dates and numbers in the panel's language
107 direct toLocaleString/DateString/TimeString calls followed the
browser's locale (or a hard-coded en-US/en-GB) instead of the language
the panel is set to, and built a formatter per call. They now go
through utils/intl (formatDate/Time/DateTime/Number), keeping each
site's components via parts. A missing date now renders the fallback
dash instead of "Invalid Date". Ratchet ceiling 115 -> 4.
2026-10-10 20:19:32 -04:00
Juan Denis dac348596a Persist File Manager prefs through one hook
Six view preferences each had a lazy localStorage read plus a copied
mirroring effect. usePersistentState does both and tolerates storage
that throws, so the page no longer crashes on it; the panel as a whole
still needs storage for its auth tokens.
2026-10-10 18:53:01 -04:00
Juan Denis 8b4a19bc95 Delete ten frontend files nothing imports
Components, hooks and a workflow-builder rules file left behind when
their last consumer was replaced or retired, along with their 76
strings in every locale and a style block only they used. Three
unreferenced components that were never wired in (the DNS cutover
drawer, member actions card and account security nudge) are kept:
whether to mount or drop them is a product call.
2026-10-10 16:09:21 -04:00
Juan Denis fd8abdda47 Ignore stale folder listings in the File Manager
Opening a folder while the previous listing was still loading let the
slow answer land last and set the current path back, pulling the user
into the folder they had just left. Only the newest browse may now
write.
2026-10-10 14:20:41 -04:00
Juan Denis db5f4df74a Show Docker list errors and ignore stale loads
The API now answers 503 when docker ps fails instead of an empty list,
so the Containers page no longer says "No containers" on a host
running many. The Containers and Images tabs show that error, and a
late answer from the previously selected server can no longer replace
the current server's list. Also fixes the local branch of the remote
Docker listing, which passed all= to a parameter named all_containers
and always failed.
2026-10-10 14:01:56 -04:00
Juan Denis 5e4ca2e8a1 Refetch logs with the values just chosen
Changing the line count, clearing a search or picking a journal unit
re-fetched through a closure from the previous render, so the request
used the old count, the old search pattern or the previous unit. The
loaders now take the new values explicitly. Also drops a stray brace
that kept the selected journal unit from ever highlighting.
2026-10-10 13:38:30 -04:00
Juan Denis c2229b6874 Strip comments and PIs from sanitized SVG icons
scrub() walked element children only, so comments, processing
instructions and CDATA passed through. They survive XML serialization
but close early when React re-parses the string as HTML (<!-->, <?x >),
so a registry or plugin icon could smuggle out an <img onerror> and run
script with the tokens in localStorage. Keep only allowed elements and
text; a browser regression runs eight bypass payloads in CI.
2026-10-10 06:36:41 -04:00
Juan Denis 289a157199 Give every list one table and every page full width
Each list page restyled DataTable on top of the shared look: fourteen
re-skin classes, filled grey headers, padded cards inside padded pages
and nth-child column widths (which put Docker's Name column 300px in
once the checkbox column existed). The table wrap is now the only
frame, the header is unfilled, column widths come from the column
definition, and raw tables and ui Table uses render through DataTable.
scripts/check-tables.mjs holds it in lint.

Page bodies drop the 1400px reading column (and the per-page caps on
Domains, Deployments, Dashboard, detail pages and Recipes) for one
20px gutter everywhere; Settings caps only its form column. The top
bar gets the sidebar's surface and edge so the chrome reads apart from
the canvas, and the bulk-selection pill clears the status bar.

Also removes decorative chrome: gradient letter avatars and tinted
stat icons become neutral, Domains rows lose the icon tile and the
"Registrar -" sub-line, and destructive row actions are quiet ghost
buttons that turn red on hover (.btn-ghost.is-danger).
2026-10-09 00:21:04 -04:00
Juan Denis 32cb19804a Match browser tests to the copy rewrite labels 2026-10-05 00:58:54 -04:00
Juan Denis 65fe44414f Drive the shared dropdown in browser tests
The select sweep replaced native selects with Radix, so selectOption()
failed in the settings UI test. SelectItem now exposes its value as
data-value and the test opens the trigger and clicks that option.
2026-10-05 00:58:49 -04:00
Juan Denis 718fc223df Update settings browser test for the 2FA rename
The glossary pass renamed the MFA column and filter to 2FA; the test
still looked for the old labels, which turned CI red.
2026-10-05 00:45:01 -04:00
Juan Denis a850c95005 Skip extensions with own catalog in i18n extract
An installed extension under src/plugins/ that ships locales/en.json
owns its keys. Collecting them into core's en.json made
extract-i18n --check fail only on machines with it installed.
2026-10-04 22:27:22 -04:00
Juan Denis 0cdb41caf3 Ratchet the i18n literal census to zero
Every remaining hit is now translated, so the ceiling drops to 0 and
any new untranslated string fails lint.

Three narrow rule changes keep the census honest. A number with a
bare unit symbol (`${ms} ms`, `${n}%`, GB) is a measurement, not copy.
A literal that IS the content of a <code>/<pre> (a log line,
`S3_BUCKET=...`) is a sample, though a fallback shown in its place
still counts. Arguments to reportClientError go to the server log, not
a screen. In the other direction, text starting ". " was being skipped
as a CSS selector; it is the tail of a sentence split around an
element, so it now counts.
2026-10-04 18:14:10 -04:00
Juan Denis 23d950b528 Translate inline copy in ds and shared modules
Grid menus, the filter drawer, KPI band and view pickers sit on every
list page, so their English sort, group and count labels showed in
every locale. Module-level helpers (operations, service types, monitor
scope, the AI context) now call t() at use time or carry labelKeys.
operations.test initialises i18next like errorMessage.test, since
operations.js now translates its labels.
2026-10-04 18:13:37 -04:00
Juan Denis 1a5137b685 Translate inline copy in shared components
Service, database, security, Docker, monitoring and deploy-console
components showed English busy labels, status arms and fallbacks in
every locale. They now go through t() in house style, with _one/_other
plurals for counts. Sentences that were split around an element
(". The statements are unlikely to apply cleanly.") become whole
keys, so a translator can reorder them. LogFileList and
ImportDumpModal resolve their declared keys instead of raw labels.
2026-10-04 18:12:33 -04:00