-
Notifications
You must be signed in to change notification settings - Fork 4
React SPA cutover: replace EJS views with /api/v1 + React 19 client #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wreiske
wants to merge
12
commits into
main
Choose a base branch
from
feature/react-ui
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1ee305c
feat(client): scaffold React 19 + Tailwind 4 + @mieweb/ui SPA
wreiske 7ea6d25
feat(api): add /api/v1 JSON API + CSRF + OpenAPI spec
wreiske 25aa622
feat(client): SPA shell + auth flows on /api/v1
wreiske 2cdecbe
feat(client): Phase 4 — feature pages for all resources
wreiske b6f40ed
feat: cutover from EJS to React SPA
wreiske 47263bc
fix(dev): SPA boots end-to-end on sqlite
wreiske a7ed333
fix(client): align top bar with sidebar header, polish footer, fix mo…
wreiske 53f217f
feat(client): polish auth layout, form scaffolding, and responsive UI
wreiske cafdae9
Merge remote-tracking branch 'origin/main' into feature/react-ui
wreiske 97190e4
feat(api,client): port main features missed during EJS cutover
wreiske 1a83283
Address Copilot review on PR #319
wreiske fcfe133
Header: replace user menu with Dropdown (avatar, Settings, Sign out)
wreiske File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| node_modules | ||
| .env | ||
| .tmp-verify/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| node_modules | ||
| dist | ||
| dist-ssr | ||
| *.local | ||
| .vite | ||
| *.log | ||
| .DS_Store | ||
| *.tsbuildinfo |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Manager Client | ||
|
|
||
| Vite + React 19 + TypeScript SPA for the Create-a-Container manager. Styles via Tailwind 4 and `@mieweb/ui` (BlueHive brand). | ||
|
|
||
| ## Develop | ||
|
|
||
| ```bash | ||
| npm install | ||
| npm run dev # http://localhost:5173 (proxies /api/* to Express; other routes are SPA-handled) | ||
| ``` | ||
|
|
||
| Express must be running on `http://localhost:3000` (or set `VITE_API_TARGET`). | ||
|
|
||
| ## Build | ||
|
|
||
| ```bash | ||
| npm run build # outputs to dist/, served by Express in production | ||
| ``` | ||
|
|
||
| ## Layout | ||
|
|
||
| - `src/app/` — router, layouts, shell | ||
| - `src/styles/` — Tailwind + `@mieweb/ui` brand entry | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <!doctype html> | ||
| <html lang="en" class="h-full"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <link rel="icon" type="image/png" href="/logo.png" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <meta name="color-scheme" content="light dark" /> | ||
| <title>MIE Container Manager</title> | ||
| </head> | ||
| <body class="h-full antialiased"> | ||
| <div id="root" class="h-full"></div> | ||
| <script type="module" src="/src/main.tsx"></script> | ||
| </body> | ||
| </html> |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.