Skip to content

feat(compare): PR3 — grid-of-lanes with labelled pills and mobile cards [clean]#34

Merged
BunsDev merged 1 commit into
mainfrom
clean/overhaul-compare
Jul 7, 2026
Merged

feat(compare): PR3 — grid-of-lanes with labelled pills and mobile cards [clean]#34
BunsDev merged 1 commit into
mainfrom
clean/overhaul-compare

Conversation

@BunsDev

@BunsDev BunsDev commented Jul 7, 2026

Copy link
Copy Markdown
Member

Replaces the fragile table with a CSS-grid of independently-expandable lanes: labelled Yes/Limited/No pills (colourblind-safe), always-visible takeaways, a continuous Coven rail, and a real stacked-card mobile layout. Stacked on the quickstart PR.


Clean re-cut of the section overhaul: a concurrent session had interleaved two commits (px→rem conversion, multi-screen support) into the original stack (#26#31). Rebuilt in an isolated worktree with only my six signed commits. Supersedes the original PR.

🤖 Generated with Claude Code

Replace the fragile <table> + single shared detail with a CSS-grid
pseudo-table of independently-expandable capability lanes.

- Verdict pills (Yes / Limited / No) replace the ambiguous circular
  marks; colourblind-safe via distinct text + border-style, not hue.
- Every lane shows an always-visible one-line takeaway, so rows have
  identity before any click; each lane expands its own deep-dive
  (multi-open accordion via an animated grid-rows disclosure).
- The Coven column is one continuous highlighted "best fit" rail.
- At <=720px the matrix reflows into real stacked capability cards
  (option labels become visible, Coven row tinted) — not a shrunk table.
- Keeps the arrow-key nav; frame uses the shared .panel; focus ring
  unified via --oc-focus-ring.

Note: the disclosure rule keys off the external .js-on class, which
Astro would otherwise scope to the component — wrapped in :global(.js-on)
so it matches <html>.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 7, 2026 05:53
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coven Ready Ready Preview Jul 7, 2026 5:53am
coven-landing Ready Ready Preview Jul 7, 2026 5:53am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refactors the landing page “Compare” section from a single-selected <table> to a CSS-grid “lanes” layout where each capability can expand independently, with labeled Yes/Limited/No pills and a stacked-card mobile presentation.

Changes:

  • Replaces the table-based comparison matrix with a CSS grid “pseudo-table” composed of independently expandable lanes.
  • Introduces per-lane always-visible takeaways and labeled verdict pills (Yes/Limited/No), including a highlighted Coven “rail” column.
  • Updates client-side behavior to manage independent expand/collapse plus keyboard navigation across lane toggles.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +132 to 136
function setOpen(btn, open) {
const detail = document.getElementById(btn.getAttribute('aria-controls'));
btn.setAttribute('aria-expanded', open ? 'true' : 'false');
if (detail) detail.classList.toggle('is-open', open);
}
Comment on lines +106 to +109
<div class:list={["cmp-cell", { "is-coven": c.highlight }]}>
<span class="cmp-opt">{c.label}</span>
<span class={`cmp-pill is-${v}`} aria-label={`${c.label} — ${verdict[v]}`}>{verdict[v]}</span>
</div>
@BunsDev
BunsDev changed the base branch from clean/overhaul-quickstart to main July 7, 2026 06:19
@BunsDev
BunsDev merged commit f0f6748 into main Jul 7, 2026
3 checks passed
@BunsDev
BunsDev deleted the clean/overhaul-compare branch July 7, 2026 11:34
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