This repository was archived by the owner on Dec 31, 2025. It is now read-only.
Conversation
ログインしてない時にお気に入りボタンを押すと、リンク切れのログインページに誘導されるのを修正
- Added .env.example to .gitignore to ensure example environment variables are tracked. - Changed ESLint rule for '@typescript-eslint/no-explicit-any' from 'off' to 'warn' and added 'react/no-unescaped-entities' as a warning. - Removed unused imports and variables in the RegisterPage and AdminLayout components for cleaner code. - Updated error handling in ProductDetailPage to simplify catch block. - Enhanced AppealPage to include router in dependency array for useEffect. - Improved error handling in LinkIcon component by specifying error type. - Cleaned up imports in various components, including EditNameDialog and NotificationMenu. - Added CommentsSection to ProductDetail for user engagement. - Updated email change verification template for better user experience. - Refactored database schema to include comments and ensure proper exports.
Update product-actions.tsx - Fixed an issue where clicking the Favorites button while not logged in would redirect to a broken login page.
- Added new database schema for comments, including fields for content, author, and timestamps. - Introduced foreign key relationships to link comments with users and products. - Enhanced comment form with character count and cooldown for submissions to prevent spam. - Improved error handling in comments section to display user-friendly messages on load failures. - Updated TRPC router to support fetching comments with parent-child relationships. - Refactored components for better readability and maintainability.
- Cast comments to CommentWithAuthor type to ensure proper type safety when rendering CommentItem components. - Enhanced code clarity by explicitly defining the expected comment structure.
feat: Add comments, refactor code, better ux
- Introduced a visibility field in the product schema to manage product visibility states: public, unlisted, and private. - Updated product creation and editing forms to include visibility options. - Enhanced product detail and edit components to display and modify visibility settings. - Implemented visibility checks in the TRPC router to filter products based on user authentication and visibility status. - Added metadata generation for product pages to support SEO and social sharing based on visibility.
- Deleted the bun.lock file to streamline dependency management. - Updated package.json to reflect the latest version of pnpm. - Updated pnpm-lock.yaml with new versions for several dependencies, including @hookform/resolvers, @supabase/supabase-js, and react-related packages to ensure compatibility and improvements.
This reverts commit 6aaa97b.
Merge pull request #9 from raicdev/dev
Merge pull request #10 from ri0n-dev/redesign
… generation - Replaced generic error throwing with TRPCError for better error handling in the OG image route. - Added Cache-Control headers to the ImageResponse for improved caching strategy. - Updated product visibility filtering in the app router to ensure only public products are returned. - Standardized error handling across multiple product retrieval functions by using TRPCError.
chore(deps): Update dependencies
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesign, Comment, Product Visibility, OG Image
Type of Change
Changes Made
Related Issues
Testing
Screenshots
Database Changes
Security Considerations
Checklist
Additional Notes