-
Notifications
You must be signed in to change notification settings - Fork 131
chore: create branch for v3 website changes on v2 #3304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 10-25-chore_website_flatten_actors_docs_structure
Are you sure you want to change the base?
chore: create branch for v3 website changes on v2 #3304
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
PR Review: Website V3 ChangesOverviewThis PR introduces significant marketing website improvements including a new Quickstart tab, redesigned deployment options, a features bento box component, and updated copy throughout. Overall, this is a solid update with good UX improvements. However, there are several issues that should be addressed. Critical Issues1. Unused Import in FeaturesBentoBox.tsxLocation: website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx:13 The faCheckCircle import is never used in the component. Please remove the unused import. 2. Overly Broad Type for Icon PropLocation: website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx:21 The icon prop uses any type, which defeats TypeScript type safety. Use a proper type from the icon library instead of any. 3. Unused Variant in TypeScript UnionLocation: website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx:22 The variant type includes wide but there is no corresponding implementation for this variant. Either remove wide from the type definition, or add the implementation. 4. Misleading Link TextLocation: website/src/app/(v2)/(marketing)/(index)/sections/DeploymentOptionsSection.tsx:55 The link text says Contact Sales but it points to /docs/general/self-hosting, not a sales contact page. Either update the link to point to an actual sales contact page or change the text to match the destination. Code Quality Issues5. Inconsistent Tab/Space IndentationLocation: website/src/app/(v2)/(marketing)/(index)/components/MarketingButton.tsx:20-21 Mixed tabs and spaces in the indentation for target and rel props. Ensure consistent formatting across the file. 6. Unused Code VariantLocation: website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx:131-154 The code variant is fully implemented but never used in the features array. Either remove it or add a feature that uses it. 7. Hardcoded Code ExampleThe code example in the code variant is hardcoded with manual syntax highlighting. Consider using a proper syntax highlighting library or accepting the code as a prop. Performance Considerations8. Mouse Move Event Listener EfficiencyLocation: website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx:35-48 The handleMouseMove function performs querySelector on every mouse move event. Mouse move events fire frequently, so this could impact performance. Consider using a ref for the icon container instead of querySelector. Accessibility Issues9. Missing Icon Accessibility LabelsThe Icon components do not appear to have accessibility labels. Ensure icons are either decorative (with aria-hidden) or have proper labels. UX/Content Issues10. Removed Descriptive TextThe description paragraph was removed from the Run It Your Way section. Was this intentional? It provided helpful context for users. 11. Deleted Cloud Marketing PageThe entire cloud marketing page was removed. Ensure any inbound links to /cloud are redirected and SEO implications are considered. Positive Observations
SummaryThis is good work overall with solid UI/UX improvements. The main concerns are type safety, unused code, and the misleading Contact Sales link. Once these issues are addressed, this should be ready to merge. Recommendation: Request changes to address critical issues 1-4. |
3ac1277 to
8c067ef
Compare
PR Review: Website Changes v3OverviewThis PR introduces several improvements to the marketing website, including a new Quickstart navigation tab, updated hero messaging, a new features bento box component, and reorganized deployment options. The changes are primarily focused on improving the user experience and better communicating Rivet's value proposition. Positive Aspects✅ Good UX improvements: The new dedicated Quickstart tab is a smart addition that makes it easier for new users to get started quickly. ✅ Cleaner messaging: Updated hero section text ("The Primitive for Real-Time and Agent Applications") is more concise and clear about Rivet's purpose. ✅ Visual improvements: The new FeaturesBentoBox component provides a modern, interactive way to showcase features with nice hover effects. ✅ Consistent styling: Font sizes have been normalized across sections (4xl/5xl → 2xl/3xl) for better visual hierarchy. Issues & Recommendations1. Unused Import (FeaturesBentoBox.tsx:13)import { faCheckCircle } from "@rivet-gg/icons";Issue: Recommendation: Remove the unused import to keep the code clean. 2. Type Safety Issue (FeaturesBentoBox.tsx:21)icon: any;Issue: Using Recommendation: Use a more specific type. Based on the imports, this should be: import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
// or
icon: typeof faBolt; // or the appropriate FontAwesome icon type3. Duplicate Icons in Features Array (FeaturesBentoBox.tsx:191, 205)Issue: Both "Long-Lived Stateful Compute" and "Built-in Realtime" use Recommendation: Use distinct icons for different features. Consider 4. Unused Variant in Interface (FeaturesBentoBox.tsx:22)Issue: The Recommendation: Either implement the 5. Missing rel Attribute Usage (MarketingButton.tsx)Issue: While the Recommendation: If this is intended for external links, ensure it's used with <MarketingButton
href="https://external-site.com"
target="_blank"
rel="noopener noreferrer"
>6. Accessibility Concern (FeaturesBentoBox.tsx)Issue: The interactive cards use mouse position for spotlight effects but may not provide adequate feedback for keyboard navigation or screen readers. Recommendation: Consider adding:
7. Code Duplication in FeatureCard VariantsIssue: There's significant code duplication across the different variant implementations (large, medium, small, default). The hover overlay and structure are repeated. Recommendation: Extract common elements into reusable components or variables: const HoverOverlay = () => (
<div className="absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none bg-gradient-to-b from-white/[0.04] via-white/[0.01] to-transparent" />
);8. Inconsistent Link Behavior (DeploymentOptionsSection.tsx)Issue: Some links use Recommendation: Establish consistent patterns:
9. Hardcoded Code Example (FeaturesBentoBox.tsx:131-154)Issue: The "code" variant contains a hardcoded, complex JSX structure with syntax highlighting. This makes it difficult to reuse and maintain. Recommendation:
10. Missing Error Handling (FeatureCard.tsx:35-47)Issue: The Recommendation: While the early return is good, consider logging errors in development for debugging. Testing Recommendations
Security Considerations
DocumentationThe new quickstart page at
Performance ConsiderationsThe
SummaryOverall, this is a solid PR that improves the user experience and modernizes the website. The main concerns are:
Recommendation: Address the type safety and accessibility concerns before merging. The code duplication and other issues can be addressed in follow-up PRs if needed. Checklist Before Merge
Let me know if you'd like me to help implement any of these suggestions! |
8c067ef to
b5990b2
Compare
3c9700f to
5e287ca
Compare
Pull Request Review: Website Changes v3OverviewThis PR introduces v3 website changes including a new Quickstart section, a features bento box component, and various UI/UX improvements to the marketing pages. Positive Aspects✅ Good User Experience Changes
✅ Clean Component Structure
Issues & Recommendations1. Type Safety Issues (website/src/app/(v2)/(marketing)/(index)/sections/FeaturesBentoBox.tsx)Line 21: icon: any;❌ Using import type { IconDefinition } from "@rivet-gg/icons";
interface FeatureCardProps {
// ...
icon: IconDefinition;
// ...
}Line 13: import { faCheckCircle } from "@rivet-gg/icons";
2. Unused Code & PropsFeaturesBentoBox.tsx Line 22:
MarketingButton.tsx:
3. Accessibility ConcernsFeaturesBentoBox.tsx Lines 35-48: const handleMouseMove = (e: React.MouseEvent<HTMLAnchorElement>) => {
// ... spotlight effect logic
};
Recommendation: Ensure the cards have proper focus states and consider a fallback hover effect that doesn't rely solely on mouse positioning. 4. Performance ConsiderationsLines 35-48: The const iconContainer = card.querySelector('.icon-spotlight-container') as HTMLElement;
Recommendation: const iconContainerRef = useRef<HTMLElement>(null);
// Use ref instead of querySelector
// Consider throttling with requestAnimationFrame5. Hardcoded Code SnippetLines 138-149: The code example in the Recommendations:
6. Missing Contentwebsite/src/content/docs/quickstart/index.mdx:
7. Inconsistent StylingMultiple sections had their heading sizes reduced from
8. SEO & MetadataThe new quickstart page should have:
9. Deleted Filewebsite/src/app/(v2)/(marketing)/cloud/page.tsx was completely removed (104 lines deleted).
10. Sitemap Changeswebsite/src/sitemap/mod.ts Lines 333-373:
Security✅ No obvious security issues Testing RecommendationsSince this is a website/frontend change:
SummaryThis PR makes good UX improvements but has some code quality issues to address: Must Fix:
Should Consider:
Nice to Have:
Overall: Good direction for the website, but needs some technical cleanup before merging. |
PR Review: Website Changes for V3This PR makes significant marketing website updates with a new quickstart page and redesigned homepage sections. Overall, the changes look good with some minor recommendations below. Code Quality & Best Practices ✅Strengths:
Recommendations:
Performance Considerations ⚡
Security Concerns 🔒
Potential Bugs 🐛
Best Practices from CLAUDE.md 📋
Test Coverage 🧪Missing:
Documentation 📝
SummaryThis is a solid website update with good component architecture. The main areas for improvement are:
Overall: Approved with suggestions ✨ The changes improve the user experience and maintain code quality standards. Address the high-priority items before merging, and consider the medium-priority suggestions for follow-up PRs. |
b5990b2 to
457d118
Compare
5e287ca to
1f1b0e0
Compare
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/limits#rate-limits |
PR Review - Website V3 ChangesOverviewThis PR introduces significant updates to the marketing website, including a new quickstart navigation tab, updated deployment options section, a new features bento box component, and various content/styling improvements across multiple sections. Code Quality & Best PracticesStrengths
Issues & Concerns1. Type Safety Issue (FeaturesBentoBox.tsx) icon: any; // Line 21Using import type { IconDefinition } from '@rivet-gg/icons';
icon: IconDefinition;2. Unused Import (FeaturesBentoBox.tsx:13) faCheckCircle, // Line 13 - imported but never usedThis should be removed to keep the codebase clean. 3. Unused Import (UseCases.tsx) import { AnimatePresence, motion } from "framer-motion"; // Line 7These imports are added but never used in the visible diff. If not used, they should be removed to avoid unnecessary bundle size. 4. Unused Prop (UseCases.tsx:16) onHover?: (title: string | null) => void; // Added but never called in the componentThe 5. Dead Code in HeroSection.tsx Performance Considerations1. Mouse Move Handler (FeaturesBentoBox.tsx:35-47) const iconContainer = card.querySelector('.icon-spotlight-container') as HTMLElement;This could cause performance issues. Consider:
2. Component Variants
Accessibility Concerns1. Missing rel Attribute on External Links // Should add validation:
{target === '_blank' && \!rel && console.warn('External links should have rel="noopener noreferrer"')}2. Link Descriptions Security ConcernsNo major security issues found. The addition of the Content & UX Issues1. Inconsistent Messaging 2. Broken Link Risk 3. Navigation Structure
Test CoverageMissing Tests:
Recommendations:
Specific File Concernssitemap/mod.ts (lines 333-373)
Recommendations
Overall AssessmentThis is a solid PR with good improvements to the marketing site. The main concerns are:
The changes improve UX with better navigation structure, but need cleanup and testing before merge. Recommendation: Request changes for the type safety and unused code issues, then approve after fixes. Review performed by Claude Code |
Pull Request ReviewThanks for the work on updating the website! This PR makes significant improvements to the marketing pages and documentation structure. Here's my review: Positive Changes
Code Quality IssuesFeaturesBentoBox.tsx (lines 1-290)
UseCases.tsx (lines 1-260)
Security ConsiderationsExternal links: Verify all links with target="_blank" also include rel="noopener noreferrer" to prevent tabnapping attacks. Most external links look properly configured. Performance Considerations
Content and UX
Test CoverageNo tests included for the new FeaturesBentoBox component or updated components. Recommendations: Add snapshot tests for new components, test responsive grid behavior, verify links point to correct destinations, test mouse interaction handlers. SummaryMust Fix Before Merge:
Should Consider:
Overall, this is a solid improvement to the website's UX and content structure. The main concerns are type safety, error handling, and performance optimization for the interactive elements. |
1f1b0e0 to
9737523
Compare
457d118 to
72676eb
Compare
PR Review - Website V3 ChangesThank you for this PR! This is a significant update to the marketing website with new navigation structure and visual improvements. Here's my detailed review: ✅ Positive Aspects
🐛 Potential Bugs & Issues
🎨 Code Quality & Best Practices
⚡ Performance Considerations
🔒 Security Concerns
📝 Content & Documentation
🧪 Testing RecommendationsSince this is a Next.js website, consider:
📊 Suggested ChangesHigh Priority:
Medium Priority:
Low Priority:
SummaryThis is a solid update that improves the user experience with better navigation and visual design. The main concerns are around code cleanliness (unused imports), performance optimization opportunities (event handlers), and ensuring all the interactive effects work as intended. The changes are primarily cosmetic and low-risk, but addressing the unused imports and type safety issues would improve code quality. Overall: ✅ Approve with suggestions - The PR is functional but would benefit from the cleanup items mentioned above. Review generated by Claude Code |
- Added new Quickstart tab next to Overview and Integrations in docs navigation - Created new quickstart page at /docs/quickstart/ - Removed quickstart section from Overview tab sidebar - Updated all 'Get Started' buttons on home page to point to /docs/quickstart/ - Updated Local Development quickstart arrow to point to /docs/quickstart/ - Added quickstart to mobile navigation dropdown
72676eb to
afd0d10
Compare
9737523 to
1a35970
Compare
PR Review: Website V3 Marketing ChangesSummaryThis PR introduces significant website marketing improvements including a new Quickstart section, updated copy, simplified deployment options, and a new features bento box component. Overall, the changes improve user onboarding and messaging clarity. Code Quality & Best PracticesFeaturesBentoBox.tsx (New Component)Issues:
Good Patterns:
MarketingButton.tsxIssues:
UseCases.tsxIssues:
Potential Bugs
Performance Considerations
Content & UXStrengths:
Questions:
Security Concerns
Test CoverageMissing:
Recommendation:
Style & ConventionsFollowing CLAUDE.md:
RecommendationsHigh Priority:
Medium Priority: Low Priority: Overall AssessmentThis is a solid PR that improves the marketing site's messaging and UX. The main issues are minor TypeScript and code quality concerns. Once the type safety and unused imports are cleaned up, this should be good to merge. Recommendation: Approve with minor changes requested 🤖 Generated with Claude Code |
PR Review - Website Content & Navigation UpdatesThank you for the website improvements! This PR makes significant UX enhancements to the marketing site. Here's my review: Strengths
Potential Issues
Performance Considerations
Security
Suggestions
Test CoverageNo test files were modified. Consider adding:
Overall AssessmentThis is a solid UI/UX improvement PR. The code quality is good with minor issues to address. The main concerns are:
Recommendation: Approve with minor revisions suggested above. This review was generated with assistance from Claude Code |

chore: create branch for v3 website changes on v2
chore(site): website changes v3
Add Quickstart tab to docs page and update all Get Started links