Skip to content

feat(web): show Activity on one page without tabs - #20

Merged
bwees merged 3 commits into
mainfrom
feat/activity-one-page
Nov 29, 2026
Merged

bwees merged 3 commits into
mainfrom
feat/activity-one-page

Conversation

@bwees

@bwees bwees commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Replaces the six Activity tabs with one page (mockup A).

Main column

  • Needs you: imports that need mapping or failed, failed GPU jobs, and a row when files wait for a capable agent. Anchored at #needs-you; the re-grab warning's "View the release" now links there instead of ?tab=imports.
  • Downloads: compact table, switching to cards based on container width.
  • GPU work: running jobs. The queue opens in a side sheet; skipped counts sit in a popover.

Right rail (stacks below the main column under xl)

  • Throughput: total download and upload speed with two-minute sparklines.
  • Agents: compact rows showing busy / total slots, counted the way the scheduler counts them. Rows link to /activity/agents, which keeps the full cards.
  • Recent: the 5 newest history entries. Full history opens in a side sheet.
  • Blocklist: a count that opens a side sheet.

File managers see Throughput and Downloads only.

Server

  • Each download reports uploadBps from qBittorrent's upspeed, on both the downloads list and DownloadProgressed.
  • Seeding retirement now publishes DownloadRemoved, so the page drops a retired torrent. The page also reloads on that event.
  • JobProgressed now carries prefetched. Promoting a prefetched job emits no event, so this is how the page learns the job now takes a slot.

Other

  • ActivityBoard holds the managers, the open sheet and throughput sampling.
  • AgentsManager.watch takes the narrower live type the other managers use.
  • The unused queued/failed tab state is removed from GpuJobsManager.
  • The UX spec is updated.

Testing

  • pnpm check, pnpm lint, vitest (371 pass), and go test plus golangci-lint on the changed packages all pass.
  • New screen snapshots: activity and activity-history.
  • Several existing screen tests already fail on main: the fake API has no route for GET /api/access/titles/*, which title pages call. This PR doesn't change that.
  • Sol review: approved after 3 rounds. Five findings were fixed in 352436d.

@bwees
bwees merged commit feb2c90 into main Nov 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant