Nxtgauge Admin Panel
Find a file
Ashwin Kumar Sivakumar ca2c5a4ef6
All checks were successful
build-and-release / build (push) Successful in 1m2s
feat(admin): show a dialog when the session expires instead of failing silently
Admin access tokens expire after 15 minutes with no refresh flow. Until now,
once the token expired, every subsequent action (approve, save, etc.) just
403/401'd with no visible feedback, or an error banner easy to miss inside a
modal — it looked like the button "didn't work."

Add a global window.fetch wrapper (installSessionExpiryWatcher, installed
once from AdminShell) that flips a shared signal whenever an authenticated
request comes back 401. AdminShell renders a "You have been logged out"
dialog on top of everything when that fires, with a button that clears the
stale session and sends the admin back to /login?from=<current path>.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 00:03:57 +05:30
.claude chore: add launch.json for Claude Code preview server 2026-04-08 02:15:47 +02:00
.forgejo fix(ci): sort registry prune by real image build time, protect current SHA 2026-07-17 05:37:45 +05:30
.gitea/workflows ci(forgejo): update admin build pipeline 2026-07-03 19:51:38 +05:30
.github/workflows ci: remove GitHub Actions workflow - using Forgejo CI exclusively 2026-07-06 04:19:48 +05:30
.nitro/types feat(admin): runtime config builders with local save/publish 2026-03-16 23:20:54 +01:00
.playwright-cli feat: admin invoice/credit/pricing UI overhaul with auth token injection 2026-07-02 13:51:08 +02:00
.storybook Refactor admin UI and add Storybook/Vitest setup 2026-03-26 06:20:22 +01:00
docs dashboard implementation 2026-04-10 01:17:00 +02:00
public feat(admin): align nextjs sidebar/ui parity and module flow bridge 2026-03-19 03:36:46 +01:00
scripts dashboard implementation 2026-04-10 01:17:00 +02:00
src feat(admin): show a dialog when the session expires instead of failing silently 2026-07-19 00:03:57 +05:30
tests fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
.dockerignore dashboard implementation 2026-04-10 01:17:00 +02:00
.eslintrc.cjs feat: comprehensive testing infrastructure 2026-04-08 02:38:17 +02:00
.gitignore feat: comprehensive testing infrastructure 2026-04-08 02:38:17 +02:00
.prettierrc feat: comprehensive testing infrastructure 2026-04-08 02:38:17 +02:00
admin-solid.dev.pid chore: checkpoint workspace updates 2026-04-26 23:58:42 +02:00
admin-solid.start.pid chore: checkpoint workspace updates 2026-04-26 23:58:42 +02:00
admin.pid feat: unify API paths and upgrade table UIs 2026-04-07 22:12:52 +02:00
docker-compose.yml dashboard implementation 2026-04-10 01:17:00 +02:00
Dockerfile fix(admin-auth): read GATEWAY_URL from process.env instead of build-time Vite var 2026-07-18 22:23:19 +05:30
Dockerfile.simple fix(ci): use internal registry for node:20-alpine base image 2026-04-16 19:30:32 +02:00
package-lock.json fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
package.json fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
playwright.a11y.config.ts chore: align admin management modules, auth flows, and test stability 2026-04-08 22:12:38 +02:00
playwright.config.ts chore: align admin management modules, auth flows, and test stability 2026-04-08 22:12:38 +02:00
playwright.external.config.ts chore: sync latest dashboard and role flow updates 2026-04-05 16:52:01 +02:00
playwright.storybook.config.ts chore: sync latest dashboard and role flow updates 2026-04-05 16:52:01 +02:00
playwright.visual.config.ts chore: align admin management modules, auth flows, and test stability 2026-04-08 22:12:38 +02:00
README.md chore: trigger rebuild 2026-06-08 21:22:40 +05:30
screenshot.ts fix(ci): use internal registry for node:20-alpine base image 2026-04-16 19:30:32 +02:00
tsconfig.json fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
vite.config.timestamp_1776803609838.js chore: checkpoint workspace updates 2026-04-26 23:58:42 +02:00
vite.config.ts fix: TypeScript errors, test quality, and admin panel correctness 2026-07-17 00:47:43 +02:00
vitest.config.ts chore: align admin management modules, auth flows, and test stability 2026-04-08 22:12:38 +02:00
vitest.shims.d.ts Refactor admin UI and add Storybook/Vitest setup 2026-03-26 06:20:22 +01:00

NXTGAUGE Admin Solid

SolidStart migration target for nxtgauge-nov-2025-frontend (admin panel).

Principle

Port admin modules one by one with strict API/permission parity.

See docs/MIGRATION_MASTER_PLAN.md.

CI (Woodpecker)

Required secrets:

  • REGISTRY_USERNAME
  • REGISTRY_PASSWORD

This project was created with the Solid CLI

Local Docker test (low RAM, no port conflict)

This repo ships an Alpine runtime image and a docker-compose.yml profile mapped to port 9102.

Build and run:

docker compose up --build -d

Check:

curl -I http://localhost:9202

Stop:

docker compose down

Run additional isolated instances (9103, 9104, ...):

docker run -d --name nxtgauge-admin-solid-9103 -p 9103:9202 nxtgauge-admin-solid:local
docker run -d --name nxtgauge-admin-solid-9104 -p 9104:9202 nxtgauge-admin-solid:local

Mon Jun 8 09:22:40 PM IST 2026