Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
4c3dcd0
docs: UI redesign with forui (Amber Brand) design spec
thangnm93 Nov 12, 2026
f7a307f
docs: UI redesign phase 0-1 plan and task docs
thangnm93 Nov 12, 2026
bb2424b
feat(ui): add yourssh_ui package with forui
thangnm93 Nov 12, 2026
389a441
test: poll for the connection count in the local-forward test (CI flake)
thangnm93 Nov 12, 2026
d78ab87
docs: UI redesign targets Flutter 3.50 and forui 0.27.7
thangnm93 Nov 12, 2026
37693e8
docs: plan targets Flutter 3.50
thangnm93 Nov 12, 2026
5653727
feat(ui): Amber Brand tokens and forui/Material themes
thangnm93 Nov 12, 2026
449d7d8
fix(ui): Material fallback theme uses the app's flutter/material Them…
thangnm93 Nov 12, 2026
1ca9e83
docs: optional phase 7 — evaluate dropping MaterialApp
thangnm93 Nov 12, 2026
1b236ca
feat(ui): bundle Inter and wrap the app root in FTheme
thangnm93 Nov 12, 2026
e3dd685
feat(ui): switch the app palette to Amber Brand tokens
thangnm93 Nov 12, 2026
b990c07
feat(ui): YourSSH Amber terminal theme for new installs
thangnm93 Nov 12, 2026
5d871a3
docs: describe the yourssh_ui design system
thangnm93 Nov 12, 2026
0d9b2b4
Merge remote-tracking branch 'origin/develop' into feature/ui-redesign
thangnm93 Nov 12, 2026
cd094f4
feat(ui): sidebar on FSidebar
thangnm93 Nov 12, 2026
ac8f5e3
feat(ui): session tab bar on YsTab
thangnm93 Nov 12, 2026
dff0fbc
fix(ui): tab close button keeps its space on hover
thangnm93 Nov 12, 2026
f6646a1
feat(ui): toasts on forui across the app
thangnm93 Nov 12, 2026
8f5520d
fix(ui): keep clearError when the settings screen unmounts
thangnm93 Nov 12, 2026
c6eed98
docs: UI redesign phases 2-6 implementation plan
thangnm93 Nov 12, 2026
be0300c
feat(ui): dialogs on forui across the app
thangnm93 Nov 12, 2026
d47ece6
docs: ui-redesign task changelog
thangnm93 Nov 12, 2026
322c0f5
fix(ui): dialog actions in one row, security focus tests and dialog p…
thangnm93 Nov 12, 2026
f729721
fix(ui): dialog actions stay on one row; bounded container picker
thangnm93 Nov 12, 2026
68a2106
docs: shell, toasts and dialogs on the design system
thangnm93 Nov 12, 2026
ed5bbd4
Merge remote-tracking branch 'origin/develop' into feature/ui-shell
thangnm93 Nov 12, 2026
ba64e19
docs: note the Flutter 3.50 merge
thangnm93 Nov 12, 2026
082f018
feat(ui): host card, OS tile, section header, empty state and badges
thangnm93 Nov 12, 2026
5405ef6
fix(ui): host card mono font, keyboard and semantics
thangnm93 Nov 12, 2026
e9f4e4d
feat(ui): hosts dashboard on forui
thangnm93 Nov 12, 2026
39812a2
fix(ui): token-only material scheme, tint-only dialog barrier, cached…
thangnm93 Nov 12, 2026
78e6349
fix(ui): lift tertiary text contrast, scrollable TOFU dialogs with re…
thangnm93 Nov 12, 2026
bcc81d1
fix(ui): notification bell and tab context menu on design-system tokens
thangnm93 Nov 12, 2026
dc1af07
fix(ui): sidebar header overflow, mobile toast offset, root test, int…
thangnm93 Nov 12, 2026
185be3f
test(cli): listen to the lock-busy claim before the owner starts
thangnm93 Nov 12, 2026
1b04fc6
perf(ui): stop per-frame SessionProvider rebuilds from remote desktops
thangnm93 Nov 12, 2026
a6ee6bf
fix(ui): dashboard keyboard focus and a11y polish
thangnm93 Nov 12, 2026
c33b5c4
feat(ui): host editor on forui
thangnm93 Nov 12, 2026
c376dc8
fix(session): ignore a cert error for a closed RDP tab; purge every p…
thangnm93 Nov 12, 2026
8a20a4c
test: real status-change baseline and RDP frame-rebuild coverage
thangnm93 Nov 12, 2026
5455134
test: silence the protected-member warning in the RDP probe test
thangnm93 Nov 12, 2026
4c95fc5
fix(ui): host editor validates every section on save
thangnm93 Nov 12, 2026
d17ccbe
feat(ui): import panel and bulk actions on forui
thangnm93 Nov 12, 2026
a2cad1d
test: wait for the onUploaded callback, not just the recorded upload …
thangnm93 Nov 12, 2026
062c8a2
feat(ui): terminal workspace chrome and side panels on forui
thangnm93 Nov 12, 2026
b883fc6
fix(ui): slider tap-to-jump, stable snippet groups, labelled actions
thangnm93 Nov 12, 2026
3e3b758
feat(ui): terminal bars, overlays and status bar on forui
thangnm93 Nov 12, 2026
bd754f1
docs: Task 12 mounts the session status bar in RDP/VNC workspaces
thangnm93 Nov 12, 2026
ba908be
fix(ui): input bar takes typing on open, accurate status bar, search …
thangnm93 Nov 12, 2026
5e950a6
feat(ui): SFTP panels on YsFileTable
thangnm93 Nov 12, 2026
a8d5e2e
fix(ui): SFTP keyboard flow, pane minimum, consistent open gesture
thangnm93 Nov 12, 2026
652da0e
feat(ui): transfers, file dialogs and editor chrome on forui
thangnm93 Nov 12, 2026
d76b629
fix(sftp): confirm before opening an executable from the local panel
thangnm93 Nov 12, 2026
56430c1
fix(ui): octal field error state, indeterminate transfer progress, ed…
thangnm93 Nov 12, 2026
24385f4
test(bulk): snippet button, compare pick and push overflow coverage
thangnm93 Nov 12, 2026
33ef801
feat(ui): settings on forui
thangnm93 Nov 12, 2026
07fc959
feat(ui): port forwarding, known hosts, recordings and audit on forui
thangnm93 Nov 12, 2026
86774dd
fix(ui): keyboard-reachable rule delete, port validation and manageme…
thangnm93 Nov 12, 2026
629e540
fix(ui): app-wide tile-group tap guard; whole-row switch toggles
thangnm93 Nov 12, 2026
0212c2a
fix(sync): confirm before disconnecting (removes the only sync key)
thangnm93 Nov 12, 2026
3dd8121
feat(ui): keys, sync, notifications and palette on forui
thangnm93 Nov 12, 2026
ce1cbe7
feat(ui): plugin screens and AI chat on forui
thangnm93 Nov 12, 2026
17c1e86
fix(ui): keychain test seam, palette keyboard tests and inert hidden …
thangnm93 Nov 12, 2026
f293f2d
fix(ui): plugin manager keyboard test, Enter-to-send in AI chat and t…
thangnm93 Nov 12, 2026
4c02ced
test: drop two unused imports flagged by the analyzer
thangnm93 Nov 12, 2026
05f7865
feat(ui): remote-desktop workspace chrome on forui with the session s…
thangnm93 Nov 12, 2026
56398f2
fix(ui): remote toolbar keeps canvas focus; explain toolbar settle
thangnm93 Nov 12, 2026
580ba32
feat(ui): container screens on forui
thangnm93 Nov 12, 2026
0727bda
fix(compose): confirm before bringing a stack down; keyboard reachabi…
thangnm93 Nov 12, 2026
9a7f331
feat(ui): devops tool screens on forui
thangnm93 Nov 12, 2026
b00a61c
fix(devops): mail body parsing, persistent Clear all, Cloudflare Ente…
thangnm93 Nov 12, 2026
a7a4752
fix(mail-catcher): append-mode, unbuffered log so cleared and new mai…
thangnm93 Nov 12, 2026
e974a9d
feat(ui): snippets and devops plugin packages on the design system
thangnm93 Nov 13, 2026
0eb92aa
fix(ui): plugin row actions inert while hidden; plugin-host dialog th…
thangnm93 Nov 13, 2026
c7fd570
feat(ui): web tools plugin on the design system
thangnm93 Nov 13, 2026
809f6d7
test(web-tools): loopback send-path coverage; icon and loading cue fixes
thangnm93 Nov 13, 2026
b1968a5
fix(web-tools): keep the URL caret in range when params change the URL
thangnm93 Nov 13, 2026
b270386
feat(ui): mobile foundations on forui
thangnm93 Nov 13, 2026
ade461a
fix(mobile): finish forui migration of shared primitives; toast inset…
thangnm93 Nov 13, 2026
ace5316
fix(hosts): validate the port range in the host editor
thangnm93 Nov 13, 2026
9d9f51a
feat(ui): mobile keys, sync and sftp screens on forui
thangnm93 Nov 13, 2026
32164f5
fix(mobile): obscure sync secrets, Lucide icons and header tooltips
thangnm93 Nov 13, 2026
8651367
feat(ui): mobile terminal and security gates on forui
thangnm93 Nov 13, 2026
9aa4feb
test(mobile): accessory keys keep terminal focus
thangnm93 Nov 13, 2026
f338d90
feat(ui): mobile host, settings, forwarding and snippet screens on forui
thangnm93 Nov 13, 2026
fed1d8f
fix(mobile): host port range, tag chip height, unique key picker
thangnm93 Nov 13, 2026
c34a48f
fix(ui): keyboard-reachable tabs, 44px touch items, Cloudflare tunnel…
thangnm93 Nov 13, 2026
a707519
refactor(ui): move shared form controls out of settings_tiles
thangnm93 Nov 13, 2026
2207ee9
chore(ui): token sweep, deprecate legacy colour aliases and add the U…
thangnm93 Nov 13, 2026
7b43904
fix(hosts): reset the host editor when the edited host changes
thangnm93 Nov 13, 2026
971edc6
fix(mail-catcher): skip ESMTP options preamble
thangnm93 Nov 13, 2026
cfe0360
fix(ui): confirm host and host-key removal
thangnm93 Nov 13, 2026
8c60a5e
fix(terminal): header and status bar follow host edits
thangnm93 Nov 13, 2026
fb7b802
fix(hosts): validate the proxy port range
thangnm93 Nov 13, 2026
2e34a5b
refactor(ui): migrate remaining sheets and fields; extend the UI lint…
thangnm93 Nov 13, 2026
caae90d
fix(terminal): restore an informational cue on the watch banner
thangnm93 Nov 13, 2026
423fd81
chore(ci): test yourssh_web_tools in the plugin matrix; document swit…
thangnm93 Nov 13, 2026
d5c7747
docs: complete the redesign changelog and design-system notes
thangnm93 Nov 13, 2026
57e7fa7
test(terminal): drop an unused import
thangnm93 Nov 13, 2026
f50a314
fix(editor): only text edits mark the fallback editor dirty
thangnm93 Nov 13, 2026
63340de
chore(ci): UI lint also catches generic calls such as showDialog<T>(
thangnm93 Nov 13, 2026
9475f01
fix(ui): centre tab content vertically
thangnm93 Nov 13, 2026
1622a20
fix(terminal): host chips on the left, header actions on the right
thangnm93 Nov 13, 2026
fc267f5
test(docs): user-journey screenshot harness
thangnm93 Nov 13, 2026
70dd8fd
fix(main-screen): defer SFTP connection setState when fired while the…
thangnm93 Nov 13, 2026
7825c08
fix(ssh): bound the dial with a connect timeout and show the retry re…
thangnm93 Nov 13, 2026
6142662
fix(ssh): close a socket whose dial finishes after the connect timeout
thangnm93 Nov 13, 2026
494482c
fix(plugins): stop shipping the half-migrated JS Snippets plugin
thangnm93 Nov 13, 2026
3110250
fix(plugins): reserve built-in plugin ids against script plugins
thangnm93 Nov 13, 2026
af4f3b7
fix(snippets): recover snippets a JS plugin migrated out of yourssh.s…
thangnm93 Nov 13, 2026
99101e9
fix(web-tools): top-align text in expanding code areas
thangnm93 Nov 13, 2026
9cce050
fix(terminal): anchor shell-integration gutter markers to buffer lines
thangnm93 Nov 13, 2026
3f98dca
fix(dartssh2): keep exit-status that arrives before the session handl…
thangnm93 Nov 13, 2026
2b2b646
fix(bulk): one rule for unknown/non-zero exit in row, footer and audit
thangnm93 Nov 13, 2026
6772e1f
fix(sftp): readable errors and already-exists check for create/rename
thangnm93 Nov 13, 2026
c73cd33
fix(ai-chat): stop ellipsizing the sidebar title when there is room
thangnm93 Nov 13, 2026
39bedc5
fix(ui): sentence case for keychain, port forwarding, audit and bulk …
thangnm93 Nov 13, 2026
68b1300
fix(terminal): tell the user how to fill an empty split pane
thangnm93 Nov 13, 2026
44c8237
fix(mobile): give keys bottom sheets an opaque card surface
thangnm93 Nov 13, 2026
07d25b6
fix(sync): close the QR export dialog on Escape like Cancel
thangnm93 Nov 13, 2026
0aebc2e
fix(remote): keep the RDP/VNC Retry button at a normal width
thangnm93 Nov 13, 2026
57094a2
fix(devops): stop the Mail Catcher list title ellipsizing with free s…
thangnm93 Nov 13, 2026
d0be276
fix(hosts): collapse the dashboard toolbar by priority so nothing cli…
thangnm93 Nov 13, 2026
716a3ef
fix(hosts): clear stale field errors on edit and shorten the port error
thangnm93 Nov 13, 2026
c685a53
fix(rdp): show a neutral waiting state during the first-use certifica…
thangnm93 Nov 13, 2026
cc7cbdc
docs: note the dartssh2/xterm patches and reserved plugin ids from th…
thangnm93 Nov 13, 2026
4cd2aba
test(docs): refresh the journey harness for the fix round
thangnm93 Nov 13, 2026
342b53a
docs: refresh README screenshots with the redesigned UI and log the d…
thangnm93 Nov 13, 2026
5f6278a
test(docs): force the phone-sized window for the mobile pass
thangnm93 Nov 13, 2026
b8d165c
fix(terminal): replace the pre-handshake prompt instead of leaving an…
thangnm93 Nov 13, 2026
34678d3
fix(devops): confirm before clearing captured mail
thangnm93 Nov 13, 2026
d0014b8
docs: note that the handshake gate replaces the pre-handshake prompt
thangnm93 Nov 13, 2026
6f519e5
test(terminal): guard that Esc dismissing an overlay never reaches th…
thangnm93 Nov 13, 2026
e10f5b5
test(docs): press Esc once after the tab colour submenu
thangnm93 Nov 13, 2026
63c6fd0
test(docs): final harness pass (mail clear dialog, no CR workaround, …
thangnm93 Nov 13, 2026
875d14b
docs: refresh README screenshots from the final journey run
thangnm93 Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .docs/flutter-3-50-upgrade/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
- The two Xcode `swiftpm/Package.resolved` files the build creates stay untracked, as in the main checkout.
- **Analyzer.** 0 issues on 3.47.1 → 214 infos on 3.50.0, all `deprecated_member_use` for `package:flutter/material.dart`. The material_ui migration is a separate task.
- **Docs.** CLAUDE.md gained a Toolchain section (the pin and the "bump Android with Flutter" rule). CHANGELOG `[Unreleased]` says "Built with Flutter 3.50".
- 2026-11-12: PR #120 green (incl. new android job; only notice: third-party plugins still apply KGP); merged into develop.
9 changes: 9 additions & 0 deletions .docs/ui-redesign/brief.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# UI redesign with forui — brief

**What:** Redesign every YourSSH screen on the forui design system, "Amber Brand" direction (B): dark stone neutrals, amber accent, bundled Inter font, Lucide icons. Same look on macOS, Windows, Linux, Android and iOS.

**Why:** The owner finds every screen unattractive and inconsistent across platforms.

**Docs:**
- Spec: `docs/superpowers/specs/2026-11-12-yourssh-ui-redesign-design.md`
- Mockups: `docs/superpowers/specs/assets/ui-redesign/`
10 changes: 10 additions & 0 deletions .docs/ui-redesign/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

- 2026-11-12: Built the spike: 3 directions, 18 screenshots. The owner chose B.
- 2026-11-12: Spec written. A builder check raised 6 questions, all settled as defaults (see "Decided here").
- 2026-11-12: Phase 0–1 plan written.
- 2026-11-12: Phase 0 done (PR #118, awaiting owner OK). Phase 1 tasks 7-9 done on feature/ui-shell. Phases 2-6 plan written (17 tasks).
- 2026-11-12: Phase 1 (shell) done on feature/ui-shell.
- 2026-11-12: Phases 2-6 plan written and executed (phases 2-5 desktop, phase 6 mobile); Task 17 token sweep, lint gate and docs done.
- 2026-11-13: Final review fix round (P30): host editor remounts per edit target (data-loss fix), mail catcher skips the ESMTP options preamble, confirms for dashboard host Delete and Known Hosts Remove, terminal header and status bar follow host edits, proxy port range check, discovery and monitor sheets plus inline rename and fallback editor on forui, lint gate extended, `yourssh_web_tools` in the plugin CI matrix, watch banner cue restored, docs completed.
- 2026-11-13: Docs user-journey harness (app/integration_test/docs/) drove the final app against demo containers and captured 208 screenshots (untracked, screenshots/docs/). Its findings plus a controller review of every shot gave 22 fixes in 4 parallel worktrees (P31), incl. a pre-existing snippets data-loss bug from the half-migrated bundled JS Snippets plugin (P32). Journey re-run clean; README screenshots refreshed from it.
20 changes: 20 additions & 0 deletions .docs/ui-redesign/context.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Context

**Spike.** forui 0.27.7 needs Flutter >=3.47 and Dart >=3.13. The app now builds on Flutter 3.50.0 (CI pins it). The throwaway spike lives in the session scratchpad.

**Current UI.**
- Palette: `AppColors` with a green accent, plus a separate mobile palette `MobileColors`/`MobileTokens`.
- Theme: Material `buildAppTheme()`; mobile uses `google_fonts`, which fetches fonts at runtime.
- `AppColors.accent`: 193 uses in 46 files. Some mean "success", others mean "primary".
- Material widgets: 117 of 261 files import Material.

**Shell.** The shell is inside `app/lib/screens/main_screen.dart`: `_Sidebar` and `_TopTabBar` (1842 lines). Session tab: `app/lib/widgets/session_tab.dart`.

**Terminal theme.** "YourSSH Dark" already exists in the catalog. The new default is therefore named "YourSSH Amber" and applies to new installs only.

**State after phases 2-6.**
- The whole app (desktop and mobile) and the Snippets, DevOps and Web Tools plugins are on forui and the `yourssh_ui` components (`YsTab`, `YsFileTable`, `YsHostCard`, `YsStatusBar`, `YsPluginHost`, dialogs, toasts).
- `AppColors` and `MobileColors` stay as `@Deprecated` aliases of `YsColors`.
- `tool/check_ui_lint.sh` blocks Material `IconButton(`, `AlertDialog(`, `SnackBar(`, `Icons.`, `ScaffoldMessenger`, `showDialog(`, `showModalBottomSheet` and `TextField(`; the allowlist is empty.
- The host editor (`HostDetailPanel`) reads `existing` only in `initState`, so the shell mounts it with `hostEditorKey(editing, serial)`.
- Terminal header chips and the status bar read the host through `selectLiveHost` (fresh `HostProvider` lookup, snapshot fallback).
7 changes: 7 additions & 0 deletions .docs/ui-redesign/plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Plan

- Phases 0-1 plan: `docs/superpowers/plans/2026-11-12-yourssh-ui-redesign-phase0-1.md` (done: foundation + shell).
- Phases 2-6 plan: `docs/superpowers/plans/2026-11-12-yourssh-ui-redesign-phase2-6.md` (done: dialogs and settings, hosts/dashboard/editor, terminal workspace, SFTP and tools, web tools, mobile).
- Task 17: token sweep, `AppColors`/`MobileColors` deprecated aliases, UI lint gate (`tool/check_ui_lint.sh`), CLAUDE.md and CHANGELOG.
- Final whole-branch review fix round (ruling P30): host editor reset, mail parser, delete/host-key confirms, live host in header and status bar, proxy port range, remaining Material sheets and fields, lint extension, CI for `yourssh_web_tools`, docs.
- Decision ledger and rulings P1-P30: `.superpowers/sdd/2026-11-12-yourssh-ui-redesign-phase2-6/progress.md`.
62 changes: 60 additions & 2 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,63 @@ jobs:
working-directory: app
run: flutter test

# forui-based UI kit: pure Dart widgets, no native bridge, so a small job.
ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
with:
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}

# Pure shell, no Flutter needed: fails on new Material IconButton /
# AlertDialog / SnackBar / Icons. / ScaffoldMessenger outside yourssh_ui.
- name: UI lint gate
run: |
bash tool/check_ui_lint_selftest.sh
bash tool/check_ui_lint.sh

- name: Install dependencies
working-directory: packages/yourssh_ui
run: flutter pub get

- name: Analyze (yourssh_ui)
working-directory: packages/yourssh_ui
run: flutter analyze --no-fatal-infos

- name: Test (yourssh_ui)
working-directory: packages/yourssh_ui
run: flutter test

# Plugin packages built on yourssh_ui; pure Dart/Flutter, no native bridge.
plugins:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: [yourssh_snippets, yourssh_devops, yourssh_web_tools]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
with:
channel: stable
flutter-version: ${{ env.FLUTTER_VERSION }}

- name: Install dependencies
working-directory: packages/${{ matrix.package }}
run: flutter pub get

- name: Analyze (${{ matrix.package }})
working-directory: packages/${{ matrix.package }}
run: flutter analyze --no-fatal-infos

- name: Test (${{ matrix.package }})
working-directory: packages/${{ matrix.package }}
run: flutter test

# One job per Rust crate. The cargo tests, build.sh and the Dart bridge tests
# stay together on purpose: both cargo invocations use --release, so the
# library build reuses the test build's compilation. Splitting them across jobs
Expand Down Expand Up @@ -196,14 +253,15 @@ jobs:
# forever instead of failing.
test:
name: test
needs: [app, bridge, android, cli, windows-cli]
needs: [app, ui, bridge, android, cli, windows-cli]
if: always()
runs-on: ubuntu-latest
steps:
- name: Check job results
run: |
echo "app=${{ needs.app.result }} bridge=${{ needs.bridge.result }} android=${{ needs.android.result }} cli=${{ needs.cli.result }} windows-cli=${{ needs.windows-cli.result }}"
echo "app=${{ needs.app.result }} ui=${{ needs.ui.result }} bridge=${{ needs.bridge.result }} android=${{ needs.android.result }} cli=${{ needs.cli.result }} windows-cli=${{ needs.windows-cli.result }}"
[ "${{ needs.app.result }}" = "success" ] || exit 1
[ "${{ needs.ui.result }}" = "success" ] || exit 1
[ "${{ needs.bridge.result }}" = "success" ] || exit 1
[ "${{ needs.android.result }}" = "success" ] || exit 1
[ "${{ needs.cli.result }}" = "success" ] || exit 1
Expand Down
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **`yourssh://connect/<host-id-or-label>` links** — open a saved host from a browser or script; saved hosts only, repeats of the same link within 2 s are ignored, and a refused link (unknown host, unsupported form) is listed in the notification bell. The scheme is registered by the macOS app, the Windows installer (current user) and the Linux .deb; the portable zip and tarball do not register it.
- **Audit source for CLI and URL connects** — SSH connect rows carry `meta.source` = `cli` / `url`; RDP and VNC rows keep `source: rdp|vnc` and carry `via` = `cli` / `url`.

### Fixed
- **Snippets no longer disappear after allowing the bundled "Snippets" plugin.** Earlier builds shipped a half-migrated script copy of Snippets that moved your snippets out of the built-in plugin's storage on first load and then failed, so the next launch showed only the defaults. The script copy is no longer installed, a leftover copy in `~/.yourssh/plugins/snippets` is ignored (script plugins can't reuse a built-in plugin's id), and the moved snippets are restored once at startup (merged, no duplicates).
- Bulk "Run command" no longer reports `exit -1` for fast commands: the SSH layer kept an exit status that arrived before the session was ready. The footer counts non-zero exits separately (`N ok · M non-zero exit · K failed`) and an unknown exit status is shown as such.
- A host whose name doesn't resolve no longer sits on "Connecting…" forever: the TCP dial times out after 15 s and the connecting screen shows the last error with the retry attempt.
- Entering RDP/VNC fullscreen no longer raises a framework error; the first RDP connect shows a neutral "verifying certificate" state behind the trust dialog instead of an error with Retry; Retry buttons have a normal width.
- Shell-integration gutter markers follow their prompt line and disappear on `clear` instead of floating on empty rows.
- Field errors in the host editor and port-forward editor clear as soon as the value is fixed, and the port error fits on one line.
- The hosts toolbar fits the 900×600 minimum window (lower-priority controls collapse into a menu); the Mail Catcher and AI chat titles no longer truncate with room to spare; multi-line Web Tools editors start at the top; the mobile Generate/Import key sheets have an opaque surface; Esc closes the LAN-sync QR dialog.
- SFTP shows readable errors (e.g. '"releases" already exists') instead of raw `SftpStatusError` codes when creating or renaming.
- An empty split pane explains how to fill it; remaining all-caps buttons and titles (Keychain, Port forwarding, Audit log, bulk dialogs) use sentence case.
- **The host editor no longer leaks one host's form into another.** Opening "Edit" on a second host (or "New host" / "Duplicate") while the editor was open kept the first host's fields, and Save wrote them (including the password) into the second host.
- The terminal header and status bar follow edits to the host (label, user, tags, jump chain) instead of showing the values from when the tab was opened.
- Mail catcher: messages whose log starts with ESMTP options (`mail options: ['BODY=8BITMIME']`) are no longer dropped; the body is parsed separately from the headers, *Clear all* persists, and the log is written unbuffered in append mode.
- Port validation ("Invalid (1–65535)") in both host editors (SSH/RDP/VNC port and proxy port), port forwarding and the Cloudflare tunnel panel; an empty port keeps its default.
- Deleting a host also removes its stored proxy password.
- The mobile sync code and anonymous key are hidden behind a reveal toggle.
- The status bar also shows in RDP and VNC sessions.
- Terminal search and input bars keep or return focus correctly (Esc, Enter, clicking away).
- The read-only "Watching" banner has its own informational colour again.
- Session and DevOps result tabs can be selected and closed from the keyboard (Tab to a tab, Enter/Space to select, Tab again to its close button).
- List items in bottom sheets on mobile are at least 44 px tall.
- The Cloudflare tunnel panel shows "Required" / "Invalid (1–65535)" for a missing label or a bad port instead of silently adding nothing or falling back to 3000 (an empty port still means 3000).

### Changed
- **New confirmations:** deleting a host from the dashboard card menu, removing a Known Hosts entry (its pinned key), Sync *Disconnect*, Docker Compose *Down* and opening an executable file externally now ask first; the safe choice has default focus.
- **SFTP click model:** on both panels a single click selects, and double-click or Enter opens.
- **Host editor:** a *Delete* button was added to the footer and the *CONNECT* button was removed.
- **AI chat:** Enter sends, Shift+Enter inserts a new line.
- **New look:** the app moves to the Amber Brand palette (warm dark surfaces, amber accent), the Inter font and a forui-based UI foundation on desktop and mobile.
- **New "YourSSH Amber" terminal theme**, the default for new installs. Existing installs keep their current terminal theme.
- Built with Flutter 3.50.
- **New sidebar** with grouped sections and an amber selected item.
- **New tab bar** for sessions, with the active tab marked in amber.
- **New toasts** for notifications, shown bottom-right on desktop.
- **UI clean-up:** a lint gate (`tool/check_ui_lint.sh`, run in PR CI) keeps Material `IconButton`/`AlertDialog`/`SnackBar`/`Icons`/`ScaffoldMessenger` out of the app and the plugin packages, remaining colour literals moved to tokens, the discovery and server-monitor sheets and the inline tab rename / fallback code editor fields moved to forui, the gate also rejecting `showDialog(`, `showModalBottomSheet` and `TextField(`, and `AppColors`/`MobileColors` are now `@Deprecated` aliases of the new tokens (kept rather than deleted, to avoid churn across ~460 call sites).
- **New dialogs** across the app; security prompts (host key, RDP certificate) now focus the safe choice by default.

---

Expand Down
Loading
Loading