Repository navigation
Description
Goal
The server form's frame and remaining tabs follow the design: title row with server icon, uppercase name and Connect on the right, folder-style tabs, General and Security tabs with label legends and option cards, host keys as key rows, and a side-by-side Save/Connect row on narrow screens. The group form and notes panel get the same style.
Context
- Design reference:
docs/design/angular/screens/DeskServerForm.png(title row, tabs, Security options as cards, host keys) anddocs/design/angular/screens/MobServerForm.png(equal-width tabs, Save + Connect row). apps/smart-ssh-community/frontend/src/components/serverForm/RemoteServerForm.tsx(341): h2 title (:187-189), one columnmax-w-2xl(:186), bottom bar with Save and Connect, Connect disabled with "save first" hint (:241-261), General/extension sections/Delete (:282-285), Notes tab (:286-307).GeneralTab.tsx(name, group, tags:23-56),SecurityTab.tsx(confirmation after server access, AI injection check with hints:69-73, host keys with empty text:81-82),NotesTab.tsx,TagsField.tsx,DeleteServerSection.tsx,LocalServerForm.tsx(General + Notes only),ExtensionTabPanels.tsx, tab logicuseServerFormTabs.ts(invalid-tab markers);ServerForm.tsx,GroupForm.tsx,NotesPanel.tsx(expand "▸/▾":235).- Spec 0008 (form structure), spec 0039 (confirmation after server access), spec 0019/0030 (notes).
Requirements
- Title row:
server(orlocal/folderfor the group form) icon, name in 24 px uppercase, primary "Connect" on the right with the same disabled state and "save first" hint as today; Save stays in the bottom action row. - Tabs with the foundation tab style (2 px accent top rule), invalid markers as
StatusSquare; equal-width 44 px tabs on narrow screens. - General: fields with
Field, tags withTagInput, extension sections and "Delete server" (danger section with impact preview) in the new style. - Security: confirmation-after-access choice as three option cards (radio semantics unchanged), AI injection check as a checkbox with its hints, host keys as rows with
keyicon, algorithm and fingerprint in mono, empty text kept. - Notes tab, notes panel and group form in the same style; expand toggles with
chevicons. - Narrow: Save and Connect side by side (Save flexible, Connect fixed) at the bottom.
- New strings in all 25 locales.
Acceptance Criteria
- The form frame, General and Security tabs match
docs/design/angular/screens/DeskServerForm.png; the narrow form matchesdocs/design/angular/screens/MobServerForm.png. - Connect in the title row is disabled with the hint while there are unsaved changes, and connects after saving, as before.
- Changing the confirmation option, the injection check, tags, group and deleting a server work as before; invalid tabs are marked.
- Group form and notes (edit, save, history/diff) work as before in the new style.
- Axe scans of the form, group form and notes pass.
- New strings exist in all 25 locales; colour guard passes.
- Unit tests
ServerForm.tabs.test.tsx,ServerForm.extensionTabs.test.tsx,ServerForm.noPassword.test.tsx,ServerForm.textCorrection.test.tsx, group form and notes tests and e2eserver-management-review.spec.ts,narrow-manage.spec.ts,settings-notes-review.spec.ts(notes parts) are 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/ServerForm.tsx, GroupForm.tsx, NotesPanel.tsx (under src/components/), apps/smart-ssh-community/frontend/src/components/serverForm/RemoteServerForm.tsx, LocalServerForm.tsx, GeneralTab.tsx, SecurityTab.tsx, NotesTab.tsx, TagsField.tsx, DeleteServerSection.tsx, ExtensionTabPanels.tsx, useServerFormTabs.ts (under src/components/serverForm/), tests listed above, apps/smart-ssh-community/frontend/src/locales/*/common.json, apps/smart-ssh-community/frontend/e2e/
Spec impact: none
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: server form Connection tab in two columns with segmented authentication and test badge #1380 (server-form-connection), Redesign: Manage sidebar tree, management view and drag ghost #1368 (manage-tree) — shared server form tests and management e2e.
- A "Cancel" (revert) button in the form is listed separately for a decision.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
feat(frontend): redesign server form frame, General, Security and Not…
test(frontend): locate Connect via the server form root (#1381)
smart-ssh-coder commentedon Nov 22, 2026
Implementation ready for review. PR #1482. Restyled server form frame (title row with Connect, narrow Save+Connect row, equal-width tabs), General, Security option cards, host-key rows, local/group forms and notes. Vitest and e2e green; CI green on PR 1482. Needs visual check against the design.
smart-ssh-reviewer commentedon Nov 22, 2026
Review: 1. The 'save first' hint is visually hidden on narrow screens (narrow:sr-only; title tooltips don't show on touch), which narrows AC 2 / the 'same hint as today' requirement. Keep it visible. 2. Spec 0008 ('Connect next to Save', hint shown) no longer matches the code now that Connect is in the title row on wide screens. Update 0008 and the Save line in 0113. 3. AC 7: tests were not updated. Nothing covers Connect in the title row, the narrow Save + Connect row (disabled with hint while dirty, connects after save), equal-width narrow tabs or host-key rows. manage-connect.spec.ts never runs in the phone projects. 4. Screenshots are missing the group form, the Security tab with stored host keys, the local form title row and the expanded notes history, in both themes, wide and narrow; the PR table should list all views. 5. Design gaps against AC 1: the title-row Connect has no plug icon, and host-key rows don't put the fingerprint on its own line under the algorithm as MobServerForm.png shows.
fix(frontend): keep save-first hint visible, plug icon, host-key rows…
Screenshots for #1381 at 7e6bcbb
7 remaining items
smart-ssh-planner commentedon Nov 22, 2026
Maintainer brief: Product question: Should PR #1482 (server form redesign) merge without screenshots of the stored host-key rows at 390x844 and 800x560?
Now: Only the 1280x800 host-key screenshot shows the key rows. At phone and small-window size the rows are below the fold in the captures. An automated test (narrow-server-form.spec.ts) checks the rows on the phone layout. Everything else from the reviews is fixed, CI is green.
Options:
Recommendation: 1 – the issue explicitly requires before/after screenshots, and you decided the same way for missing required screenshots on Redesign: server form Connection tab in two columns with segmented authentication and test badge #1380 and Redesign: file browser dialogs #1386 (sent back, no waiving). The host-key rows were the design gap in MobServerForm.png, so the narrow view is the one that matters.
Not answered automatically because: option 2 would weaken an Acceptance Criterion/Technical Note (screenshots); this is not an impossible proof.
smart-ssh-maintainer commentedon Nov 22, 2026
Decided by maintainer: option 1.
Send it back once more: capture the stored host-key rows at every size, including 390x844 and 800x560, by scrolling them into view after each viewport resize (for example a per-size step in captureScreen, or one capture per size at that size). Do not waive the screenshots; one more round for a complete visual check is preferred over saving it.
smart-ssh-reviewer commentedon Nov 22, 2026
Review: 1. Maintainer decision (option 1): the stored host-key screenshots at 390x844 and 800x560 (light and dark) still don't show the key rows. captureScreen resizes after the test has scrolled, so the rows end up below the fold. Scroll the host-key rows into view after each viewport resize, either with a per-size step in captureScreen or by capturing each size at that size. Then update the before/after table in the PR. Everything else is verified: CI is green, vitest passes (112), the changed Playwright specs pass with repeat-each=5, and the counter-proof for the hint and 44 px tab tests holds.
Screenshots for #1381 at f9d34ab
test(frontend): scroll host-key rows into view after each screenshot …
smart-ssh-coder commentedon Nov 22, 2026
Implementation ready for review. PR #1482. Host-key screenshots now scroll the key rows into view after each resize (captureScreen afterResize hook, asserted in viewport); screenshot table regenerated. CI green on the pushed head.
smart-ssh-reviewer commentedon Nov 22, 2026
Review passed – moving on to merge. Approved. The maintainer's decision (option 1) is done: the stored host-key screenshots at 390x844 and 800x560, light and dark, now show the key rows because the view scrolls after each resize. CI is green, the changed Playwright specs pass 5 times in a row (160 runs), and vitest passes (112). Non-blocking: the screenshot header in the PR body still names f9d34ab as the capture commit.
feat(frontend): redesign server form frame, General, Security and Not…
smart-ssh-coordinator commentedon Nov 22, 2026
Merged and branch deleted: PR #1482 (squash) in develop