8.1 KiB
8.1 KiB
Portal — Current State
Verified against the local Portal repo after the dashboard/nav cleanup pass, fresh API and Agent repo review, server status/host lifecycle/IDE UX pass, and the public marketing/SEO refresh.
This file records what is implemented now.
Runtime / tooling baseline
- Portal is now aligned to the Node 24 runtime line used by the API repo.
.nvmrc,package.jsonengines, andpackage-lock.jsonare synchronized on the current Node 24 baseline.- Lint no longer relies on removed
next lint; the repo useseslint .with the Next 16 flat-config path. - The lint configuration has been adjusted so current project patterns lint cleanly without forcing a broad React-compiler-style refactor.
npm run lintpasses with only existing React hook dependency warnings.npm run buildreportedly passes on Next 16.2.4 with Turbopack.- npm audit is reported clean at moderate-or-higher severity.
Repo cleanup already done
- Confirmed-unused HUD wrapper components have been removed.
- Stale
src/styles.old/*legacy CSS has been removed. - Unused
js-cookietype shim has been removed. - Unused dependencies and Tailwind plugins have reportedly been pruned from the Portal repo.
- The Portal cleanup pass reports net line-count reduction rather than growth.
Public marketing / SEO site
- Public marketing now follows a hybrid SaaS structure:
- homepage acts as the conversion flow
- separate pages support deeper product/SEO intent
- Homepage now includes:
- hero with platform-neutral copy:
Code, test, and run servers from your browser. - browser/dev + managed server subheadline
- product-style visual panel
- Build / Test / Ship workflow
- differentiators
- use cases
- SEO topic links
- pricing preview
- FAQ preview
- final CTA
- hero with platform-neutral copy:
- Root metadata has been updated from the old game-hosting-only description to browser dev environments + managed server hosting positioning.
- Pricing has been repositioned from
Vanilla / Modded / Heavyto workload tiers:- Starter
- Pro
- Performance
- Pricing copy now states that every plan includes a browser-based dev environment and managed server hosting.
- Public feature copy now presents the platform as build/test/run rather than Minecraft-only hosting.
- LXC/system-container differentiator is represented carefully as avoiding Docker-style game-server overhead without unsupported benchmark claims.
- The fake
zlh build --target serverhero command was removed and replaced with a real/plausible$ npm run buildline. - Public SEO/intent pages have been added:
/minecraft-server-hosting/modded-minecraft-hosting/browser-dev-environment
- Metadata has been added or refreshed for Home, Features, Pricing, FAQ, About, Support, and the three SEO landing pages.
- FAQ has been expanded around platform positioning, dev environments, Minecraft, mods, datapacks, local install expectations, backups/restores, and plan limits.
- Build and lint reportedly pass after the marketing/SEO changes with the same existing unrelated warnings.
Current mobile status
- The public and dashboard surfaces are not yet considered mobile-optimized.
- Mobile launch pass should focus on usability rather than redesign:
- no horizontal scroll at common mobile widths
- CTA buttons stack cleanly
- pricing cards stack cleanly
- auth forms remain readable
- dashboard server cards do not clip actions/status
- console/file/backup panels are usable enough or clearly limited on mobile
Readiness / operation UI
- Portal consumes API-normalized state.
- Portal understands:
readyoperationInProgressoperationTypemaintenanceoperationStartedAtoperationMessage
- targeted
409and503UX messaging exists for operation conflicts and not-ready states. - server card and game console readiness labels now share explicit mapping for ready, stopped, starting, stopping, restarting, maintenance, provisioning/network-pending, plan-limit, and true error states.
connectable === falseno longer automatically maps toNeeds attention; expected non-connectable states such as stopped servers, host lifecycle actions, backup/restore maintenance, and provisioning use specific user-facing labels.- game server readiness and dev container readiness are separated in the server list so DEV cards use host/agent/IDE state instead of game
connectablesemantics. - host/container lifecycle status is surfaced from the LXC host layer, including
Online,Offline,Starting,Stopping, andRestarting, plus active host-operation polling. - server list refresh waits for per-server status enrichment before committing the merged state, preventing transient IDE/readiness badge flips during polling or page remount.
- server creation redirects back to
/serversafter the create response and tracks setup progress there with user-facing steps such as host creation, install/runtime setup, network/dev-tool finalization, and ready.
Backup UI
- game backup UI exists for:
- list
- create
- restore
- delete
- Portal uses API routes, not direct agent calls.
- backup metadata is normalized and displayed when the API includes metadata fields.
- backup/restore actions now provide user feedback and progress/elapsed time during active operations.
Console / action gating
- console command transport uses POST JSON through API.
- previous blanket
ready === falsegating bug for game actions was fixed. - Start is not blocked merely because a stopped server is not ready.
- backup actions are not blocked purely by
ready === false; backend validity decides.
Billing / auth / onboarding
- billing UI alignment exists with the newer billing state model.
- billing plan-limit gating has been observed in Portal create flow.
- forgot/reset password flow exists.
- logged-in change-password flow exists.
- first-login onboarding flow exists.
- Next 16 / current TypeScript cleanup included fixes around nullable normalization and search-param/Suspense usage in affected pages/components.
Hosted IDE
- console and server-list
Open IDEactions request/api/dev/{serverId}/ide-token. - Portal opens the hosted URL returned by the API, falling back to the configured API base for relative URLs.
- DEV server console and server-list rows show compact IDE indicators and inline
Open,Start,Restart, andStopcontrols instead of large stacked action blocks. - code-server service actions call
/api/dev/{serverId}/codeserver/start,/api/dev/{serverId}/codeserver/restart, and/api/dev/{serverId}/codeserver/stop. - Portal preserves last-known IDE state when a polling response omits code-server fields, avoiding UI blips between list and status responses.
- API owns the IDE bootstrap, hosted proxy, and tunnel flow. Portal is not expected to proxy IDE traffic itself.
API client layer
- Portal uses API-mediated transport rather than direct agent calls.
- the old Portal-internal
/api/agent/{serverId}/{action}bridge has been removed from the frontend repo. - Project cleanup has reportedly removed dead weight around unused wrappers/dependencies, but API-client/status-polling consolidation is not yet considered fully complete.
Dashboard / IA
- the dashboard spotlight server card now uses API-backed server data instead of placeholder entries.
- the spotlight card no longer links to a non-existent
/servers/{id}route; it routes users back into the supported/serverssurface. - the spotlight card now recognizes DEV containers across API field aliases and mirrors server-list badges, including the IDE indicator, readiness badge, and host status.
- hub navigation now includes Billing and Profile so onboarding tour targets match the actual menu.
- the hub shell now covers authenticated account/control-surface pages including billing, profile, and support instead of only dashboard/servers.
Still true
- Portal should track API auth / JWT behavior closely because API-side token hardening can require Portal compatibility verification.
- Portal cleanup should remain behavior-preserving; build/lint green status is part of the current baseline.
- Mobile responsiveness is still an open Portal validation/polish item.