Commit Graph
1311 Commits
Author SHA1 Message Date
Juan Denis 2732c97907 Tidy the Files toolbar
The row under the top bar held the search box, two wide selects, a
layout toggle and three icons beside the path, so the path it exists
to show was the smallest thing in it.

Search moves into the top bar, where every other page has it. Kinds,
sort order and hidden files become one View menu; the row keeps
navigation, the path, the layout toggle and refresh. The breadcrumb no
longer prints a separator after the root.
2026-11-14 15:08:42 -05:00
Juan Denis 5f23e9fe6d Put Monitoring and Backups on the overview board
Their overviews are now boards like the server and service ones: each
panel is a block that can be moved, resized, removed or opened
fullscreen, with dashboard widgets alongside (Monitoring's follow the
host the page is scoped to). Layouts are saved per user under two new
board scopes.

Every board gets a quiet "Edit overview layout" link under its blocks,
so pages without a menu of their own have a way in. Monitoring layout
baselines updated.
2026-11-14 14:59:05 -05:00
Juan Denis 74c24b93b3 Put the style guide on the page shell
The style guide dropped a PageTopbar and a tab strip into the padded
content well, so its bar floated with a gutter on every side: the
arrangement its own "Page headers" section warns against. It now uses
PageLayout, with the sections as the bar's tabs.
2026-11-14 14:59:01 -05:00
Juan Denis 6ecd3245bc Fold the servers table controls into the view
The servers top bar carried Groups, Sync, Add, search, a filter icon
and a tools menu, and the table opened with every column it had, so it
scrolled sideways.

The view selector's menu now holds Filters and fields, the table tools
(copy link, export, reset) and Manage groups; the top bar keeps Sync,
Add and search. The table opens with eight columns. Everything else
the list returns about a server is an optional field: services and
domains counts, IP, OS, architecture, cores, capacity, Docker, tags,
date added. Reset returns to that default set, not to "show all".

The Fields pane splits into what is in the table (reorder, switch off)
and the fields that can be added, with a search once the list is long.

GridViewPicker takes `filters`, `tools` and `extra`; GridToolsMenu's
content is now GridToolsPanel so it can live in either place. Other
tables keep their top-bar controls for now.
2026-11-14 14:46:24 -05:00
Juan Denis ebf19e8a9e Rework the filters and fields drawer
The header repeated its own tabs ("Filters and fields" over tabs
reading Filters and Fields, a subtitle restating both counts), and an
empty filter list still showed a Match all/any sentence with nothing
to match.

The pane switch is now the header. An empty Filters pane offers the
filterable fields as one-tap chips; with conditions, the and/or switch
sits between them and Add condition follows the list. The footer
reports how many rows the conditions leave. Fields lists only named
columns and counts shown of total.

ds/Drawer gains `headless` for bodies that bring their own header; the
title stays for assistive tech.
2026-11-14 14:24:15 -05:00
Juan Denis 026b963c41 Drop the dashboard's Setup health banner
The status bar already shows the setup score on every page and opens
the same review, so the banner repeated it at the top of the dashboard.
Dashboard layout baselines updated.
2026-11-14 14:09:29 -05:00
Juan Denis 119e0e0f05 Remove the widget library's sideways scroll
The sticky filter bar cancelled the panel padding with negative side
margins, but that padding sits on the drawer, outside the scroller. The
bar therefore overflowed the scroller by 16px and gave the panel a
horizontal scrollbar while showing nothing extra.
2026-11-14 14:09:27 -05:00
Juan Denis 7c971883b1 Put detail overviews on the dashboard grid
The Overview tab of the server and service pages is now a board on the
dashboard's widget grid: the same frames, library, editor and
fullscreen view. Each page's cards are blocks, placed next to dashboard
widgets bound to the page's own server, and "Edit overview layout" in
the page menu lets a user rearrange them. The layout is saved per user
and kind, so it applies to every server (or service) page.

A block that has nothing to render leaves the layout until it does.
Rows are half a dashboard row so blocks of very different heights pack
without large gaps; dashboard widgets keep their size at twice the
row count.
2026-11-14 13:59:02 -05:00
Juan Denis 4e6f47da1c Replace dashboard tabs with one selector
A tab per dashboard pushed the board controls onto a second row and
grew with every board added. The bar now carries a single selector
that lists the dashboards, with New, Rename and Delete in its menu, so
the whole bar stays on one line. Dashboard layout baselines updated.
2026-11-14 13:40:13 -05:00
Juan Denis 1183dbb99c Compress the service overview
The KPI strip spent a full row on a status the header already shows
and three deploy counters that are usually zero. The counts move into
the Recent deployments header, and the short operational cards
(attached services, pooling, slot deploys) sit two-up instead of one
full-width row each.
2026-11-14 13:29:58 -05:00
Juan Denis 4baeec5141 Give the server page real top-bar actions
The server detail bar only had Ping while services have Deploy and
Restart. The primary action now follows the server's state: Terminal
opens that server's shell when it is reachable (the terminal page takes
?server=<id>), Connect opens the pairing dialog when it is not. Ping
stays, and a menu holds the connection string and Remove server.
2026-11-14 13:29:53 -05:00
Juan Denis 84de7c29e5 Restore the identity header on detail pages
Folding the entity's name, status and tabs into the top bar left the
page without a header: the name was a small bar title and its facts
sat behind an info tip.

Server and service detail go back to the earlier anatomy, built once in
components/detail/DetailPage: a breadcrumb top bar, an identity block
(tile, name, status, key facts) and the tab strip under it with
Settings at the far end.
2026-11-14 13:18:06 -05:00
Juan Denis 26d3fab766 Unify server and service detail layout
The two entity pages shared a top bar but nothing below it: the server
page was capped at 1400px and centered while services ran full width,
the service header spelled its facts out as unseparated text, and each
page had its own stat tiles, cards and settings layout.

Both now sit on the same shell body and share the header meta (status
dot, info tip, star), the KPI tiles and overview cards, and one grouped
settings shell. Server settings sections get URLs like the service
ones (/servers/:id/settings/:section).
2026-11-14 12:54:16 -05:00
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 0a8c763582 fix(ui): finish focus rings and InfoTip names
InfoTip subjects: theme gallery cards (theme name), profile role badge
(Role), security overview (Extensions, Notifications), Services empty
state, proxy panel, AI fallback toggle, base-domain row, RequiresDocker.

Focus rings: add the shared ring to text inputs/selects that only changed
border colour (forms, settings, servers, applications, security,
migration wizard, db tuner, datagrid, design-system, file manager); make
the slider thumb ring visible.

Clipped rings: inset rings for tabs, sk-seg, settings nav, theme cards,
select/dropdown items, sk-dtable wrap, datagrid cells, resource lists.
2026-11-11 00:26:25 -05:00
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