Skip to content

feat(host-detail): live Activity tab (host-scoped feed) (Phase 2a)#618

Merged
remyluslosius merged 1 commit into
mainfrom
feat/host-activity-tab
Jun 20, 2026
Merged

feat(host-detail): live Activity tab (host-scoped feed) (Phase 2a)#618
remyluslosius merged 1 commit into
mainfrom
feat/host-activity-tab

Conversation

@remyluslosius

Copy link
Copy Markdown
Contributor

Phase 2a of the activity readability initiative (docs/engineering/activity_readability_plan.md) — finish a deferred host-detail stub.

The host-detail Activity tab was a stub, so the Recent-activity card's
"View all" link dead-ended. It now mounts HostActivityTab — the
host-scoped unified feed (GET /api/v1/activity?host_id=X):

  • Cursor pagination via useInfiniteQuery + a Load more control.
  • Source filter chips: All / Monitoring / Compliance / Intelligence / Alert
    (Audit omitted — audit has no host_id, so a host-scoped audit filter is
    empty by design).
  • Reuses the shared ActivityRow + eventDisplay rendering (Phase 0/1).

Activity joins Compliance/Remediation as a live tab (removed from the
TAB_BACKEND_SUBSYSTEM stub registry), mirroring the exact precedent when
Compliance went live.

Audit log tab stays a stub for now: a host-scoped audit view needs backend
resource=host filtering, which lands in Phase 2b along with the
keep-vs-drop decision for that tab and the per-id detail endpoints.

Verified live on owas-tst01: the Activity tab renders the paginated feed
with working filter chips.

Spec frontend-host-detail v1.7.0 (AC-43). Full frontend suite (320) +
specter (111, incl. structural coverage) green.

frontend-host-detail v1.7.0 (AC-43). Phase 2a of the activity readability
initiative (docs/engineering/activity_readability_plan.md).

The host-detail Activity tab was a deferred stub, so the Recent-activity
card's 'View all' link dead-ended. It now mounts HostActivityTab — the
host-scoped unified feed at GET /api/v1/activity?host_id=X with cursor
pagination (useInfiniteQuery + Load more), source filter chips
(All/Monitoring/Compliance/Intelligence/Alert), and the shared ActivityRow
+ eventDisplay rendering. Activity joins Compliance/Remediation as a live
tab (removed from the TAB_BACKEND_SUBSYSTEM stub registry), mirroring the
exact precedent set when Compliance went live.

The Audit log tab stays a stub for now: audit events carry no host_id, so a
host-scoped audit view needs backend resource=host filtering (Phase 2b),
which is also where the keep-vs-drop decision for that tab is made.

Verified live: the owas-tst01 Activity tab renders the paginated feed with
working filter chips. Full frontend suite (320) + specter (111) green.
@remyluslosius remyluslosius merged commit fa2ac15 into main Jun 20, 2026
13 checks passed
@remyluslosius remyluslosius deleted the feat/host-activity-tab branch June 20, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant