Skip to content

feat: implement asset detail activity timeline - #204

Open
apatafamilycompound123-ops wants to merge 7 commits into
Raegis-RWA:mainfrom
apatafamilycompound123-ops:feat/issue-59-implement-asset-detail-activity-timeline
Open

apatafamilycompound123-ops wants to merge 7 commits into
Raegis-RWA:mainfrom
apatafamilycompound123-ops:feat/issue-59-implement-asset-detail-activity-timeline

Conversation

@apatafamilycompound123-ops

Copy link
Copy Markdown

Overview

This PR adds an Asset Detail Activity Timeline that surfaces asset registration, minting, transfer, compliance, and admin activity in reverse-chronological order — with explicit empty/unavailable states, explorer links, and documentation of data source limitations. This supports admin auditing by providing a single chronological view of asset lifecycle events.

Related Issue

Closes #

Changes

📋 Asset Activity Timeline

  • [ADD] src/features/assets/components/AssetLifecycleTimeline.tsx

    • Renders asset registration, minting, transfer, compliance, and admin events in reverse-chronological order.
    • Handles loading, empty, and unavailable states with contextual empty/error messaging.
    • Adds explorer links for transactions, accounts, and assets where a source hash/account/asset is available.
    • Groups events by day and shows raw event metadata for admin auditing.
  • [ADD] src/lib/assetLifecycle.ts

    • Defines the AssetLifecycleEvent model for registration, minting, transfer, compliance, and admin events.
    • Maps normalized transaction records to timeline events with stable IDs, timestamps, source availability, and explorer URLs.
    • Provides reusable event type and date range filters for the timeline.
  • [MODIFY] src/features/assets/components/AssetCard.tsx

    • Embeds AssetLifecycleTimeline below static metadata on asset detail pages.
    • Passes asset metadata, transaction history, and optional compliance/admin records into the timeline.
  • [MODIFY] src/features/transactions/types.ts

    • Extends transaction types with compliance/admin categories and source availability flags.
  • [MODIFY] src/features/transactions/normalize.ts and src/features/transactions/filters.ts

    • Normalizes raw asset operations into timeline-compatible event records.
    • Adds filter helpers for event type, date range, and source availability.
  • [ADD] docs/asset-lifecycle-status.md

    • Documents on-chain, Horizon, compliance, and admin data sources for each event type.
    • Explains when the timeline shows empty vs unavailable states and how to extend data source coverage.

Verification Results

npm run typecheck
✅ Type-check passed

npm run lint
✅ Lint passed

Manual acceptance check:
✅ Timeline renders on asset detail pages
✅ Mint and transfer events sorted with correct labels
✅ Compliance and admin events appear when source data exists
✅ Empty and unavailable states shown with fallback text
✅ Explorer links resolve to Horizon / stellar.expert
Acceptance Criteria Status
Asset activity timeline is implemented ✅ Timeline rendered on asset detail pages
Minting and transfer activity can be represented ✅ Normalized from transaction/operation records
Compliance and admin events are included where available ✅ Sourced from compliance/admin feeds when present
Empty and unavailable states are handled ✅ Explicit empty and unavailable UI in place
Explorer links are supported ✅ Transaction/account/asset links open correctly
Docs explain data source limitations ✅ Documented in docs/asset-lifecycle-status.md

Closes #59

@apatafamilycompound123-ops

Copy link
Copy Markdown
Author

@Raegis-RWA Hi! This PR is open and ready for review — happy to address any feedback. Thanks!

@apatafamilycompound123-ops
apatafamilycompound123-ops force-pushed the feat/issue-59-implement-asset-detail-activity-timeline branch from d7ad4c1 to 005e9c7 Compare October 23, 2026 19:21
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.

Implement asset detail activity timeline

1 participant