Skip to content

Refactor Preview Components for Enhanced User Experience#3

Open
Oscardtp wants to merge 1 commit into
mainfrom
agents/fix-carousel-card-content-logic
Open

Refactor Preview Components for Enhanced User Experience#3
Oscardtp wants to merge 1 commit into
mainfrom
agents/fix-carousel-card-content-logic

Conversation

@Oscardtp

Copy link
Copy Markdown
Owner

Modularize the PreviewPage by introducing new components for better maintainability and readability. Improve user interaction with enhanced functionality in action buttons, video playback, and feedback collection. Streamline error handling and loading states across components.

- Replaced the existing PreviewPage structure with modular components: PreviewNavbar, PreviewHero, PreviewVideo, PreviewCardCarousel, PreviewCTAs, PreviewMissing, and PreviewFeedback for better maintainability and readability.
- Implemented a new PreviewCTAs component for action buttons (Download, Study, Generate Another) with improved styling and functionality.
- Introduced PreviewCardCarousel to handle card display and navigation, enhancing user experience with a carousel interface.
- Added PreviewFeedback component to collect user feedback on card usefulness with a progress bar.
- Updated PreviewHero to display deck information and user greeting based on authentication status.
- Enhanced PreviewVideo to manage video playback with a thumbnail and play button.
- Removed unused imports and code, streamlining the PreviewPage component.
- Improved error handling and loading states across components.
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
anki-tube-learn Error Error May 24, 2026 9:34pm

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