Skip to content

feat(dashboard): restore primitives grid, comparison table, API surface#356

Merged
duyet merged 2 commits into
mainfrom
claude/w13-landing-content
Jul 17, 2026
Merged

feat(dashboard): restore primitives grid, comparison table, API surface#356
duyet merged 2 commits into
mainfrom
claude/w13-landing-content

Conversation

@duyet

@duyet duyet commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

PR #339 (shadcn redesign) rebuilt the landing page on the landing-page11 structure and dropped three content blocks that weren't preserved anywhere else. All three were recovered from ce9a1fa^:packages/dashboard/src/pages/index.astro (the pre-#339 tree) and restyled for the current shadcn token system rather than pasted back verbatim.

Closes #354

Where each block landed, and why

  • Five-primitives grid (state, lease, claim, token, conversation) → landing page, new section right after the hero. This is core product identity, not supplementary content — the current feature grid had quietly stopped mentioning three of the five primitives (state, lease, claim never appear at all), even though they're still live in the API (see permissionScopes in docs.astro: state:read, state:write, lease:write, claim:write). Restyled with bg-card / border-border / hover:bg-muted to match the PR feat(dashboard): shadcn/ui redesign — landing page, dashboard spacing, chat components #339 system; kept --color-accent for the CTA link per the "accent is brand vermilion, not shadcn hover" rule.
  • Memory-vs-AgentState comparison tablenew /compare page. This is "why choose us" content that doesn't fit the trimmed shadcnblocks landing structure, but is valuable enough to deserve a permanent, linkable home rather than being buried. Linked from the header nav, footer "Product" list, and a callout in the new primitives section ("Why not just memory? → Compare").
  • API-surface endpoint tabledocs.astro, new "API surface" section in the Reference group (before Conversations). This is developer reference material, so it belongs in the docs where people already look for endpoint tables. Reuses the existing methodColor() helper and <ul>/<li> endpoint-list pattern already used by the Conversations/Analytics sections in that file, rather than reintroducing the old <table> markup — docs.astro wasn't touched by feat(dashboard): shadcn/ui redesign — landing page, dashboard spacing, chat components #339 and still uses the pre-shadcn token names (fg, edge, panel), so the new section matches that file's existing conventions instead of mixing token systems within one file.

Not in scope: the dropped 6th "Workers AI Durable Object" code-tab example mentioned in the issue as context — the issue's actual "Fix:" only calls out the three content blocks, and re-adding a 6th CodeTabs example is a separate, larger change (needs its own copy review). Flagging it here in case it should be a follow-up.

Test plan

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @duyet, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@duyet, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 32 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8fa67013-18c4-437e-9b6a-5ce7a75748e5

📥 Commits

Reviewing files that changed from the base of the PR and between 5e6abe4 and b2b417b.

📒 Files selected for processing (4)
  • packages/dashboard/src/layouts/MarketingLayout.astro
  • packages/dashboard/src/pages/compare.astro
  • packages/dashboard/src/pages/docs.astro
  • packages/dashboard/src/pages/index.astro
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/w13-landing-content

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

duyet and others added 2 commits July 17, 2026 09:09
PR #339 (shadcn redesign) dropped three content blocks from the landing
page that existed nowhere else: the five-primitives grid, the
memory-vs-AgentState comparison table, and the API-surface endpoint
table. Recover and restyle them for the new shadcn token system instead
of letting them stay lost in history.

- Landing page: add a "Five primitives" section (state, lease, claim,
  token, conversation) restyled with bg-card/border-border/hover:bg-muted,
  since the current feature grid had silently stopped mentioning three
  of the five core primitives.
- New /compare page: houses the memory-vs-AgentState comparison table,
  linked from header nav, footer, and the new primitives section.
- docs.astro: add an "API surface" reference section reusing the
  existing endpoint-list pattern and methodColor() helper already in
  that file, matching its (pre-#339) token conventions.

Closes #354

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
Rebase fixup after #355 landed src/lib/site.ts (single source of truth
for the site origin, replacing hardcoded https://agentstate.app).
The new "API surface" section added by this branch had one hardcoded
URL in its footer note; switch it to API_BASE_URL to match every other
occurrence in docs.astro.

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
@duyet
duyet force-pushed the claude/w13-landing-content branch from 10e6dbb to b2b417b Compare July 17, 2026 02:12
@duyet
duyet merged commit f5f811f into main Jul 17, 2026
6 checks passed
@duyet
duyet deleted the claude/w13-landing-content branch July 17, 2026 03:40
duyet added a commit that referenced this pull request Jul 17, 2026
PR #356 restored the comparison page (compare.astro) but the sitemap
drift check added in #358 fails CI because /compare is missing from
sitemap.xml. Add the entry so main + dependents go green.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
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.

[dashboard] Relocate landing-page content dropped by shadcn redesign (primitives grid, comparison table, API surface table)

1 participant