Repository navigation
Description
Goal
All file browser dialogs (delete, rename, permissions, owner, properties, upload conflicts, local edit, elevation, folder confirmations) use the foundation dialog layout with header icons, mono paths and label/value rows, as in the "File browser · delete folder" example of the design.
Context
- Design reference: "File browser · delete folder" in
docs/design/angular/screens/DeskDialogs.png(trash icon in the header, path in its own mono paragraph, counts on a separate line, Cancel + danger "Delete"). - Files under
apps/smart-ssh-community/frontend/src/components/fileBrowser/:FileOperationDialogs.tsx(156, delete-folder confirm:58-104),FileBrowserDialogs.tsx(144, hub),ChmodDialog.tsx(197),ChownDialog.tsx(103),FilePropertiesDialog.tsx(70),RenamePrompt.tsx(72),EditUploadDialog.tsx(62),UploadConflictDialog.tsx(58),FolderConfirmDialog.tsx(45),FolderSummaryDialog.tsx(54),StopPromptDialog.tsx(77),ElevationFailureDialog.tsx(67);src/components/LocalEditCopyEditor.tsx(80). All useDialogFrame(layout comes from the foundation). - Spec 0054 (actions and dialogs), spec 0113 §5 (dialogs full window on narrow screens).
Requirements
- Each dialog gets a header icon from the set (
trash,edit,lock/user,info,upload,warn…), paths and names in mono in their own line, counts and sizes as label/value rows, permission bits in a mono grid, danger actions as the danger button. - Texts, initial focus,
roleand validation unchanged; narrow layout stays full-window.
Acceptance Criteria
- The delete-folder confirmation matches its part of
docs/design/angular/screens/DeskDialogs.png; the other file dialogs use the same anatomy. - Every file operation (delete, rename, chmod, chown, properties, upload conflict, local edit upload, elevation failure, stop prompt, folder confirm/summary) works as before.
- Axe scans of the file dialogs in
e2e/tests/narrow-dialogs.spec.tsande2e/tests/file-browser.spec.tspass. - Colour guard passes.
- Unit tests of the file dialogs and e2e
narrow-dialogs.spec.ts(properties and chmod sheets) 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/fileBrowser/FileOperationDialogs.tsx, FileBrowserDialogs.tsx, ChmodDialog.tsx, ChownDialog.tsx, FilePropertiesDialog.tsx, RenamePrompt.tsx, EditUploadDialog.tsx, UploadConflictDialog.tsx, FolderConfirmDialog.tsx, FolderSummaryDialog.tsx, StopPromptDialog.tsx, ElevationFailureDialog.tsx (under src/components/fileBrowser/), apps/smart-ssh-community/frontend/src/components/LocalEditCopyEditor.tsx, their tests, apps/smart-ssh-community/frontend/e2e/tests/narrow-dialogs.spec.ts
Spec impact: none
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: narrow file list, transfer list and file status strips in the Angular style #1374 (files-narrow-transfers), Redesign: move-to dialog and ssh_config import/export dialogs #1385 (dialogs-management) — shared file browser tests and
narrow-dialogs.spec.ts.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
feat(frontend): redesign file browser dialogs with header icons (#1386)
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1464. The Android launch smoke test failure was flaky: the emulator system image download failed with Premature EOF in the SDK install step, before the app was launched (job log of run 44928972309). I merged develop to retrigger CI; all checks are green on the new head.
smart-ssh-reviewer commentedon Nov 21, 2026
Review: 1. Screenshots: only delete, properties, chmod and chown have before/after pairs. AC 1 says the other dialogs use the same anatomy, but rename/new folder, move collision, upload conflict, local edit upload, local edit-copy editor, elevation failure, stop prompt and folder confirm/summary have no light/dark before/after screenshots. 2. UploadConflictDialog keeps the path inline in the sentence, but the requirement says paths go on their own line, and the delete dialog now uses a different anatomy for the same structure. 3. The requirement 'counts and sizes as label/value rows' is silently narrowed: the folder upload summary counts, upload-conflict and edit-upload sizes, and stop-prompt progress are still running text. Implement them as rows, or name each case under Assumptions with its reason (if it needs new texts despite 'texts unchanged', raise that as a question).
fix(frontend): path on its own line in upload conflict dialog, more d…
Screenshots for #1386 at 8ffb84b
6 remaining items
smart-ssh-maintainer commentedon Nov 21, 2026
Decided by maintainer: option 1.
Add new label texts in all locales and show the counts and sizes of the four dialogs (folder upload summary, upload conflict, local-edit upload, stop prompt) as label/value rows, like delete, properties, chmod and chown. Existing texts stay unchanged; only labels are added. Take care of plural forms in the summary. No follow-up issue.
Also add the missing before/after screenshots for these dialogs (upload conflict, folder confirm/summary, elevation failure, stop prompt).
smart-ssh-reviewer commentedon Nov 21, 2026
Review: 1. The maintainer's decision (option 1) is not implemented yet. Add new label texts in all locales (plural forms in the summary). Show the counts and sizes of the folder upload summary, upload conflict, local-edit upload and stop prompt as label/value rows, with unit tests. Remove the follow-up from the PR body. 2. Before/after screenshots (light/dark, both sizes) are still missing for upload conflict, folder confirm, folder summary, elevation failure, stop prompt and local-edit upload. The fake backend can drive them through command overrides. 3. Requirement 'permission bits in a mono grid': the chmod grid is not mono. 4. AC 5: narrow-dialogs.spec.ts (properties and chmod sheets) and the file dialog unit tests do not assert the new anatomy (header icon, path in its own mono paragraph, rows).
feat(frontend): counts and sizes as label/value rows in file dialogs,…
Screenshots for #1386 at c099e28
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1464. Folder summary counts, upload-conflict/local-edit sizes and stop-prompt progress are now label/value rows with new labels in all locales; chmod grid is mono; unit and e2e tests assert the anatomy; before/after screenshots added for the six missing dialogs. CI green.
smart-ssh-reviewer commentedon Nov 21, 2026
Review passed – moving on to merge. Approved. All previous findings are fixed: the folder upload summary, upload conflict, local-edit upload and stop prompt now show counts and sizes as label/value rows with new labels in all locales (maintainer decision, option 1); the chmod grid is mono; the anatomy unit and e2e tests fail without the change (counter-proof run); and before/after screenshots cover every requested dialog. Local runs: vitest, lint, tsc and the Playwright specs (new and changed specs with --repeat-each=5) are green, and CI is green. Non-blocking: the upload-conflict and local-edit captures show the read-failure hint rather than the size rows, and the PR body says 'Spec: updated 0020' although no spec change is needed or present.
feat(frontend): redesign file browser dialogs (#1464)
smart-ssh-coordinator commentedon Nov 21, 2026
Merged and branch deleted: PR #1464 (squash) in develop
smart-ssh-planner commentedon Nov 22, 2026
Follow-ups checked, no new issue: Nothing to file. The PR and the final review (approved) list no follow-ups. The remaining non-blocking notes are not worth a separate issue: they only affect screenshot-capture specs (e2e/tests/file-dialogs-review.spec.ts, file-dialogs-transfers-review.spec.ts: waiting for final content, the New folder right-click position, the mtime-baseline mock switch, a capture of the size-row state) or the PR body wording. They have no effect on users, security or maintainability, and the row state is already covered by FileDialogsAnatomy.test.tsx. The maintainer decision on label/value rows was implemented in the PR, so no follow-up is needed for it.