[Product Homepage Builder] Implementation#152
Open
yetone wants to merge 7 commits into
Open
Conversation
added 7 commits
May 19, 2026 03:40
Implement HomeRouteGuard component that redirects authenticated users from / to /dashboard before homepage content is rendered. - Add AuthGuard.tsx with HomeRouteGuard using useAuth + Navigate - Add routes.tsx with route table including /, /dashboard, /login, /register - Add unit tests for AuthGuard redirect behavior - Add integration tests for auth redirect routing flow - Create shared project infrastructure (AuthContext, ThemeContext, types, stubs)
- Implement validation.ts with isValidHttpUrl and getUrlValidationError - Implement errorHandler.ts with mapApiError for network/HTTP errors - Add comprehensive unit tests for validation and error mapping - Add integration tests for error handling UX flows
- Create responsive.css with breakpoint tokens, tap target utilities, navbar hamburger menu, and feature card responsive layouts - Enhance Navbar with mobile hamburger menu and toggle functionality - Install Playwright, Tailwind CSS, PostCSS for e2e testing - Add vite.config.ts, playwright.config.ts, index.html for build/serve - Create comprehensive e2e tests covering desktop, tablet, mobile viewports - Tests validate horizontal/vertical feature cards, hamburger menu, 44x44px tap targets, and no horizontal overflow
- Update ThemeContext with theme validation and localStorage persistence - Implement ThemeToggle dropdown component with accessibility - Add ThemeToggle to Navbar for homepage access - Create comprehensive unit tests for ThemeContext and ThemeToggle - Create Playwright e2e tests for theme iteration and persistence - Add index.html and playwright.config.ts for e2e test infrastructure
…-iac7-d5ef615' into feature/product-homepage-builder-iac7-d5ef615
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
This PR implements the requirements for Product Homepage Builder.
Generated by Something