Skip to content

feat(audit-trail): add lock lifecycle and countdown tracking#196

Draft
alexruzenhack wants to merge 1 commit into
feat/audit-trail-summaryfrom
feat/audit-trail-lifecycle
Draft

feat(audit-trail): add lock lifecycle and countdown tracking#196
alexruzenhack wants to merge 1 commit into
feat/audit-trail-summaryfrom
feat/audit-trail-lifecycle

Conversation

@alexruzenhack
Copy link
Copy Markdown
Contributor

@alexruzenhack alexruzenhack commented May 19, 2026

Description of change

Audit Trails can have specific locking configurations (e.g., Time-Locked until a specific date, or Permanently Locked). This PR introduces the UI to visualize these states.

Key Features and Changes

  • Countdown Hook: Added useCountdownFormatted to handle real-time expiration text (e.g., "2d 4h remaining").
  • Lock Cards: Implemented TimeLockCard and LockingWindowCard to display the current locking status cleanly to the user.

Screenshot

Screenshot 2026-05-21 at 17 13 48

@alexruzenhack alexruzenhack requested a review from a team as a code owner May 19, 2026 16:28
@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rebased-explorer Error Error May 21, 2026 4:54pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
apps-ui-kit Ignored Ignored Preview May 21, 2026 4:54pm
iota-evm-bridge Skipped Skipped May 21, 2026 4:54pm
iota-multisig-toolkit Skipped Skipped May 21, 2026 4:54pm
iota-names Skipped Skipped May 21, 2026 4:54pm
wallet-dashboard Skipped Skipped May 21, 2026 4:54pm

Request Review

@vercel vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 19, 2026 16:29 Inactive
@vercel vercel Bot temporarily deployed to Preview – wallet-dashboard May 19, 2026 16:29 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-names May 19, 2026 16:29 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-evm-bridge May 19, 2026 16:29 Inactive

useEffect(() => {
if (isPast) return;
const interval = setInterval(() => setNow(Date.now()), 60_000);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer Comment: A 60-second interval is used here to avoid unnecessary re-renders, as the highest granularity displayed is minutes.

@alexruzenhack alexruzenhack marked this pull request as draft May 19, 2026 17:57
@alexruzenhack alexruzenhack force-pushed the feat/audit-trail-summary branch from 5f08bf2 to 591f9f8 Compare May 21, 2026 16:07
@alexruzenhack alexruzenhack force-pushed the feat/audit-trail-lifecycle branch from 0cd2629 to 93de1ae Compare May 21, 2026 16:21
@vercel vercel Bot temporarily deployed to Preview – iota-evm-bridge May 21, 2026 16:21 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-names May 21, 2026 16:21 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 21, 2026 16:21 Inactive
@vercel vercel Bot temporarily deployed to Preview – wallet-dashboard May 21, 2026 16:21 Inactive
@alexruzenhack alexruzenhack force-pushed the feat/audit-trail-summary branch from 591f9f8 to d95a58a Compare May 21, 2026 16:50
@alexruzenhack alexruzenhack force-pushed the feat/audit-trail-lifecycle branch from 93de1ae to 1539ce9 Compare May 21, 2026 16:53
@vercel vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 21, 2026 16:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-names May 21, 2026 16:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – iota-evm-bridge May 21, 2026 16:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – wallet-dashboard May 21, 2026 16:53 Inactive
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