feat(console): Index calendar pane and 10DLC interrupt copy - #208
feat(console): Index calendar pane and 10DLC interrupt copy#208Travis-Gilbert wants to merge 1 commit into
Conversation
Mount LifeCalendarPane on Index rules, add the calendar-window API route, and state the SMS/10DLC limitation in AgentAliasPane and the urgent-lane empty state. Co-authored-by: Travis Gilbert <Travis-Gilbert@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6fc7439d9b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| windowStart: '2026-08-18T00:00:00Z', | ||
| windowEnd: '2026-08-19T00:00:00Z', | ||
| events: DEFAULT_EVENTS, |
There was a problem hiding this comment.
Load the actual current calendar window
Every authenticated request sends the same two synthetic events for August 18, 2026, so the server only computes overlaps for fixture data rather than the user's owned-inbox events. Outside that fixed date, the pane labeled "Today and tomorrow" is also permanently stale; derive the current window and supply the authenticated calendar events instead.
Useful? React with 👍 / 👎.
| // SOURCING: none — Index calendar window for owned-inbox life_event overlap | ||
| // flags. No upstream component models this surface. |
There was a problem hiding this comment.
Register a source before adding this calendar surface
This explicitly introduces a hand-rolled surface with no upstream source or ledger entry, despite the console constitution requiring every visual and behavioral need to resolve to a named ledger row before implementation. Add the calendar need and its source to the ledger, then adapt that source for this pane.
AGENTS.md reference: apps/console/AGENTS.md:L87-L91
Useful? React with 👍 / 👎.
| @@ -0,0 +1,127 @@ | |||
| 'use client'; | |||
|
|
|||
| // SOURCING: none — Index calendar window for owned-inbox life_event overlap | |||
There was a problem hiding this comment.
Replace the prohibited em dash
The em dash in this comment violates the console's explicit writing rule, which applies to code comments as well as UI strings and Markdown; replace it with one of the permitted punctuation marks.
AGENTS.md reference: apps/console/AGENTS.md:L175-L178
Useful? React with 👍 / 👎.
| <YourDataEntry host={host} returnSurfaceId="console-index" compact /> | ||
| {content} | ||
| <AgentAliasPane /> | ||
| <LifeCalendarPane /> |
There was a problem hiding this comment.
Register the calendar as its own surface descriptor
Mounting LifeCalendarPane directly inside index.rules prevents the calendar from having its own registered descriptor and seeded surface region, so the host cannot independently address, persist, or rearrange this new product surface. Register it in the view registry and surface seed instead of embedding it in the rules renderer.
AGENTS.md reference: apps/console/AGENTS.md:L159-L164
Useful? React with 👍 / 👎.
| No events in this window. | ||
| </p> | ||
| ) : ( | ||
| <ul data-life-calendar-list> |
There was a problem hiding this comment.
Make the calendar event list scrollable
When a real two-day window contains more rows than the remaining rules-dock height, this list has no constrained height or overflow scrolling. IndexRulesView has a fixed-height flex container and the surrounding ToolWindow and BlockShell use overflow-hidden, so later calendar events are clipped and cannot be reached; give the calendar pane a bounded flex body with vertical scrolling.
Useful? React with 👍 / 👎.
Companion to Theorem
cursor/agent-address-correction-68d6(agent-address correction plan AA-03 / AA-05 UI).What landed
LifeCalendarPaneon Index rules (Today and tomorrow) with overlap flags.POST /api/agent-address/calendar-window→ harnesslifeCalendarWindow.Not claimed
Felt H/D (AA-08) still needs live Resend, Twilio, Google OAuth, and registrar DNS. This PR is console copy and the Index calendar surface only.
gate:sourcingpassed on the console tree.