ui: detail page redesign, dashboard polish, shared timeline#76
Merged
Conversation
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
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ReservationDetailPageandSwapDetailPageand extracted a sharedTimelinecomponent for consistent lifecycle visualisation.EventFeed/SwapTracker/ReservationsTrackerstyling, refreshedMinerRatesTablerows, and matching skeletons.testbranch (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
ACTIVE,INITIATED,EXPIRED,CANCELLED.ACTIVE,FULFILLED,COMPLETED,TIMED_OUT.