Skip to content

Comments

feat: add SPA mode to dashboard-ui#439

Draft
jonmorehouse wants to merge 9 commits intomainfrom
remove-next-js
Draft

feat: add SPA mode to dashboard-ui#439
jonmorehouse wants to merge 9 commits intomainfrom
remove-next-js

Conversation

@jonmorehouse
Copy link
Contributor

Part of our longer term plan is to remove the dashboard-ui's dependency on next.js. There's a few problems we've seen
with it, and we just are not using it's full functionality (nor do we plan too).

This PR creates an optional, SPA mode that uses vite to build the assets and serves the dashboard via a simple golang
backend. This enables a backend-for-frontend approach, where we can replace much of our SSR and other next.js features
with specialized endpoints that use our go SDK.

Right now, the design is that this is something we can run alongside our current dashboard, and flip it over with
env-vars to control how this is loaded. This prevents us from having to have an "all at once" switch over.

@nnnnat, this PR is still early, but I'm opening it so we can both 👀 it and gather feedback as we go.

This removes our next.js dependency from the dashboard, and instead
replaces it with an (opt-in for now), option to run the dashboard as a
SPA, which is backed by a light weight backend.
@github-actions
Copy link

This PR was marked as stale, and will be closed after 3 more days. Add the #keep-open label to prevent this from being closed.

@github-actions github-actions bot added the stale label Feb 22, 2026
@nnnnat nnnnat added keep-open and removed stale labels Feb 23, 2026
@github-actions github-actions bot added the api label Feb 23, 2026
This removes our next.js dependency from the dashboard, and instead
replaces it with an (opt-in for now), option to run the dashboard as a
SPA, which is backed by a light weight backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants