Repository navigation
Labels
enhancementNew feature or requestfrontendFrontend (React/TypeScript)manual-testingMerged; some criteria need a manual check on real hardware or another OS
Milestone
Description
Goal
The management dialogs follow the design: the move-to dialog as a bordered tree list with connector lines, folder icons and a "current" marker; the ssh_config import dialog in three columns (files read, resulting folder structure, servers as a table) with the server count on the import button; the export dialog in the same style.
Context
- Design reference: "MoveToDialog" and "SshConfigImportDialog" in
docs/design/angular/screens/DeskDialogs.png; icons indocs/design/angular/screens/Icons.png("ssh_config import", "Move to… dialog"). apps/smart-ssh-community/frontend/src/components/MoveToDialog.tsx(84): click on a row moves at once (:35-38,64,75, relied on bye2e/tests/narrow-manage.spec.ts:81-82), root labelmainScreen.ungrouped(:65), keep-copy button (:49-61); "current" can be derived fromclassifyDrop()==="noop"(src/lib/treeDrag.ts:64).SshConfigImportDialog.tsx(471,DialogFramexl): stacked sections, groups list without servers (:236-240), entries as cards with adl(:286-450), include checkbox per entry (:299), identity-file mode (:249-280), identity file and tags per entry with the literal-tag marker (:371-434), skipped list (:451-457), button "Import" (sshConfigImport.confirm).SshConfigExportDialog.tsx(116).- Specs 0075 §3.1.4/§4.5 (import preview content), 0103 (move), 0113 §5c.
Requirements
- Move-to dialog: bordered list with tree connector lines,
foldericons, root row "→ top level (no group)" (treeDrag.hintRootor the existing root label), the item's current group marked "current" and not selectable; one click still moves (no two-step flow); keep-copy action kept. - Import dialog (wide): three columns — files read with status icons and mono paths, resulting folder structure as a tree including servers, servers as a table (include checkbox, Name, Address, Port, User, Jump host) with conflict rows in the warning tone and the rename input below; identity-file mode, tags, literal-tag marker, skipped list and messages kept. Narrow: the three parts stacked. The primary button reads "Import N servers" with the number of selected entries (plural strings).
- Export dialog in the same style (mono paths, rename list with
→). - New strings in all 25 locales.
Acceptance Criteria
- Move-to and import dialogs match
docs/design/angular/screens/DeskDialogs.png(move-to without a separate Move button; import with the include checkboxes). - Moving a server to another group or to the top level works with one click; the current group is marked and disabled.
- Importing a config with a name conflict shows the conflict row and rename input; the button count follows the selection; import results are as before.
- Keyboard: list and table operable, focus visible; axe scans pass.
- New strings exist in all 25 locales; colour guard passes.
- Unit tests
SshConfigImportDialog.test.tsx,SshConfigExportDialogtests,ManagementView.move.test.tsx(dialog parts) and e2enarrow-manage.spec.ts(move),narrow-dialogs.spec.tsare updated. - Relevant automated tests pass
Technical Notes
- Attach before/after screenshots (
SCREENSHOT_LABEL=before|after,e2e/support/screenshots.ts) in both themes to the PR.
Files: apps/smart-ssh-community/frontend/src/components/MoveToDialog.tsx, SshConfigImportDialog.tsx, SshConfigExportDialog.tsx and their tests (under src/components/), apps/smart-ssh-community/frontend/src/locales/*/common.json, apps/smart-ssh-community/frontend/e2e/tests/narrow-manage.spec.ts, narrow-dialogs.spec.ts
Spec impact: none
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: Manage sidebar tree, management view and drag ghost #1368 (manage-tree), Redesign: host key dialog, auth prompt, connecting and unusable-server panels, toasts #1384 (dialogs-connection) — shared management tests and
narrow-dialogs.spec.ts. Blocks: Redesign: file browser dialogs #1386 (dialogs-file-browser). - A two-step move (select, then "Move") as drawn is listed separately for a decision.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestfrontendFrontend (React/TypeScript)manual-testingMerged; some criteria need a manual check on real hardware or another OS
Type
Fields
Priority
P2 - Normal
Activity
feat(frontend): redesign move-to and ssh_config import/export dialogs (…
test(frontend): capture the move-to dialog (#1385)
Screenshots for #1385 at 5b05f3d
test(frontend): add move-to dialog screenshot spec (#1385)
Screenshots for #1385 at 4e5a3f4
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1453. Redesigned the move-to dialog (tree list, current marker, one-click move) and the ssh_config import/export dialogs (three-part import with servers table and counted Import button); strings added in all 25 locales, spec 0075 updated. Vitest and the relevant Playwright specs pass, CI green on PR #1453.
smart-ssh-reviewer commentedon Nov 21, 2026
Review: 1. SshConfigImportDialog: a conflicting entry's jump host is no longer shown anywhere. The table cell shows the conflict text, and the details list dropped the jump-host row. Spec 0075 §3.1.7 requires every field in the preview. Show it again (e.g. in the details list) and add a unit test. 2. Screenshots missing: move-to dialog before (develop) and after at 1280x800 and 390x844, light/dark, with a server inside a group; import dialog with a conflict row and the rename input (light/dark, wide/narrow). 3. AC 6 / narrow requirement: narrow-dialogs.spec.ts is unchanged, and no test checks that the three import parts are stacked at phone width and the table scrolls inside its own frame. 4. Spec: the move-to dialog's new visible behaviour (root row '→ top level (no group)', 'current' marker on the present location, disabled, tree rows, one-click move) is not specified. Update spec 0103.
fix(frontend): show jump host of conflicting import entries, narrow l…
Screenshots for #1385 at ca08264
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1453. Addressed all four review points: jump host of conflicting entries shown in the details list (unit test), stacked/scroll assertions in the narrow e2e spec, spec 0103 updated, screenshots added. CI green.
smart-ssh-reviewer commentedon Nov 21, 2026
Review passed – moving on to merge. All four findings from round 2 are fixed: the jump host of a conflicting import entry is shown again (unit test fails without the fix), screenshots of the move-to and import-conflict dialogs were added, the narrow stacked layout and in-frame table scrolling are asserted in narrow-manage.spec.ts, and spec 0103 now describes the move-to dialog. Local vitest and Playwright runs pass (changed specs 5/5 repeats); CI is green. Non-blocking follow-ups: the import button count includes conflict entries that will be skipped, and the file path in the files-read column wraps mid-word.
Manual testing after the merge:
feat(frontend): redesign move-to and ssh_config import/export dialogs (…
smart-ssh-coordinator commentedon Nov 21, 2026
Merged and branch deleted: PR #1453 (squash) in develop
smart-ssh-planner commentedon Nov 21, 2026
Follow-ups filed: #1460 Import button count should only include entries that will be created. Not filed: the mid-word wrapping of the file path in the files-read column (the path already uses break-all on develop, SshConfigImportDialog.tsx:256; cosmetic).