Skip to content

flow diagram fix#7

Merged
0xaeres merged 2 commits into
mainfrom
feature/landing-page-update
Jul 11, 2026
Merged

flow diagram fix#7
0xaeres merged 2 commits into
mainfrom
feature/landing-page-update

Conversation

@0xaeres

@0xaeres 0xaeres commented Jul 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
anvay-ui Ready Ready Preview, Comment Jul 11, 2026 5:31pm

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

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

Next review available in: 49 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: fd51434b-a02b-4439-80c6-14babb72cbc8

📥 Commits

Reviewing files that changed from the base of the PR and between e0a304f and 733b15d.

📒 Files selected for processing (5)
  • components/docs/MermaidDiagram.tsx
  • components/screens/LandingPage.tsx
  • components/screens/LoginScreen.tsx
  • components/screens/RequestAccessScreen.tsx
  • lib/links.ts
📝 Walkthrough

Walkthrough

The change centralizes repository and quickstart links, revises landing and authentication messaging for self-hosted instances, updates documentation navigation, and adds an interactive full-screen Mermaid diagram viewer with zoom and pan controls.

Changes

Marketing and documentation experience

Layer / File(s) Summary
Canonical links and self-hosted navigation
lib/links.ts, components/screens/*, app/(public)/request-access/page.tsx, app/globals.css
Adds shared GitHub and quickstart URLs, updates landing and authentication actions and copy, and styles the new navigation and hero-note elements.
Documentation repository navigation
components/docs/DocsChrome.tsx, lib/docs/tina.ts
Replaces the docs “Edit” control with a GitHub link and removes the unused edit-URL helper.
Interactive Mermaid viewer
components/docs/MermaidDiagram.tsx
Adds an expandable lightbox with zoom, pan, keyboard controls, overlay closing, and body scroll locking.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant MermaidDiagram
  participant DiagramLightbox
  participant BrowserDocument
  User->>MermaidDiagram: Selects Expand diagram
  MermaidDiagram->>DiagramLightbox: Opens the SVG viewer
  User->>DiagramLightbox: Zooms, pans, or uses keyboard controls
  DiagramLightbox->>BrowserDocument: Locks or restores body scrolling
Loading

Possibly related PRs

  • 0xaeres/anvay-ui#2: Adds the request-access form and logic in the same component updated here.

Poem

A rabbit hops past GitHub’s door,
“Deploy your own!” it cheers once more.
Diagrams zoom and gently sway,
While docs now point the clearer way.
Self-hosted paths bloom bright and new—
A carrot-powered thanks from me to you! 🐇

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No description was provided, so there is no meaningful text to assess against the code changes. Add a brief description of the main landing page, docs, and diagram updates.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title is only partially related because the PR includes a Mermaid diagram viewer update, though it misses the broader landing/docs changes.
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.

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.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 6

Caution

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

⚠️ Outside diff range comments (1)
components/screens/LoginScreen.tsx (1)

1-1: 🚀 Performance & Scalability | 🟠 Major | ⚡ Quick win

Use <Link> instead of <a> for the internal QUICKSTART_URL route in both auth screens. Both files render QUICKSTART_URL (/docs/quickstart) with a plain <a>, triggering a full page reload instead of Next.js client-side navigation. Link is already imported and used in both files.

  • components/screens/LoginScreen.tsx#L127-133: Replace the <a> wrapping "Deploy your own" with <Link>.
  • components/screens/RequestAccessScreen.tsx#L95-97: Replace the <a> wrapping "No instance yet? Deploy your own" with <Link>.
🤖 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 `@components/screens/LoginScreen.tsx` at line 1, Replace the plain anchor for
the internal QUICKSTART_URL link in LoginScreen with the already imported Link
component, preserving its href and displayed text. Apply the same change to the
QUICKSTART_URL link in RequestAccessScreen, leaving external links and other
navigation unchanged.
🤖 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.

Inline comments:
In `@components/docs/MermaidDiagram.tsx`:
- Around line 155-254: Update DiagramLightbox to implement modal focus
management: move focus into the lightbox when it mounts, trap Tab and Shift+Tab
within its interactive controls, and restore focus to the opening trigger when
it unmounts. Preserve Escape-to-close and existing zoom/drag behavior, anchoring
the changes to DiagramLightbox and its existing keydown effect.
- Around line 122-153: Memoize the lightbox close handler used by MermaidDiagram
instead of creating an inline callback. Define a stable handleClose with
useCallback that calls setZoomed(false), then pass it as DiagramLightbox’s
onClose prop so its useEffect dependencies do not change during parent
re-renders.

In `@components/screens/LandingPage.tsx`:
- Line 70: Update LandingPage’s two quickstart Link hrefs to use the centralized
QUICKSTART_URL constant from lib/links.ts instead of hardcoding
/docs/quickstart; import and reuse that symbol consistently.

In `@components/screens/LoginScreen.tsx`:
- Around line 127-133: Replace the anchor wrapping QUICKSTART_URL in the
LoginScreen deployment prompt with the imported Next.js Link component,
preserving its href, styling, text, and surrounding punctuation for client-side
navigation to the internal route.

In `@components/screens/RequestAccessScreen.tsx`:
- Around line 95-97: Update the QUICKSTART_URL link in RequestAccessScreen to
use the already imported Link component instead of a plain anchor, preserving
its href and className so the internal /docs/quickstart navigation remains
client-side.

In `@lib/links.ts`:
- Line 10: Remove the export modifier from GITHUB_ORG in lib/links.ts, keeping
it as a module-local constant so the internal REPOS template-literal references
continue to work.

---

Outside diff comments:
In `@components/screens/LoginScreen.tsx`:
- Line 1: Replace the plain anchor for the internal QUICKSTART_URL link in
LoginScreen with the already imported Link component, preserving its href and
displayed text. Apply the same change to the QUICKSTART_URL link in
RequestAccessScreen, leaving external links and other navigation unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3eb1ee78-703e-4559-b73e-db871018c46a

📥 Commits

Reviewing files that changed from the base of the PR and between 01744ca and e0a304f.

📒 Files selected for processing (10)
  • app/(public)/request-access/page.tsx
  • app/globals.css
  • components/docs/DocsChrome.tsx
  • components/docs/MermaidDiagram.tsx
  • components/screens/LandingChrome.tsx
  • components/screens/LandingPage.tsx
  • components/screens/LoginScreen.tsx
  • components/screens/RequestAccessScreen.tsx
  • lib/docs/tina.ts
  • lib/links.ts
💤 Files with no reviewable changes (1)
  • lib/docs/tina.ts

Comment thread components/docs/MermaidDiagram.tsx
Comment thread components/docs/MermaidDiagram.tsx
Comment thread components/screens/LandingPage.tsx Outdated
Comment thread components/screens/LoginScreen.tsx
Comment thread components/screens/RequestAccessScreen.tsx Outdated
Comment thread lib/links.ts Outdated
@0xaeres
0xaeres merged commit afcd0e7 into main Jul 11, 2026
4 checks passed
@0xaeres
0xaeres deleted the feature/landing-page-update branch July 11, 2026 17:33
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