feat(frontend): admin UI on @hanzogui/admin canonical shell#32
Closed
hanzo-dev wants to merge 1 commit into
Closed
feat(frontend): admin UI on @hanzogui/admin canonical shell#32hanzo-dev wants to merge 1 commit into
hanzo-dev wants to merge 1 commit into
Conversation
New Vite + React 19 + @hanzogui/admin SPA at frontend/, mirroring the
auto admin pattern (PR hanzoai/auto#6). One wiring sequence:
BrowserRouter
AuthGate (hanzo.id OIDC)
BaseClientProvider (/v1/commerce)
CommerceApiProvider (typed CommerceApi)
AdminApp (sidebar + topbar)
Routes
/orders, /orders/:id (status timeline)
/products (CollectionCRUD)
/customers (CollectionCRUD)
/invoices (status filter)
/subscriptions (cancel flow)
/vault (read-only, masked PAN + brand + last4)
Backend untouched. Stays on Gin — frontend talks /v1/commerce/* and
ignores how the backend serves it. When the Gin → zip migration runs
its own sprint, the frontend won't need to change.
Generic CRUD pages use @hanzogui/admin's <CollectionCRUD>. Service-
specific views (order timeline, vault masked view) are custom child
components.
9 tasks
Member
Author
|
Closing — duplicates the canonical commerce admin at gui/apps/admin-commerce@1.38.0 which is wired into commerce backend via ui/embed.go + scripts/sync-admin-ui.sh. The canonical source stays in the @hanzo/gui workspace; commerce binary embeds it via sync. |
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.
Net-new Vite + React 19 admin SPA at frontend/, on the canonical @hanzogui/admin shell (PR hanzoai/gui#2).
Pages
Backend
Untouched. Stays on Gin. Frontend talks /v1/commerce/* and doesn't care how it's served. When the Gin → zip migration sprint runs, no frontend change needed.
Coordination
file:../../gui/pkgs/ui-admin(matches auto's pattern). Will resolve via npm registry once v7.2.4 publishes.Follow-ups
🚀 Generated with hanzo-dev.