Repository navigation
Labels
Milestone
Description
Goal
The activity center follows the design: a header trigger with the activity icon and a mono count, and a 440 px panel with a summary line and one block per activity (kind icon, title, status label, flat progress bar, mono meta line, actions below).
Context
- Design reference:
docs/design/angular/screens/DeskActivity.png; quit confirmation indocs/design/angular/screens/DeskDialogs.png. apps/smart-ssh-community/frontend/src/components/activities/ActivityCenter.tsx(293, allowlisted non-modal popover insrc/uiKitDialogAllowlist.json): trigger with SVG progress ring and running count, "!"/"✓" when finished (:259-269), hidden without activities (:232); panelw-[min(22rem…)],shadow-lg(:276), title only (:278-280); rows: Cancel and Dismiss as text buttons (:100-118), failed "Failed: msg" (:133-138), interrupted with Resume/Discard on the title row (:154-176), interrupted rows first (:282-287), resume-failed text (:183), auto-dismiss of succeeded rows on close (:203-205).Activity.kindexists (src/generated/ipc.ts:15); rate helperssrc/lib/transferRate.ts.activities/QuitConfirmDialog.tsx(74,list-discrows:64-70).- Spec 0116 §1 (no icon without activity; count and progress ring), §2 (rows sorted by start time), §4 (progress updates).
Requirements
- Trigger:
activityicon with the running count in mono accent; the aggregated progress stays visible (thin progress rule under the trigger or around the icon square, determinate or indeterminate as today); "done"/"failed" states withcheck/warnicons; accent top rule while open. Still hidden without activities (spec 0116 §1). - Panel 440 px on
surface-raised, 1 pxborder-strong,shadow-offset; header with title and summary ("2 running · 1 interrupted"). - Activity block: kind icon, bold title, uppercase status label in the status colour, 6 px flat progress bar (striped when indeterminate,
role="progressbar"with value), mono meta line (done / total, rate and remaining time derived from progress updates where a total is known), actions below the meta line: Cancel asxicon button (running), Resume/Discard (interrupted, warning tint), Dismiss (failed, done asxicon button); every icon button has an accessible name. - Order of rows and auto-dismiss behaviour unchanged.
- Quit confirmation dialog: foundation dialog with
warnicon, rows with kind icons instead of bullets, "Quit anyway" stays danger. - New strings in all 25 locales.
Acceptance Criteria
- Trigger and panel match
docs/design/angular/screens/DeskActivity.png(rows that the app can produce today) in both themes. - The trigger shows the running count and aggregated progress and is absent without activities.
- A running download shows bar, done/total, rate and remaining time; cancel, resume, discard and dismiss work as before; keyboard open/close and focus return work (spec 0116 §1).
- The quit confirmation lists running activities with icons.
- Spec 0116 §1 describes the new trigger look.
- New strings exist in all 25 locales; colour guard passes; axe scan of the open panel passes.
- Unit tests
activities/ActivityCenter.test.tsx(:156expects "✓"),activities/QuitConfirmDialog.test.tsxand e2eactivity-center.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/activities/ActivityCenter.tsx, apps/smart-ssh-community/frontend/src/components/activities/QuitConfirmDialog.tsx, their tests, apps/smart-ssh-community/frontend/src/lib/transferRate.ts (reuse only), apps/smart-ssh-community/frontend/src/locales/*/common.json, apps/smart-ssh-community/frontend/e2e/tests/activity-center.spec.ts, docs/specs/0116-aktivitaetszentrum.md
Spec impact: update 0116 (§1)
Related Work
- Part of the Angular redesign (docs/design/angular/). Blocked by: Redesign: title bar with logo and main navigation, session tabs with square status markers #1365 (titlebar-session-tabs) — the trigger sits in the title bar.
- Showing file uploads/downloads as activities, an always-visible trigger and a state-based row order are listed separately for a decision.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
P2 - Normal
Activity
feat(frontend): redesign activity center trigger and panel (#1382)
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1426. Redesigned activity center trigger (icon, mono count, progress rule), panel (440 px, status labels, flat bars, rate/ETA, icon actions) and quit dialog icons; 4 new strings in 25 locales, spec 0116 and changelog updated; header z-index fixed so the wider panel is not covered. vitest, lint and Playwright pass, CI green. Before screenshots were not captured.
smart-ssh-reviewer commentedon Nov 21, 2026
Review: 1. Before screenshots are missing (Technical Notes, AC 1). The after screenshots show only a demo row and a failed row. Please capture before (develop) and after (this branch), light and dark, with a fixture that has a speech-model download, an indeterminate/Verifying row, an interrupted row, a succeeded row and a failed row. 2. activityKind.ts:4 maps
speech-modeltodownload, but DeskActivity.png shows themicicon (which exists in the set) for the speech-model row, the only row kind the app produces today. Map it tomicand update the QuitConfirmDialog test. 3. Spec 0116 §2 still says a succeeded row 'bleibt mit Häkchen', but the PR removed the check/warn icons from finished rows. Preferably show check/warn on succeeded/failed rows as in the design (with a test), or else update the spec sentence. 4. The summary strings (summaryRunning/Interrupted/Failed) are single forms called withcount, which gives wrong grammar in pl/ru/uk/cs (e.g. '2 trwa', '2 выполняется'). Use i18next plural keys (_one/_other, plus _few/_many where needed), as the existing ones do.fix(frontend): speech-model icon, check/warn on finished rows, plural…
screenshots for #1382
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1426. All four review points fixed: before/after screenshots (both themes, full fixture), speech-model uses the mic icon, finished rows show check/warn (spec stays accurate), summary strings are i18next plural keys in all locales. Vitest, lint, tsc, Playwright (10x repeat) and CI are green.
smart-ssh-reviewer commentedon Nov 21, 2026
Review: 1. The summary
_oneforms copy the plural forms in fr/es/it/pt-BR/ro/sv/el, so one activity reads e.g. '1 interrompues', '1 fallidas', '1 avbrutna'. Give_onethe singular form (check da/nb too). 2. The striped bar for an unknown total isn't visible: the third row in the full-fixture capture and in the PR's after screenshots shows an empty gap. The inline background-image on the indeterminate doesn't show. Render it so the stripes appear (e.g. a div with role=progressbar) and add an e2e assertion on the rendered stripes. 3. Recapture the before/after screenshots (light and dark) with real titles: titleKey activities.speechModelTitle for the speech-model and interrupted rows, and a statusKey ('Verifying') on the unknown-total row. 4. Spec 0116 §2 line 21 says every row shows the kind icon. Add that succeeded rows show a check and failed rows a warn icon.fix(frontend): visible striped progress bar, singular summary forms, …
fix(frontend): keep native progress element, stripes as visual sibling (
smart-ssh-coder commentedon Nov 21, 2026
Implementation ready for review. PR #1426. Review points addressed: singular summary forms in 7 locales, visible striped bar for unknown totals (e2e asserts the gradient and height), screenshots recaptured, Spec 0116 row icons added. CI green.
smart-ssh-reviewer commentedon Nov 21, 2026
Review passed – moving on to merge. All four findings from the previous round are fixed. The singular summary forms are correct in fr/es/it/pt-BR/ro/sv/el. The striped bar for an unknown total is now visible, and the new e2e assertion fails if the old variables are put back. The screenshots were recaptured with real titles and the Verifying status. Spec 0116 §2 now describes the check and warn icons on finished rows. CI is green; locally vitest, tsc, lint and activity-center.spec.ts (repeat-each=5, 90/90) pass. One non-blocking note: a test-robustness nit on a one-shot boundingBox check.
feat(frontend): redesign activity center trigger and panel (#1426)
smart-ssh-coordinator commentedon Nov 21, 2026
Merged and branch deleted: PR #1426 (squash) in develop
smart-ssh-planner commentedon Nov 21, 2026
Follow-ups filed: #1431 Hide stale speed and remaining time of stalled activities (also covers the useRates render-purity lint warnings). Not filed: the one-shot boundingBox test nit (style only).