Repository navigation
feat(ui): add changelogs + refresh landing stats - #2473
Conversation
New changelog entries for Claude Opus 4.8 & new models, smarter routing (sticky sessions, Bedrock regions), and referrals/cache controls. Refresh stale, inconsistent stats across the landing and signup pages (40+ providers, 400+ models) and polish the stat cards. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
WalkthroughThis PR updates marketing materials and adds changelog content. Landing page components and the signup flow are updated to reflect increased provider and model metrics (30+→40+ providers, 200+→400+ models, 15+→40+ in auth), and a gradient text styling treatment is applied to landing stats. Three new changelog files announce recent product features including model releases, referral programs, cache controls, and routing enhancements. ChangesUI Metrics and Copy Updates
Product Changelog Entries
Possibly related PRs
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 80.7%, saving 2.9 MB.
|
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 12.4%, saving 89.3 KB.
|
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 10.7%, saving 67.8 KB.
|
|
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 5.4%, saving 10.3 KB.
2 images did not require optimisation. |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
apps/ui/src/components/landing/navbar.tsx (1)
76-76: 💤 Low valueConsider clarifying the gradient color extraction logic.
The current implementation extracts the last two space-separated tokens from the
gradientstring to derive icon colors. While this works with the current data structure, the intent is not immediately clear, and the logic is fragile—it assumes the gradient string always has at least two tokens and that the last two are always the color classes.Consider extracting icon color classes more explicitly (e.g., as a separate prop or with a more descriptive helper function) to improve readability and maintainability.
🤖 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/ui/src/components/landing/navbar.tsx` at line 76, The current extraction of iconColor via const iconColor = gradient.split(" ").slice(-2).join(" "); is fragile and unclear; update the Navbar/related component to explicitly derive icon colors by either adding a dedicated prop (e.g., iconColor) or extracting logic into a descriptive helper (e.g., getIconColorFromGradient(gradient)) that validates the gradient string, documents expected format, returns a safe fallback when tokens are missing, and replace usages of the inline split/slice/join with that helper or the new prop; target the iconColor variable and the component receiving gradient to make the change.
🤖 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 `@apps/ui/src/components/landing/navbar.tsx`:
- Line 72: In the navbar component, fix the invalid Tailwind class in the class
list containing "group/product flex items-start gap-3 select-none rounded-lg p-3
no-underline outline-none transition-all duration-300 bg-linear-to-br
from-transparent to-transparent" by replacing the typo `bg-linear-to-br` with
the correct `bg-gradient-to-br` so the gradient and the `from-*`/`to-*`
utilities render properly (look for the class string in the Navbar component in
apps/ui/src/components/landing/navbar.tsx).
---
Nitpick comments:
In `@apps/ui/src/components/landing/navbar.tsx`:
- Line 76: The current extraction of iconColor via const iconColor =
gradient.split(" ").slice(-2).join(" "); is fragile and unclear; update the
Navbar/related component to explicitly derive icon colors by either adding a
dedicated prop (e.g., iconColor) or extracting logic into a descriptive helper
(e.g., getIconColorFromGradient(gradient)) that validates the gradient string,
documents expected format, returns a safe fallback when tokens are missing, and
replace usages of the inline split/slice/join with that helper or the new prop;
target the iconColor variable and the component receiving gradient to make the
change.
🪄 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: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 74cbc914-5e53-4c8b-8f67-996a0a681e9f
⛔ Files ignored due to path filters (3)
apps/ui/public/changelog/claude-opus-4-8-and-new-models.pngis excluded by!**/*.pngapps/ui/public/changelog/referrals-cache-controls-product-updates.pngis excluded by!**/*.pngapps/ui/public/changelog/smarter-routing-sticky-sessions.pngis excluded by!**/*.png
📒 Files selected for processing (4)
apps/ui/src/components/landing/navbar.tsxapps/ui/src/content/changelog/2026-06-01-claude-opus-4-8-and-new-models.mdapps/ui/src/content/changelog/2026-06-01-referrals-cache-controls-product-updates.mdapps/ui/src/content/changelog/2026-06-01-smarter-routing-sticky-sessions.md
✅ Files skipped from review due to trivial changes (2)
- apps/ui/src/content/changelog/2026-06-01-smarter-routing-sticky-sessions.md
- apps/ui/src/content/changelog/2026-06-01-referrals-cache-controls-product-updates.md
What
Three new changelog entries covering everything shipped since the last changelog (
2026-05-26), plus a refresh of the stale, inconsistent stats on the landing and signup pages.New changelogs (
apps/ui/src/content/changelog/)packages/models.x-session-idsticky routing, stable preferred-provider routing, AWS Bedrock region routing, Google AI Studio provider, and Vertex embeddings + key health./ref/<org-id>), provider cache-write toggle, cache/audio cost breakdown in logs, virtualized chat, comparison-mode persistence, image/video history, and enterprise per-project routing.Landing + auth stat refresh
The numbers were stale and contradicted each other (landing:
25+ providers / 210+ models; signup:15+ providers). Made them consistent and catalog-derived:40+, Models400+. Volume/uptime (100B+ tokens,50M+ calls,99.9%) left unchanged.hero.tsx,graph.tsx,faq.tsx, andauth-brand-panel.tsx.tabular-nums).Notes
public/changelog/as placeholders — swap in custom art if desired.400+ modelsreflects model+provider routes in the catalog (~449); distinct base models are ~215. Easy to dial down to250+for the stricter framing.Verification
prettier+eslintclean on all changed files.🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Content
Documentation
Refactor
Style