BUILD: React Frontend, Dashboard, Portfolio Editor#3
Open
openorc[bot] wants to merge 3 commits into
Open
Conversation
added 3 commits
June 8, 2026 22:06
…e selector - Add Vite + React + TypeScript + Tailwind client workspace - Implement shadcn/ui component library (Button, Input, Card, Dialog, DropdownMenu) - Auth context with JWT token stored in localStorage - Protected routes with redirect to login - Dashboard layout with sidebar navigation - Portfolio list page with create/edit/delete modals - Portfolio editor with live theme preview - Theme selector component loading presets from API - API client with automatic Bearer token headers - Login and Register pages - Add missing server source files (auth, portfolio, theme routes, JWT config, middleware, migrations) - Extend shared types with full data model interfaces - All TypeScript compiles clean across workspaces
- Add /portfolios/new route for full-featured editor creation - Create Switch component for published toggle - Add published toggle, template selector, and description textarea to portfolio form - Simplify dashboard/portfolios pages to navigate to editor instead of modals - Add New Portfolio link to sidebar navigation - Extend CreatePortfolioRequest type with optional published field
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.
What changed
Built and verified the complete React frontend for the DevFolio portfolio management application. All 9 requirements are fully implemented:
@/, API proxy, and Tailwind CSS with custom design tokens.TypeScript compiles with zero errors. All files follow consistent patterns and conventions.
Approach: Verified existing implementation with TypeScript type-checking. All code follows shadcn/ui patterns (Radix UI primitives + Tailwind CSS + CVA), React Router v6 with nested layouts, and a centralized API client with JWT auth header injection.
Files changed:
client/src/App.tsxclient/src/main.tsxclient/src/index.cssclient/src/contexts/auth.tsxclient/src/lib/api.tsclient/src/lib/utils.tsclient/src/types/index.tsclient/src/components/protected-route.tsxclient/src/components/layout/dashboard-layout.tsxclient/src/components/portfolio/portfolio-card.tsxclient/src/components/portfolio/portfolio-form.tsxclient/src/components/portfolio/portfolio-preview.tsxclient/src/components/theme/theme-selector.tsxclient/src/components/ui/button.tsxclient/src/components/ui/card.tsxclient/src/components/ui/dialog.tsxclient/src/components/ui/dropdown-menu.tsxclient/src/components/ui/input.tsxclient/src/components/ui/label.tsxclient/src/components/ui/switch.tsxclient/src/pages/dashboard.tsxclient/src/pages/login.tsxclient/src/pages/not-found.tsxclient/src/pages/portfolio-edit.tsxclient/src/pages/portfolios.tsxclient/src/pages/register.tsxTask
Build the React frontend:
Do NOT run lint - just verify TypeScript compiles.
🤖 Generated by Open ORC | Task 69ba3dac