Skip to content

Frontend platform: add reusable timeline component for transaction and event history #479

@CMI-James

Description

@CMI-James

Background

The app could reuse a single timeline visual for transaction history, event streams, and future audit-style views instead of duplicating list treatments.

Feature Focus

Shared timeline component

Where to Implement (Exact Targets)

  • frontend/src/components/v1/TxStatusPanel.tsx
  • frontend/src/components/v1/ContractEventFeed.tsx
  • frontend/src/index.css
  • frontend/tests/components/v1/ContractEventFeed.test.tsx

What to Implement

  • Add a reusable timeline component or composition pattern.
  • Support status, timestamp, and metadata slots.
  • Keep the component suitable for both compact and detail-rich history views.

Interface / Endpoint / Method Details

  • The timeline should remain expressive without becoming visually noisy.
  • API design should avoid over-specializing to a single use case.
  • Accessibility semantics should remain intact for ordered historical content.

Acceptance Criteria

  • Implementation is complete in the specified files/modules.
  • Behavior is reachable through the intended route, component, or contract method.
  • Existing unaffected behavior remains stable.
  • Code quality checks pass for the touched subsystem.

Required Tests

  • Add tests for timeline item rendering, ordering, and adaptation across at least two current use cases.

Definition of Done

  • PR includes implementation, tests, and any necessary docs updates.
  • Reviewer can verify behavior directly from code and tests without assumptions.

Metadata

Metadata

Assignees

Labels

FrontendFrontend functionality workMediumMedium priorityStellar WaveStellar Wave initiativeenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions