Skip to content

Unify activity timeline loading and surfaces - #722

Merged
sudomaggie merged 3 commits into
developfrom
dev/unify-activity-timeline-surfaces
Aug 6, 2026
Merged

Unify activity timeline loading and surfaces#722
sudomaggie merged 3 commits into
developfrom
dev/unify-activity-timeline-surfaces

Conversation

@Harry19081

@Harry19081 Harry19081 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Problem

Issue, pull-request, work-item, and human-session timelines mix generic spinner placeholders with timeline cards whose entire surface uses the header fill. Markdown preview fades can also blend into the wrong background when a card body sits on the chat pane.

Solution

Add one accessible, text-free timeline loading skeleton and use it for issue and PR activity loading. Match timeline card bodies to the surrounding chat pane while retaining the primary-container fill on headers, and let MarkdownContent receive the correct fade origin from each host surface. Export the skeleton through the shared timeline component boundary. The develop integration preserves the dedicated PR review modal while removing the obsolete placeholder import.

Potential risks

Changing the card body surface affects every TimelineCard consumer, including Human Sessions. Automated tests cover the shared behavior and the merged review-composer integration, but manual contrast review across themes was not run because desktop UI control was not authorized. Callers that omit fadeFrom retain the existing primary-container default.

Audit

Frontend UI audit: 0 fixes recommended, 6 keep-with-reason decisions, and 1 typography abstraction candidate deferred to a dedicated repository sweep. The report is included at docs/frontend-ui-audit-2026-08-06/UnifiedTimelineSurfaces.md.

Verification

  • pnpm vitest run src/features/HumanSession/HumanSessionView.test.ts src/modules/shared/components/ActivityTimeline/ActivityTimeline.test.ts src/modules/WorkStation/CodeEditor/Panels/EditorPrimarySidebar/content/PullRequestContent/detail/PrConversationTab.test.ts — passed (18 tests across 3 files).
  • ESLint on all changed TypeScript/TSX implementation and test files — passed.
  • pnpm typecheck — passed.
  • Pre-commit scoped TypeScript check — passed.
  • Pre-commit Cargo clippy for org2 and orgtrack_core — passed.
  • git diff --cached --check — passed before commit.
  • Manual desktop verification was not run because local UI control was not authorized for this task.

@Harry19081
Harry19081 marked this pull request as ready for review August 6, 2026 13:00
beruro and others added 2 commits August 6, 2026 21:10
…-timeline-surfaces

# Conflicts:
#	src/modules/WorkStation/CodeEditor/Panels/EditorPrimarySidebar/content/PullRequestContent/detail/PrConversationTab.tsx
@sudomaggie
sudomaggie merged commit bbc207c into develop Aug 6, 2026
2 of 3 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.

3 participants