Overnight recapPro
A catch-up card for when you come back: a tiny timeline of the night with a spike per event, then grouped items – waiting on you, broken, finished – each with its action in place.
oxyn add overnight-recapWhile you were away
Since 6:40 PM13h 30mThe preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- A catch-up card for when you come back: a tiny timeline of the night with a spike per event, then grouped items – waiting on you, broken, finished – each with its action in place.
When not to use
- An agent asks before it acts: use Approval Card instead.
- Several open requests in one card: use Approval pager instead.
- An agent's question in its own card above the composer: use Decision Card instead.
Installation
Overnight recap is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add overnight-recapUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Default
The night replays – the line draws itself, a dot pops onto each peak and its card fades in as the line passes; Approve, Merge and Retry work for a moment, then settle with Undo.
While you were away
Since 6:40 PM13h 30mCode Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Pointed
Pointing at an event: a crosshair, the dot grows and a dark tooltip with its time; the card lights up too.
While you were away
Since 6:40 PM13h 30m- Refund $180 to NorthwindSupport agent · charged twice in March1:50 AM
- Merge the login fixAll 186 tests pass · needs a reviewer4:15 AM
- Calendar sync to the CRMToken expired after 1,480 of 2,000 contacts2:40 AM
- Replied to support ticketsfirst answer within 3 min417:20 PMDone
- Closed stale pull requestsnone touched in 60 days79:05 PMDone
- Sorted the new issues5 flagged urgent1911:10 PMDone
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Acted
After acting: the refund approved, the sync fixed, and one done card undone with Redo.
While you were away
Since 6:40 PM13h 30m- Refund $180 to NorthwindSupport agent · charged twice in March1:50 AMApproved
- Merge the login fixAll 186 tests pass · needs a reviewer4:15 AM
- Calendar sync to the CRMToken expired after 1,480 of 2,000 contacts2:40 AMFixed
- Replied to support ticketsfirst answer within 3 min417:20 PMDone
- Closed stale pull requestsnone touched in 60 days79:05 PMUndone
- Sorted the new issues5 flagged urgent1911:10 PMDone
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Narrow
Under 640 px the three lanes stack.
While you were away
Since 6:40 PM13h 30m- Refund $180 to NorthwindSupport agent · charged twice in March1:50 AM
- Merge the login fixAll 186 tests pass · needs a reviewer4:15 AM
- Calendar sync to the CRMToken expired after 1,480 of 2,000 contacts2:40 AM
- Replied to support ticketsfirst answer within 3 min417:20 PMDone
- Closed stale pull requestsnone touched in 60 days79:05 PMDone
- Sorted the new issues5 flagged urgent1911:10 PMDone
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Classic
Classic style: the chart in its own panel, lanes without a background, solid primary buttons.
While you were away
Since 6:40 PM13h 30m- Refund $180 to NorthwindSupport agent · charged twice in March1:50 AM
- Merge the login fixAll 186 tests pass · needs a reviewer4:15 AM
- Calendar sync to the CRMToken expired after 1,480 of 2,000 contacts2:40 AM
- Replied to support ticketsfirst answer within 3 min417:20 PMDone
- Closed stale pull requestsnone touched in 60 days79:05 PMDone
- Sorted the new issues5 flagged urgent1911:10 PMDone
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
OvernightRecap
| Prop | Type | Default | Description |
|---|---|---|---|
events | Option<Vec<RecapEvent>> | Default::default() | Your own events (the demo's when `None`). |
since | u32 | RECAP_SINCE | When the person left (minutes after midnight). |
span | u32 | RECAP_SPAN | How long they were away (minutes). |
title | String | "While you were away" | Heading. |
replay | u64 | RECAP_REPLAY_MS | Replay the night when it opens (ms; 0 shows everything at once). |
acted | Vec<String> | Default::default() | Cards that start acted on (ids): needs / failed show their done label, done ones Undone. |
point | String | Default::default() | An event pointed at from the start (its tooltip and lit card). |
limit | usize | 3 | Cards per lane the lanes keep room for. |
nowrequired | ClockMs | — | The clock. |
style | String | Default::default() | `clean`, `classic`, or empty to follow `data-cstyle`. |
on_action | EventHandler<(String, String)> | — | The main action or Review: (event id, `primary` / `review`). |
on_undo | EventHandler<String> | — | Undo (event id). |
on_redo | EventHandler<String> | — | Redo (event id). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Through each card's buttons, lane by lane; focusing a card lights its dot |
| EnterorSpace | Runs the focused action, Undo or Redo |
Accessibility
- Each lane is a labelled section with its cards as a list; the chart is decorative and the summary says the counts in words.
- While an action works its buttons are disabled and the row says Working…; the result and every undo are announced.
- State is never colour alone: lanes are named, tags say Done, Approved, Fixed or Undone.
Responsive behaviour
- 804 px up to its container.
- Under 640 px the three lanes stack and stop reserving room for three cards.
Edge cases (spec)
Under 640 px the lanes stack and stop reserving room for three cards.
Notes for AI
- Import
OvernightRecapfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
OvernightRecapElinoxyn_gpui. - Props to set first:
now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.