Skip to content

feat(dashboard): modern dark theme, CSP fix, and browser-friendly auth#173

Open
ElioNeto wants to merge 1 commit into
mainfrom
fix-all-remaining
Open

feat(dashboard): modern dark theme, CSP fix, and browser-friendly auth#173
ElioNeto wants to merge 1 commit into
mainfrom
fix-all-remaining

Conversation

@ElioNeto
Copy link
Copy Markdown
Owner

Summary

Complete dark theme modernization of the dashboard application, along with critical fixes for browser-based authentication.

Changes

Dashboard UI (dark theme)

  • Dark navy color palette with gradient accents
  • Inter font via Google Fonts
  • Stats cards, gradient chart bars, polished tables
  • Responsive layout, custom scrollbar, toggle switch
  • Updated Login, Dashboard, Settings pages

Core security fix

  • CSP relaxed to allow inline styles/fonts/scripts (needed for SSR workers)
  • Google Fonts CDN allowlisted

Auth fix

  • JSON API login now sets vyx_token cookie (browser navigation after JS login works)

Testing

  • Added full E2E validation script (17 tests)

How to test

cd examples/dashboard
JWT_SECRET=supersecret_supersecret_supersecret_1234 ../../vyx dev
bash scripts/validate.sh

Results

17/17 tests passing

- Dark theme overhaul of SSR pages (Login, Dashboard, Settings)
  - Deep navy palette, Inter font, gradient accents, hover effects
- Fix Content-Security-Policy to allow inline styles/fonts/scripts
- Fix JSON API login to set vyx_token cookie (browser navigation fix)
- Add full validation script (17 E2E tests)
- Update JSX annotation files to match dark theme templates
- Core fixes: dispatcher auth flow, worker lifecycle, CORS, rolling restart
@github-actions
Copy link
Copy Markdown

Coverage Report

Go

Python

Line rate: 87.8%
  vyx: 87.8%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant