Skip to content

Per-server dashboard, copy address, and other device on every row - #9

Merged
jeremy-robotsson merged 3 commits into
mainfrom
feat/row-actions
Oct 7, 2026
Merged

jeremy-robotsson merged 3 commits into
mainfrom
feat/row-actions

Conversation

@jeremy-robotsson

Copy link
Copy Markdown
Member

Brings three things from the macOS app to the panel: a per-server dashboard, copy address, and sign-in from another device from any row or when logged out.

Changes

  • Each row has "⋯" for its other actions: copy address (wl-copy, shows "copied" for a moment), other device (sign in again from a phone or another computer, CLI 0.14.0+), log out, and with several servers dashboard for that server. The row itself keeps renew (or log in once expired) next to "⋯". Log out moved into the actions, as in the macOS app, because a third button cut long host names short.
  • The host name opens that server's dashboard (underlined on hover).
  • The header's dashboard shows only with one server. Before, it always opened the first server, which was wrong with several.
  • Logged out with a known server: other device next to log in and other server.
  • Launcher menu: one dashboard row per server ("Open "); varlatch-menu web [server] takes a server.
  • Visible strings drop their em dashes ("Logged in, 3h 12m left", "Session expired, log in again"), matching the macOS app.
  • omarchy-shell varlatch showActions <server> opens the panel on a row's actions, and debugState reports expandedServer, for checks without clicking.

Testing

  • tests/run.sh: 69 passed (new: one server's dashboard row, one row per server with several, a glyph on every row with several, web <server>, web with no server).
  • Live bar, screenshots: one server (row shows renew and "⋯", host name readable; actions on one line: copy address, other device, log out), two servers through a fake CLI (header dashboard hidden, each row's actions include its own dashboard, launcher menu rows Open varlatch… and Open two.example.com), logged out with a known server (log in, other device, other server). No sign-in was sent anywhere; shell.json and servers.json restored afterwards.

🤖 Generated with Claude Code

jeremy-robotsson and others added 3 commits October 7, 2026 23:32
Each session row gets "⋯" for its other actions: dashboard (that
server's, not the first one's), copy address, and other device to sign
in again from a phone or another computer. The host name opens the
dashboard too. The header's dashboard shows only with one server.
Logged out with a known server, the panel offers other device next to
log in. The launcher menu gets one dashboard row per server, and
`varlatch-menu web` takes a server.

Visible strings drop their em dashes ("Logged in, 3h 12m left"), like
the macOS app's.

Also: `omarchy-shell varlatch showActions <server>` opens the panel on a
row's actions, for checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The extra button cut long host names short. Like the macOS app, a row
now shows renew (or log in) and "⋯", and log out sits with the other
actions, which wrap when they do not fit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremy-robotsson
jeremy-robotsson merged commit 4843c92 into main Oct 7, 2026
1 check passed
@jeremy-robotsson
jeremy-robotsson deleted the feat/row-actions branch October 7, 2026 21:37
@jeremy-robotsson jeremy-robotsson mentioned this pull request Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant