Skip to content

ui: detail page redesign, dashboard polish, shared timeline#76

Merged
entrius merged 6 commits into
testfrom
ux-changes
May 5, 2026
Merged

ui: detail page redesign, dashboard polish, shared timeline#76
entrius merged 6 commits into
testfrom
ux-changes

Conversation

@anderdc
Copy link
Copy Markdown
Collaborator

@anderdc anderdc commented May 5, 2026

Summary

  • Redesigned ReservationDetailPage and SwapDetailPage and extracted a shared Timeline component for consistent lifecycle visualisation.
  • Dashboard polish: tighter EventFeed / SwapTracker / ReservationsTracker styling, refreshed MinerRatesTable rows, and matching skeletons.
  • Picked up the latest test branch (PR Dashboard: tidy Active Rates toolbar + collapse Depth of Market to one direction #75 — Active Rates toolbar + Depth of Market single-direction refactor) via merge.

Test plan

  • Dashboard renders without regressions (Active Rates toolbar, Depth of Market, Live Events, Transactions, Reservations).
  • Reservation detail page renders timeline + metadata correctly across ACTIVE, INITIATED, EXPIRED, CANCELLED.
  • Swap detail page renders timeline + metadata across ACTIVE, FULFILLED, COMPLETED, TIMED_OUT.
  • Light + dark themes both look right.

anderdc and others added 6 commits May 4, 2026 21:14
Reservation + swap detail pages: lead with the trade summary
(`X TAO → Y BTC`), drop redundant cards, comma-format block numbers,
rename "Reserved until" → "Window: A → B", merge swap Transactions /
User-sends / User-receives into a single Flow card with the tx hash
sitting next to its own leg. Render the swap's terminal Completed row
with a green ✓ and the Timeout row with a red ✗ — only the terminal
row carries semantic color, intermediate "done" rows stay neutral.
Hide Completed on timed-out swaps and Timeout on completed swaps.

Shared Timeline component: lift `<TimelineStep>` + `<SectionTitle>`
into src/components/Timeline.tsx so both detail pages render their
lifecycle stepper from the same source. Reservation timeline now
matches the swap timeline visually (unicode glyphs, matching
typography). Optional `color` prop is the escape hatch for the swap's
terminal-row green/red.

Tooltip overhaul: global MuiTooltip styleOverride to a paper-style
look (pure surface, regular weight, no shadow, sharp corners) so it
stops looking "cheap"; drop the bold `What is this?` preamble in all
four dashboard info tooltips; remove `cursor: help` from
OrderbookDepth column headers; CopyableAddress tooltip stays
single-line (`whiteSpace: nowrap`, `maxWidth: none`).

CopyableAddress click fix: handler calls preventDefault +
stopPropagation so clicking an address inside a `<RouterLink>` card
copies without navigating. Renders UID + truncated hotkey
side-by-side in the reservation Miner row instead of feeding the
concatenation through the address middle-truncator.

Dashboard polish: ReservationsTracker now renders a skeleton (was a
plain "Loading…" line) — every dashboard component has a skeleton.
All inner dashboard cards consistently use `surface.light` for their
bg (was a mix of `background.paper` / transparent), so dark mode
isn't erratic between black and grey cards. Detail-page Cards keep
`background.paper` (woodsmoke in dark) intentionally.

Surface tones: lighten light-mode card surface from BRAND.gray
(#eef0f3, also the border tone) to a dedicated #f4f6f8 so cards stop
sharing tone with borders. Mirror in dark mode by pulling
surface-light from 92/8 woodsmoke/white (#1d1f20) to 96/4 (#131517)
so cards integrate with bg instead of stamping on top.

Semantic terminal colors: introduce `--color-success` (#15803d) and
`--color-danger` (#b91c1c). Used only on terminal "finality" rows
(swap detail timeline + status chip) and on the dashboard transaction
list's COMPLETED / TIMED_OUT status text. Not wired into
`--color-status-completed`/`--color-status-timed-out` so reservation
timelines and other "done" states stay neutral. Dashboard progress
bar stays a single neutral grey regardless of status.
# Conflicts:
#	src/components/dashboard/OrderbookDepth.tsx
@entrius entrius merged commit 5579cfd into test May 5, 2026
@entrius entrius deleted the ux-changes branch May 5, 2026 04:02
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.

2 participants