Commit Graph
1295 Commits
Author SHA1 Message Date
Juan Denis b1e686b562 fix(ui): show hover-only row actions when they get keyboard focus 2026-11-10 22:30:40 -05:00
Juan Denis cc230a111a feat(ui): name icon buttons and keep keyboard focus visible
- InfoTip: name is "More info about <subject>" (subject prop, else title,
  else the label text right before it); plain "More info" stays the fallback.
- Button: an icon-only button with a title now uses it as its aria-label.
- Files: toolbar toggles and view buttons get aria-pressed; row actions and
  the row checkbox name the file ("Rename config.yml", "Select: config.yml");
  select-all, Up, sidebar Refresh/New folder named.
- Log viewer: line-number/word-wrap toggles use aria-pressed; search and
  filter inputs (Terminal page) get accessible names.
- Overflow/icon-only menus say "More actions" or their action (SSL,
  Webhooks, Vaults, API settings, fleet thresholds, status pages).
- Focus: Terminal unit input and Servers group-name input keep the global
  ring; page tab strip rings pulled inside its overflow clip; $focus-ring is
  now solid accent instead of a 35% tint.
- i18n: common.moreInfoAbout, common.actionTarget, common.moreActions,
  app.fileManager.up in all locales; drop unused app.fileRow.deselect.
2026-11-10 22:25:23 -05:00
Juan Denis a8ed077eaa fix(ui): explain Save changes when nothing has changed 2026-11-10 20:29:25 -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 a143557eca fix(ui): finish loading placeholders for Monitoring, queue detail and setup
- Monitoring: first-load placeholder follows the loaded overview footprint
  (monitors card, KPI band, two 2-column rows) so content replaces it in place
- QueueDetail: keep the page header while loading, shaped table skeleton,
  error with Retry on a failed load instead of redirecting or showing empty
- SetupStepCapacity: cards skeleton replaces the bare spinner; drop
  .wizard-loading and the unused queue loading-card CSS
- Servers/Backups: publish the top-bar filter/tools chrome during loading so
  the header keeps its shape
2026-11-10 16:19:03 -05:00
Juan Denis 65241c356b fix(ui): show the metrics error state when a poll fails 2026-11-10 14:47:36 -05:00
Juan Denis aa8ed23ec9 fix(ui): load Monitoring and Security events data in one step
Monitoring fetches the monitors summary from the page (useMonitorsSummary)
so it runs alongside the first load, and holds the page skeleton until it
arrives instead of mounting the overview and fetching a second wave.
Security only gates on the status request for Overview, so Events starts its
own requests at mount; its events card uses a compact loading line instead
of a tall feed placeholder. Drops the now-unused monitors skeleton string
and loaded-size KPI CSS.
2026-11-10 14:41:18 -05:00
Juan Denis 8539eb505d fix(ui): finish shaped loading states and stop Monitoring layout jumps
Loading: Downloads, Terminal processes, LogContent, MetricsGraph and
InsightsPanel use shaped skeletons instead of text/spinners; Backup history,
service-detail Shell/Gunicorn/Metrics/Packages and server-detail
Cron/Docker/Survey tabs name a loadingVariant.

Failures: Terminal processes, Backup history, Shell, Gunicorn, Packages,
Metrics, Cron, Survey, Monitoring, Monitors summary and DB insights show an
error with Retry instead of an empty state or endless skeleton.

Layout: Monitoring reserves the monitors KPI band/panels, chart plots, host
sparklines and the fleet row; Security Events reserves the failed-logins card.
Unused loader CSS removed; 12 new strings in all 17 locales.
2026-11-10 14:34:50 -05:00
Juan Denis 962971d2a8 test(ui): assert the users loading skeleton by role 2026-11-10 12:46:43 -05:00
Juan Denis 8702213609 fix(ui): size the 2FA loading placeholder to its content 2026-11-10 12:38:27 -05:00
Juan Denis b3d543b583 fix(ui): keep page headers in place while pages load
Docker and QueueOperations returned a bare skeleton outside the PageLayout
the loaded page renders, so the topbar popped in later and shifted content.
Both now render the same PageLayout shell (Docker with its tabs) with the
skeleton as the body.
2026-11-10 12:27:42 -05:00
Juan Denis c43f9c3c1f fix(ui): use shaped skeletons for loading in settings, security and docker tabs
Replace plain "Loading…" text and tiny .loading-sm / .docker-loading lines
with the shared EmptyState loading skeletons, and only show them on first
load so refreshes keep the loaded content.

- settings: Users, Invitations, Activity, MigrationHistory, ApiSettings
  (in-card skeletons, now with an error + Retry instead of an empty list),
  SecuritySettings, Notifications, System, Storage, AI settings/usage/management
- security: Firewall, Events, IPLists, Integrity, SSHKeys, SecurityConfig, Audit
- docker: Containers, Compose, Networks, Images, Volumes

Removes the now-unused .docker-loading, .loading-sm and .audit-tab
.loading-state rules and documents the loading rule in EmptyState.
2026-11-10 12:16:52 -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 13aa3d578f fix(ui): mark required fields and show inline errors in create dialogs
Required fields in the Projects, Workspaces, Server templates, Domains, Backups and Remote Access create dialogs now carry the shared FormField * marker, and missing or invalid values show a short message beside the field after blur or a submit attempt. Submit runs validation and focuses the first invalid field instead of silently staying disabled. Adds useFieldErrors and a required prop on the shared Label; new strings in all locales.
2026-11-10 04:25:04 -05:00
Juan Denis 4c7f4502c9 fix(ui): pin modal action rows flush to the bottom edge 2026-11-10 02:28:57 -05:00
Juan Denis 998c013602 fix(ui): keep modal forms and actions on screen on phones
Cap modal height in dvh so it fits the visible viewport, pin trailing
action rows hand-rolled inside the body, drop nested body padding/scroll,
tighten phone padding, use 16px inputs on touch phones, and stack
form-row in narrow modals.
2026-11-10 02:26:33 -05:00
Juan Denis a454881d0e fix(i18n): translate scrollable table label 2026-11-10 00:19:48 -05:00
Juan Denis 334a5bc7e5 fix(ui): make wide tables usable on phones and tablets
Phone cards: pills/badges stay content-sized, tighter 40% label grid, long values wrap, actions footer drops its label and disappears when empty. Wide tables: the wrapper becomes a focusable, labelled scroll region only when it overflows, with an edge fade on the side(s) that have more content.
2026-11-10 00:18:39 -05:00
Juan Denis 71b1cae5ab fix(ui): keep page actions together on narrow screens
View bar search now shrinks instead of orphaning the icon buttons; 4-tile KPI bands go 4 across or 2x2 (never 3+1); topbar search wraps to its own full-width row at tablet width instead of overflowing; SSL secondary actions collapse into an overflow menu on phones.
2026-11-09 22:22:32 -05:00
Juan Denis 37fe7f9758 fix(ui): stop clipping labels and values on narrow screens
KPI values keep their full width on phones, KPI sub lines and catalog card titles/subs wrap instead of ellipsizing (the featured star keeps its gap), the file toolbar selects size to their content so the whole toolbar stays on one row, RequiresDocker fits 360px, theme import actions wrap, and the German file sort labels read Name A–Z / Z–A.
2026-11-09 20:29:50 -05:00
Juan Denis 1c9c0c7dd5 fix(ui): give InfoTips one placement and spacing rule
The (i) sat 0-16px from the text it explains depending on the page.
It now sits ~4px after the text and is centred on that line, in both
inline and flex contexts.

- inline call sites that were glued to the text get a plain space
- flex containers that added their own 8-10px gap are normalized
- InfoTip nudged up 1px so it centres on the text line
- settings rows wrap on phones so the (i) stays beside its label
- Servers level picker uses InfoTip instead of a hover-only tooltip
- placement rule documented in the InfoTip header comment
2026-11-09 18:40:46 -05:00
Juan Denis 88f6e7c7c6 fix(ui): use one spacing rhythm for empty states
Shared empty states now use the same gaps everywhere: 16px icon to title, 8px title to description and 16px before the actions (20/24px for the large size). Actions sit in one centered row. On phones the padding is tighter and the large size no longer reserves 400px of empty card. The Servers page drops its own padding override and follows the shared style.
2026-11-09 16:16:31 -05:00
Juan Denis 31b50973a5 feat(ui): compact page actions on the remaining pages
Server templates, cloud provision and shared variables get a PagePrimaryButton; Servers Sync and Marketplace Install manually use short labels with the full text in the tooltip.
2026-11-09 14:20:59 -05:00
Juan Denis 3b6dabcd7c feat(ui): add global search button to the phone header 2026-11-09 14:18:26 -05:00
Juan Denis cf5eaf02c9 feat(ui): compact page actions and context-aware header + 2026-11-09 12:33:16 -05:00
Juan Denis 3448c7a404 fix(i18n): default to US English instead of browser language 2026-11-09 10:39:05 -05:00
Juan Denis 183f5b0bd3 fix(i18n): translate missing Remote Access strings
Add the five Remote Access intro/empty-state/hint strings that were
missing from all 16 non-English locales, translate the leftover English
"handshake" label in es/id/it/pl/pt, and route the "this host" fallback
and tunnel/service status pills through translated keys (raw status
still drives the pill colour; unrecognised values show as-is).
2026-11-09 10:21:08 -05:00
Juan Denis cb26a627eb fix(ui): make InfoTips work with Enter and easier to tap
Enter or Space on a focus or hover preview now pins the tip open instead of closing it; on a pinned tip they still close it. The (i) button gets an invisible 32px touch target without changing its 18px glyph or the line layout.
2026-11-09 08:18:24 -05:00
Juan Denis 553b1a4142 feat(ui): show active Notifications filters with clear Reset 2026-11-09 06:22:53 -05:00
Juan Denis c8766336f8 fix(ui): keep Notifications filters on one row at tablet width 2026-11-09 04:19:42 -05:00
Juan Denis a36716575b feat(ui): finish Queue bus empty states 2026-11-09 02:22:53 -05:00
Juan Denis 7bbad4083b feat(ui): finish Services empty states 2026-11-09 00:15:51 -05:00
Juan Denis 4b0efc6aa3 fix(ui): keep spark-less Monitoring tiles compact
Pack .sk-kpi grid rows at the top so a tile stretched to its siblings'
height (Load average, Containers running) keeps their spacing and leaves
the slack empty at the bottom.
2026-11-08 22:16:07 -05:00
Juan Denis 7c176f7573 feat(ui): compact Agent fleet Refresh on phones
Make the Agent fleet Refresh a quiet icon-only button and, on phones and
tablets, let lone compact top-bar actions share the group tabs row instead
of taking a full row of their own.
2026-11-08 18:27:28 -05:00
Juan Denis 3e5e08be06 feat(ui): compact Extensions library cards on phones 2026-11-08 14:27:33 -05:00
Juan Denis cab5e7846f feat(ui): compact Security posture card on phones
On phones the posture gauge now sits beside the verdict, the three live KPI tiles share one row, and fix buttons stay inline on their check row instead of dropping to a full-width block. Tablet and desktop are unchanged.
2026-11-08 08:28:27 -05:00
Juan Denis 058ddc627b feat(ui): short Remote Access hints with InfoTips
Tuck the Remote Access intro, empty-state and expose-modal helper copy behind InfoTips so the page reads as one short line. Validation warnings and the tear-down confirmation stay visible.
2026-11-08 04:20:17 -05:00
Juan Denis bf7f53c553 feat(ui): short App Map, Servers and Terminal hints with InfoTips
Swap the long helper sentences on the App Map view line, the empty Servers list and the Terminal no-server pane for a short line plus an (i) InfoTip holding the full text. The App Map line stays one row on phone.
2026-11-07 22:26:39 -05:00
Juan Denis e2ec5fccee feat(ui): full-width KPI labels on phone
On phones the KPI tile icon now sits inline with the value, so labels like 'Protected resources' and 'Memory usage' get the full tile width instead of being cut off, and the sub line stays on one line. Tablet and desktop are unchanged. Also routes the Backups 'across N destinations' text through i18n.
2026-11-07 16:23:25 -05:00
Juan Denis f76218b243 feat(ui): compact Notifications filters on phone and tablet
One row with All/Unread plus a funnel button (count badge) that opens a
bottom sheet with Category and Severity chips and Reset. Desktop keeps the
chips inline on a single row.
2026-11-07 12:23:44 -05:00
Juan Denis ad0c4c53b5 feat(ui): calmer Monitors, Services and Queues empty states
Short title and one line per empty state, with the longer explanation behind an InfoTip. Drops the unused nothingIsBeingWatchedYet key from locale catalogs.
2026-11-07 08:23:47 -05:00
Juan Denis 6775c4618e feat(ui): calmer Security Firewall, SSH keys and Audit empty states
Short one-line copy with details behind an (i) InfoTip, matching Domains/Cron/SSL.
2026-11-05 18:26:04 -05:00
Juan Denis 250cab5537 feat(ui): calmer Domains, Cron and SSL empty states
Short one-line descriptions with the longer explanation behind an InfoTip,
matching the Databases pattern. SSL now uses the same empty-state size as
the other pages (new optional emptySize prop on ResourceListPage, default lg).
2026-11-05 10:22:18 -05:00
Juan Denis 26d5e82f4e feat(backups): calm storage-unavailable notice instead of red alert
Replace the dismissable red alert holding the full backend sentence with a
compact amber notice: icon, short title, the explanation behind an (i)
InfoTip, and a Storage shortcut. Real load errors keep the red alert. The
Local disk row on Overview gets an Unavailable pill while it lasts.
2026-11-05 00:50:16 -05:00
Juan Denis c72f182fa1 feat(settings): identity card on Profile tab, editable fields only
Role and member-since were read-only text inputs that looked editable.
Show them as chips in a compact identity header (avatar initial, name,
email) with the role note behind an (i) InfoTip; the form keeps only
username and email, and Save stays disabled until something changes.
2026-11-04 20:31:28 -05:00
Juan Denis a098870fbf Merge remote-tracking branch 'origin/dev' into merge/200 2026-11-04 10:21:36 -05:00
Juan Denis 63b73c9fdb Merge dev into feat/ui-security-polish 2026-11-04 10:13:24 -05:00