Commit Graph
3122 Commits
Author SHA1 Message Date
Juan Denis ccfd68607b Pin a subnet when Docker's address pools run out
Every compose project takes a bridge network from Docker's default
pools, and a stock daemon has about thirty. Past that every new stack
failed at network creation with "all predefined address pools have
been fully subnetted", however idle the host was.

compose up now answers that failure by giving the project's networks
a /26 from SERVERKIT_COMPOSE_SUBNET_POOL (10.213.0.0/16) and starting
again. The pin goes into the project's own compose file: a separate
override is undone by any plain compose up, which recreates the
network from the exhausted pools.

Fixes #254
2026-11-14 22:28:01 -05:00
Juan Denis 80f3b676a1 Bump backend dependencies
Takes the weekly backend group (SQLAlchemy, Flask-SocketIO,
python-socketio, click, boto3, Authlib, prompture), the tomli and
tzlocal floors, and two majors: Flask-Limiter 4 and psutil 7.

Flask-Limiter 4 binds the key function exactly as 3.5 did, so limits
key the same way. psutil 6 renamed Process.connections() and will
remove the old name; the process detail now calls net_connections().

Supersedes Dependabot PRs 256, 212, 210, 209 and 207.
2026-11-14 22:27:59 -05:00
Juan Denis c5eddd57ef Hold React 19 and ESLint 10 in Dependabot
Neither is a version bump. Runtime extensions are published bundles
that resolve React to the panel's own copy, so React 19 has to be
proven against every shipped extension first; and eslint-plugin-react
7.x still peers on eslint <= 9, so npm ci cannot resolve ESLint 10.

Closes the standing PRs 213, 214 and 215 instead of leaving them red.
2026-11-14 22:26:35 -05:00
Juan Denis b82420e586 Bump frontend dependencies
Takes the weekly frontend group (@xyflow/react, lucide-react,
@vitejs/plugin-react, globals, playwright, sass, vite, the Windows
rollup binary) and xterm 6. The fit and web-links addons were already
on the releases that pair with xterm 6.

Supersedes Dependabot PRs 255 and 211.
2026-11-14 22:26:32 -05:00
github-actions[bot] 25b116b5d9 chore: bump version to 1.11.42 [skip ci] 2026-11-15 00:27:12 +00:00
Juan Denis 423f4a8393 Update Monitoring layout baselines
One block per KPI, and the empty-monitors notice as a short
block; the images are the ones CI rendered for this change.
2026-11-14 19:20:16 -05:00
Juan Denis 2bef454045 Update layout baselines for the list shell
Services, SSL and Queue no longer carry a filter icon or a tools
menu; the images are the ones CI rendered for this change.
2026-11-14 19:10:02 -05:00
Juan Denis 8453631d99 Keep KPI tiles compact when the board stacks
Below tablet width every block stacks full width at a chart's
height, which turned each one-number tile into a tall empty card.
Tiles now sit two to a row at their own height.

The "nothing is watched yet" notice is its own short block, so a
page with no monitors is a line and a button instead of a tall
empty list beside the host tiles.
2026-11-14 19:09:58 -05:00
Juan Denis 4ba740a12d Guard the list-page shell in lint
check-list-chrome fails a table that grows its own filter icon or
tools menu, hoists controls into the top bar, orders the bar
differently, or adds a KPI strip outside the remaining allowlist.
2026-11-14 18:36:29 -05:00
Juan Denis 2871da1458 Make each overview KPI its own board block
An overview section that wraps a whole strip of KPI tiles is one
block on a board meant to be rearranged tile by tile. Each KPI is
now an OverviewSection with `tile`: the frame is the tile's card,
with no header outside edit mode. `replaces` swaps a retired block
in a saved layout for the blocks it was split into.

Applied to Monitoring, Backups, Server, Security and Workspace.
Security and Workspace move onto the overview board to get there,
so the backend accepts their layout scopes.
2026-11-14 18:36:24 -05:00
Juan Denis 36f8285bf3 Fold table controls into the view selector
Every list page placed its filter, tools menu, search and create
button differently: four homes for the filter and "⋮", three button
styles and five orders in the top bar.

The view selector's menu now holds filters and fields, copy link,
export, refresh and reset on every table (chrome.pickerProps), and
the top bar is always secondary buttons, create, then search
(ListActions / useListTopbar). PageLayout pages can publish into
their own bar, which puts Docker on the same shell as Servers.

Docker's KPI strip is gone, along with the four list fetches it
made only to count rows.
2026-11-14 18:36:13 -05:00
github-actions[bot] 623a9622ba chore: bump version to 1.11.41 [skip ci] 2026-11-14 20:24:37 +00:00
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 4fa5caef79 Report services and domains per server
The server list could not say what a server carries. It now returns
services_count and domains_count for every row, computed for the whole
list in two queries and limited to the services the caller may see, so
a count never reveals something they have no access to.
2026-11-14 14:37:33 -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 e1972e7ee9 Store overview layouts as scoped boards
A user can now save the Overview layout of a kind of detail page
(server, service). It is an ordinary dashboard board whose slug names
the kind, so it reuses the existing storage, validation and ownership
rules and needs no new routes or migration: POST with a scope upserts
it, GET ?scope= reads it, DELETE returns to the shipped layout. Scoped
boards are never listed among the dashboard tabs.
2026-11-14 13:59:00 -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 2b8e8aade6 Merge main into dev for release promotion [skip version] 2026-11-14 02:38:26 -05:00
Juan Denis 8a78663d0a fix(ci): refresh migration inventory and check inventory changes 2026-11-14 02:38:06 -05:00
Juan Denis 82e00e56a1 Merge pull request #251 from jhd3197/feat/ux-layout-snapshots
test(ui): add screenshot regression checks for phone, tablet and desktop
2026-11-11 04:44:29 -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 0732930975 Merge pull request #250 from jhd3197/feat/ux-focus-labels-2
fix(ui): finish focus rings and InfoTip names
2026-11-11 00:42:12 -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 67cf531f77 Merge pull request #249 from jhd3197/feat/ux-focus-labels
Name icon buttons and keep keyboard focus visible
2026-11-10 22:34:22 -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 e142619155 Merge pull request #248 from jhd3197/feat/ux-disabled-reasons-2
feat(ui): explain the remaining disabled buttons
2026-11-10 20:34:24 -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 2be0eecb45 Merge pull request #247 from jhd3197/feat/ux-disabled-reasons
feat(ui): explain why buttons are disabled
2026-11-10 18:47:45 -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 b0a8c8252e Merge pull request #246 from jhd3197/feat/ux-loading-states-3
fix(ui): finish loading placeholders for Monitoring, queue detail and setup
2026-11-10 16:24:43 -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 8168ec6b1c Merge pull request #245 from jhd3197/feat/ux-loading-states-2
fix(ui): finish shaped loading states and stop Monitoring layout jumps
2026-11-10 14:51:28 -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 eefb07a763 Merge pull request #244 from jhd3197/feat/ux-loading-states
Consistent loading skeletons and no layout jumps (settings, security, docker)
2026-11-10 12:50:20 -05:00
Juan Denis 962971d2a8 test(ui): assert the users loading skeleton by role 2026-11-10 12:46:43 -05:00