frontend migration foundation and dev stack cleanup#39
Open
LeiShi1313 wants to merge 50 commits into
Open
Conversation
Update backend and frontend submodules: - Backend: source-driven binary acquisition, contract-direct deploys, built-in contracts, new resources and orchestrator methods - Frontend: app catalog tab in deploy modal, contract title in list
Add Design Context section covering users, brand personality, aesthetic direction, design principles, and design system details. Update frontend submodule to include extracted shared UI components (PageHeader, ModalShell, EmptyState).
Full-stack rename of the "executable contract" abstraction to "service definition" — DB tables, backend models/schemas/GraphQL/tasks, frontend components/queries/routes/i18n, and documentation. Updates backend and frontend submodules.
- Add port_id FK to server_deployment with partial unique index
- Add requiresPort field to service definition schema (default true)
- Inject {{port}} context variable in compile_service_preview
- Add availablePortsForDeployment GraphQL query with role-based access
- Accept portId in deploy mutations with validation
- Pass port context to Huey deployment tasks
- Expose port field on ServerDeploymentType
- Add port selector dropdown to DeployModal
- Show port info on deployment list and detail views
Update submodules with: - Backend: publish isOnline=false on SSH failure - Frontend: derive status from metric subscription, fix lastSeen parsing
- Replace dual nginx with nginxproxy/nginx-proxy (virtual host routing) - Switch postgres to timescale/timescaledb for TimescaleDB extension - Add healthchecks on postgres and redis, use depends_on conditions - Remove manual tcp wait loop from backend command - Route nginx to frontend:5173 instead of frontend-old:3000 - Expose on port 8080, adminer via VIRTUAL_HOST instead of port
Backend merges deployExecutable into deployService mutation.
Full frontend migration plan: DaisyUI to shadcn/ui, JS to TypeScript, React 18 to 19, Redux removal, and service editor refactor.
Fix critical issues: theme architecture (multi-theme CSS class + .dark variant), classnames->cn() migration plan, generated types relocation. Add important items: react-helmet->react-helmet-async, notification system as cross-cutting Redux concern, websocket manager fate, custom breakpoint preservation, apis/ directory handling, Vite plugin decision, framer-motion + react-hook-form retention, shared component phasing.
25 tasks across 5 phases: Foundation (TS + CSS + component library), Phase 1 (core shell + shared infra), Phases 2-4 (incremental feature migration), Phase 5 (cleanup). Addresses review feedback on file paths, react-loading replacement, codegen.yml, and Redux dependencies.
…ate-frontend-to-shadcn
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 tasks covering foundation, layout, 5 page waves, and cleanup. Also fixes component count (56, not 58) in both spec and plan. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 tasks: font, layout bg-muted, shared patterns, ServerContainer fix, ServerList table-in-card rewrite, ServerInfoModal restyle, visual verification. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Notes