Redesign repository management around registered repositories
Goal
Redesign the Repositories page as a repository-centered management workspace consistent with the Dashboard and the compact Jobs cards from #619 / PR #620.
User impact
- Make every registered repository discoverable, including repositories without linked jobs.
- Present repository identity and storage target first; linked jobs are supporting information, including multiple jobs where applicable.
- Reduce bold typography and replace oversized success panels with compact, meaningful maintenance results and timestamps.
- Preserve archives, maintenance, key recovery, and lifecycle management capabilities and their existing safeguards.
- Reuse the subtle status icons, navigation, count badges, and action styling established on the Jobs page.
First step
Compare interactive design alternatives before choosing and implementing the layout. Start a new feature branch from the current head of PR #620 (488ec2008546c6755f00a0dee69cc936b61de75c).
Scope and release notes
Keep the existing repository registry and API architecture. Audit job-dependent operations such as prune instead of assuming every action works without a linked job. The eventual implementation is user-visible and requires a release-note fragment; the initial design exploration does not change plugin code.
Selected design and maintenance details
The maintainer prefers separate repository cards with expandable details.
- Keep the card header, tabs, and following cards stable when switching between Overview, Archives, Maintenance, and Management. Size the shared detail area for its contents; do not clip content. Paginate long archive lists.
- Maintenance actions use the label Start (DE: Starten), preserving the existing confirmation and safety behavior.
- Each maintenance action shows its latest outcome, execution scope, timestamp, and duration. Prune includes removed archive names when recorded.
- Compact shows the space reclaimed as reported by Borg. The existing maintenance result already stores freed_space. Distinguish an explicitly reported zero from a missing historical value; never infer zero from missing data.
- Keep repository deletion and deregistration blockers for linked jobs or active operations, and retain key recovery functionality.
User-test follow-up
- Add exact storage-target dividers and Jobs-style left disclosures.
- Reuse consistent linked-job icons, with repository-type fallback for mixed/unassigned repositories.
- Surface missing Borg key exports on collapsed cards.
- Keep cached repository metrics separate from mount/reachability observations. Unmounted SMB/USB targets controlled by pre/post scripts are normal, neutral states and do not block actions. No target probes or automounting on page load.
- Persist bounded, masked execution details for successful maintenance; request verbose Check/Compact output and recognize zero bytes.
- Hide archive IDs from the visible list while retaining internal identity for guarded operations.
Approved final layout and archive browsing
- Match Jobs typography with bold repository names/filter/group labels and normal-weight metadata.
- Use four aligned columns: Repository, Storage target (including transport), Linked jobs ("Jobs: Appdata, Flash"), and Archive data (count, used space, cached-data timestamp).
- Remove repository search and generic reachability/mount badges; keep concrete action outcomes and missing key-export warnings visible.
- Keep archive list/browser geometry and navigation buttons stable when opening/closing an archive or browsing large, small, empty, loading, or failed folder results. Scroll long contents within the pane.
Implemented in PR #622.
- Final commit:
ff037b2eebbdc93d719d04b019c996fdd3ee4c0d. - Final preflight: 1864 passed, 9 skipped, 1 warning in 542.11s (0:09:02).
- Focused checks: 79 passed, plus 23 localization/browser checks after explicit translation-key correction; real-browser checks cover DE/EN, desktop/mobile, column alignment, actionable notices, stable detail tabs, archive paging and folder geometry, lifecycle protections, and maintenance evidence.
- Verified test-channel candidate:
2026.10.28.1331(snapshot8e0de3fb825a9d5d4fb77a7baa4cb9716af1852d). - Published manifest version, plugin/package URLs, single-package snapshot, MD5, and embedded source provenance verified.
- Waiting for maintainer testing. No stable release artifacts or promotion; stable approval remains deferred until explicit user test approval.