Repository navigation
Description
Goal
The phone file list, the transfer list and the status strips of the file browser (elevation banner and notice, copy progress, local-edit bar) follow the Angular design. The narrow layout gets the design's row content (permissions · owner/size · date) and a bottom action bar with "+ Folder" and "Upload".
Context
- Design reference:
docs/design/angular/screens/MobFiles.png(mobile), transfer block style indocs/design/angular/screens/DeskFiles.png(bottom of the right panel: name with cancel, full-width 6 px bar, mono stats line "148 / 238 MiB · 11.2 MiB/s", "8 s left"). - Narrow rows
apps/smart-ssh-community/frontend/src/components/fileBrowser/NarrowEntryList.tsx: 44 px (min-h-11,:29), second line size · modified date and time, folders date only (:32-37), ⋯ button:82. Spec 0113 §5b says owner, group and permissions do not appear in the narrow list. - Transfers
fileBrowser/TransferList.tsx: one line per transfer with a native<progress>24 units wide (:20,115,132), states done/stopped/cancelled/error/elevation-ended and entry-count progress for delete/chmod/chown (:23-138); placed as a strip between toolbar and table (FileBrowserPanel.tsx:315-317). - Strips:
fileBrowser/ElevationBanner.tsx:22-48,fileBrowser/ElevationNotice.tsx,fileBrowser/CopyProgress.tsx,fileBrowser/LocalEditStatusBar.tsx. - "+ Folder" and "Upload" on narrow screens are only in the overflow sheet today (
FileToolbar.tsx:132-169). - Data for the new row content exists:
RemoteEntryDtopermissions, owner, size, modified (src/generated/ipc.ts:241).
Requirements
- Narrow rows: 56 px with a 1 px rule, 20 px icon (folder in
accent-fg), name 15 px, second line 11 px faint mono: folders "permissions · owner · date", files "permissions · size · date" (date without time), symlinks with "→ target" (truncated); ⋯ as a 44 × 44 borderless icon button. - Bottom action bar on narrow screens with "+ Folder" (secondary) and "Upload" (primary), calling the existing handlers; the overflow sheet keeps all its entries.
- Transfer list (both layouts): each transfer as a block with name, cancel icon button, full-width 6 px progress bar (role
progressbarwith value and label, replacing the native element), mono stats line (done / total, rate, remaining time); done, stopped, cancelled, error and elevation-ended states useStatusSquare/icons and the status tones. Placement stays where it is today. - Elevation banner and notice, copy progress and local-edit bar: square, 1 px rules, status tones,
text-labelheadings; behaviour unchanged. - Touch targets at least 44 px.
- New strings in all 25 locales.
Acceptance Criteria
- The narrow file browser matches
docs/design/angular/screens/MobFiles.png(rows, bottom bar); transfer blocks match the transfer area ofdocs/design/angular/screens/DeskFiles.png. - A narrow folder row shows
drwxr-xr-x · www-data · 2026-11-18-style meta text; a file row shows permissions, size and date. - "+ Folder" and "Upload" in the bottom bar create a folder and start an upload as the overflow entries do.
- A running upload shows a progress bar with accessible value, the stats line and a working cancel button; done, error and cancelled states look as designed.
- Elevation banner/notice, copy progress and local-edit bar keep their behaviour and texts.
- Keyboard and screen reader: progress bars announce name and value, row and bar buttons have accessible names and visible focus; the axe scan of the narrow file browser passes.
- Spec 0113 §5b describes the new narrow row content and the bottom bar.
- New strings exist in all 25 locales; colour guard passes.
- Unit tests
FileBrowserPanel.android.test.tsx,fileBrowser/useSftpTransfers.test.tsx(if touched),ElevationBanner.test.tsx,ElevationNotice.test.tsxand e2ee2e/tests/narrow-session.spec.tsand the narrow part ofe2e/tests/file-browser.spec.tsare updated. - Relevant automated tests pass
Technical Notes
- No change to which transfers are kept: finished transfers still disappear as today (
useSftpTransfers.ts:198-204); keeping "Done" rows is part of the separate detail-panel discussion. - The bottom bar needs a slot in
FileBrowserPanel.tsx, which the desktop files issue also edits; this issue runs after it.
Files: apps/smart-ssh-community/frontend/src/components/fileBrowser/NarrowEntryList.tsx, TransferList.tsx, CopyProgress.tsx, LocalEditStatusBar.tsx, ElevationBanner.tsx, ElevationNotice.tsx (under src/components/fileBrowser/), apps/smart-ssh-community/frontend/src/components/FileBrowserPanel.tsx (bottom bar slot), related tests, apps/smart-ssh-community/frontend/src/locales/*/common.json, apps/smart-ssh-community/frontend/e2e/tests/narrow-session.spec.ts, apps/smart-ssh-community/frontend/e2e/tests/file-browser.spec.ts, docs/specs/0113-schmales-layout.md
Spec impact: update 0113 (§5b)
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: file browser toolbar, path bar and table (desktop) in the Angular style #1373 (files-desktop) — shares
FileBrowserPanel.tsx. Blocks: Redesign: file browser dialogs #1386 (dialogs-file-browser).
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
feat(frontend): narrow file list, transfer blocks and status strips i…
smart-ssh-coder commentedon Nov 20, 2026
Implementation ready for review. PR #1420. Narrow rows (56 px, permissions/owner|size/date meta), bottom bar (+ Folder / Upload), transfer blocks with role=progressbar, restyled status strips, spec 0113 5b and changelog updated. Vitest, lint, tsc, Playwright and CI green. Visual match with the design PNGs needs a manual check.
smart-ssh-reviewer commentedon Nov 20, 2026
Review: 1. NarrowEntryList.tsx: symlink rows show the target twice (LinkMarker on the name line plus a new
→ targetin the meta line). Show it once after the name, as in MobFiles.png, fix the Spec 0113 §5b sentence and add a test for a symlink row. 2. AC 1: the bottom-bar Upload button has no upload icon, and folder names stay in the accent colour, while the design and the desktop table use the normal foreground. 3. Spec 0054 (speed and remaining time) still says the stats are next to the bar and have fixed widths. The new block puts them under the bar and drops the fixed widths, so the speed moves whenever the bytes text changes length. Keep fixed-width boxes and update 0054. 4. AC 9/AC 6: ElevationBanner.test.tsx, ElevationNotice.test.tsx and narrow-session.spec.ts were not updated. Add bottom-bar checks and an axe scan of the plain narrow Files pane, or explain under Assumptions why a file needs no change.fix(frontend): narrow list review fixes: single link target, upload i…
smart-ssh-coder commentedon Nov 20, 2026
Implementation ready for review. PR #1420. Review fixes: symlink target shown once, upload icon and normal-foreground folder names, fixed-width transfer stats restored (Spec 0054/0113 updated), narrow-session e2e checks bottom bar plus axe on the Files pane, symlink row test added. CI green.
smart-ssh-reviewer commentedon Nov 20, 2026
Review: 1. docs/specs/0054-sftp-browser-actions.md: "beim Fortschrittsbalken (im schmalen Layout darunter)" implies the wide layout differs. TransferList renders the stats line under the bar in both layouts, so write "unter dem Fortschrittsbalken" with no layout qualifier. 2. AC 9: ElevationBanner.test.tsx and ElevationNotice.test.tsx are still unchanged, and the PR body gives no reason under Assumptions. Either assert that the toggle-off button and the notice heading keep their accessible names and texts and that the notice still expands and collapses, or add an Assumptions entry that names the existing tests covering each point. This is the second round on this point. Everything else from the previous review is fixed; CI is green.
test(frontend): cover elevation banner names; fix spec wording (#1374)
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1420. Review fixes: spec 0054 wording without layout qualifier; ElevationBanner test now asserts toggle-off button name and banner text (notice heading/collapse covered by existing ElevationNotice test). CI green.
smart-ssh-reviewer commentedon Nov 21, 2026
Review passed – moving on to merge. Both open findings are fixed: the Spec 0054 wording no longer has a layout qualifier, and the ElevationBanner test asserts the toggle-off button name and banner text. Notice heading and expand/collapse are covered by the existing ElevationNotice test. Ran locally: vitest on 4 files (160 passed) and the narrow-session and file-browser Playwright specs (44 passed). CI is green. Visual match with the design PNGs is a manual check.
Manual testing after the merge:
feat(frontend): narrow file list, transfer blocks and status strips i…
smart-ssh-coordinator commentedon Nov 21, 2026
Merged and branch deleted: PR #1420 (squash) in develop