fix(landing): compact mobile hero - #2396
Conversation
Show the existing recovery example before secondary proof points on narrow screens while retaining the desktop grid. Refs #2095
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 2 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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 |
Reviewer's GuideCompacts the mobile landing hero so the dashboard preview and recovery outcome are visible in the first viewport while preserving desktop layout, and adds Storybook, unit, Cypress, and incident documentation for the new behavior. Sequence diagram for the Cypress mobile landing hero viewport testsequenceDiagram
participant Cypress
participant Browser
participant LandingPage
participant API_auth_me
participant API_auth_providers
participant TRPC_sync_usableProviders
Cypress->>Cypress: stubPublicLandingRequests()
Cypress->>Browser: cy.viewport(390, 667)
Cypress->>Browser: cy.visit("/")
Browser->>API_auth_me: GET /api/auth/me
API_auth_me-->>Browser: 401 { error: Unauthorized }
Browser->>API_auth_providers: GET /api/auth/providers
API_auth_providers-->>Browser: 200 { identity: [], data: [], password: true }
Browser->>TRPC_sync_usableProviders: POST /api/trpc/sync.usableProviders*
TRPC_sync_usableProviders-->>Browser: 200 [{ result: { data: usableProviders } }]
Browser->>LandingPage: render HeroSection()
Cypress-->>Browser: cy.wait("@usableProviders")
Cypress->>Browser: expectWithinFirstViewport("Today's recovery picture")
Cypress->>Browser: expectWithinFirstViewport("74%")
Cypress->>Browser: expectWithinFirstViewport("Near baseline")
File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR Summary by QodoCompact mobile landing hero to keep recovery demo in first viewport
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
|
Storybook previews for This comment updates automatically on each PR push. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
178 rules✅ Skills:
fix-provider, write-tests, cloudflare 1.
|
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
Addressed in e54363b: the Storybook mobile story now uses a fixed 390x667 decorator rather than an unregistered viewport parameter, and the Cypress first-viewport measurement is now a retryable assertion. Focused landing tests and web typecheck pass. |
Summary
Validation
Closes #2095
Fixes #2095
Summary by Sourcery
Compact the mobile landing hero so the recovery preview demo appears within the first viewport while preserving the desktop layout and validating the new behavior.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Summary by cubic
Compacts the mobile landing hero so the recovery demo appears in the first viewport and before proof points, while keeping the desktop layout intact. Aligns with Linear issue 2095 to prioritize the concrete recovery preview on narrow screens.
Written for commit e54363b. Summary will update on new commits.