Skip to content

Refresh pricing page design#668

Merged
riderx merged 12 commits into
mainfrom
codex/pricing-page-redesign-fresh
May 10, 2026
Merged

Refresh pricing page design#668
riderx merged 12 commits into
mainfrom
codex/pricing-page-redesign-fresh

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 10, 2026

Summary

  • Simplify the top pricing cards into cleaner Expo-style columns and tighten the card spacing
  • Add a grouped plan comparison table with highlighted key limits and links to credit pricing
  • Restyle Enterprise, credit pricing, premium support, and FAQ sections to match the new pricing page design
  • Add Enterprise contact avatars

Validation

  • bun run check
  • cd apps/web && NODE_OPTIONS=--max-old-space-size=16384 bunx astro check
  • Desktop/mobile browser review for pricing cards, credit pricing, Enterprise, and premium support sections

Summary by CodeRabbit

  • Style Updates

    • Redesigned pricing cards with adjusted spacing, reduced header/card heights, and cleaner layout
    • Simplified credit-type cards to uppercase labels without per-type icons
    • Pricing footer restyled and moved into a compact, bordered informational block
    • Conditional borders added between credit grid cells
    • Renamed a comparison label from “App logs” to “Device logs”
  • New Features

    • Comparison table rows can include clickable FAQ deep-links for select features
    • Updated Enterprise “Talk to our team” link to the enterprise inquiry page
  • Accessibility

    • FAQs given explicit anchors for direct linking and improved navigation

Review Change Stack

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 10, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Visual redesigns for pricing components and FAQ deep-linking: CreditPricing layout and grid simplified; Plans card spacing reduced; ComparePlans adds per-row faqHref with linked “?” icons; Faq.astro adds explicit ids for multiple FAQ sections.

Changes

Pricing Page Redesign

Layer / File(s) Summary
Container & Section Styling
apps/web/src/components/pricing/CreditPricing.astro, apps/web/src/components/pricing/Plans.astro
CreditPricing section header padding, card shape, and shadow styling updated; Enterprise CTA href updated; Plans card large-screen minimum height reduced and header row minimum height lowered.
Credit Grid & Card Redesign
apps/web/src/components/pricing/CreditPricing.astro
Credit type cards simplified to uppercase labels without per-type SVG icons. Grid cells use conditional class:list to add right borders based on typeIndex. Tier rows retain first/next/over boundaries and price/unit rendering.
Footer & Spacing Adjustments
apps/web/src/components/pricing/CreditPricing.astro, apps/web/src/components/pricing/Plans.astro
CreditPricing footer transitions to a bordered gray background block with updated spacing and typography. Plans component vertical spacing adjusted above price and includes sections.
ComparePlans: FAQ links
apps/web/src/components/pricing/ComparePlans.astro
CompareItem gains optional faqHref; several comparison rows now include faqHref. Feature label cell conditionally renders a linked “?” icon when present; “App logs” renamed to “Device logs”.
FAQ IDs
apps/web/src/components/pricing/Faq.astro
Added explicit id attributes to multiple <details> FAQ blocks (faq-mau-limit, faq-storage-limit, faq-bandwidth-limit, faq-annual-ach, faq-payment-methods, faq-credits).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Cap-go/website#649: Related updates to pricing UI components and introduction of Plan/Credit data and pricing helpers.

Poem

🐰 I hopped through grids and tidy cards today,
Borders whisper right where labels lay,
Anchors point to answers, small and bright,
Spacing trimmed so plans sit just right,
A little rabbit cheer for layout play!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Refresh pricing page design' directly matches the main objective of this pull request, which is to redesign and refresh the pricing page layout and styling across multiple components.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/pricing-page-redesign-fresh

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

@riderx riderx force-pushed the codex/pricing-page-redesign-fresh branch from 0e23c81 to aed5e9f Compare May 10, 2026 20:07
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/web/src/components/pricing/Plans.astro (1)

87-100: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Add an aria-live region for price/billing text updates.

This block is updated dynamically, but there is no live region to announce changes to assistive tech.

Proposed fix
-          <div class="mt-6 lg:mt-8">
+          <div class="mt-6 lg:mt-8" aria-live="polite" aria-atomic="true">

As per coding guidelines, **/*.{astro,jsx,tsx,js,ts}: Dynamic content must use aria-live regions for accessibility.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/web/src/components/pricing/Plans.astro` around lines 87 - 100, Wrap the
dynamic pricing/billing elements (the container with data-price,
data-yearly-price, data-monthly-price and the priceDisplay(...) output) in an
accessible live region so screen readers are notified when the shown price
changes; add attributes such as aria-live="polite" and aria-atomic="true" (or
role="status" with those attributes) on the element that is updated when the
yearly boolean toggles and when priceDisplay(plan.price_m, plan.price_y,
plan.name) changes, ensuring updates to the monthly/yearly text
(data-monthly-price/data-yearly-price) are reflected inside that region.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@apps/web/src/components/pricing/Plans.astro`:
- Around line 87-100: Wrap the dynamic pricing/billing elements (the container
with data-price, data-yearly-price, data-monthly-price and the priceDisplay(...)
output) in an accessible live region so screen readers are notified when the
shown price changes; add attributes such as aria-live="polite" and
aria-atomic="true" (or role="status" with those attributes) on the element that
is updated when the yearly boolean toggles and when priceDisplay(plan.price_m,
plan.price_y, plan.name) changes, ensuring updates to the monthly/yearly text
(data-monthly-price/data-yearly-price) are reflected inside that region.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 718de7dc-e40b-44e5-ab48-4e3dd7c8c47c

📥 Commits

Reviewing files that changed from the base of the PR and between d3dd573 and aed5e9f.

📒 Files selected for processing (2)
  • apps/web/src/components/pricing/CreditPricing.astro
  • apps/web/src/components/pricing/Plans.astro

@sonarqubecloud
Copy link
Copy Markdown

@riderx riderx merged commit 42a9955 into main May 10, 2026
10 checks passed
This was referenced May 10, 2026
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.

1 participant