Skip to content

Enchancement/UI redesign#6

Open
MSalman6 wants to merge 262 commits into
mainfrom
enchancement/ui-redesign
Open

Enchancement/UI redesign#6
MSalman6 wants to merge 262 commits into
mainfrom
enchancement/ui-redesign

Conversation

@MSalman6
Copy link
Copy Markdown
Owner

@MSalman6 MSalman6 commented May 7, 2026

This pull request migrates the project from a Vite + React SPA to a Next.js-based application, introducing UIV2 — a ground-up redesign delivering a more refined, elegant interface with theming support and significantly expanded functionality. It also adds full Docker support and updates configuration, dependencies, and tooling to match the new stack. Legacy files and settings are removed, new environment variable conventions are introduced, and scripts and configuration for Dockerized production deployments are provided.


✨ UIV2 — New Interface

  • Introduces UIV2, a complete redesign of the frontend experience built on Next.js — featuring a more polished, elegant aesthetic with a refined visual language across all surfaces.
  • Added full theming support, enabling dynamic theme switching and laying the groundwork for deep customization options.
  • Brings activity history for key user actions including rewards claims, stake/unstake events, and bonus score tracking — with many more history views and extended customization capabilities on the way.

Migration to Next.js and Dockerization

  • Migrated the project from Vite to Next.js, including the addition of next.config.ts with standalone output, updated TypeScript and ESLint settings, and removal of legacy Vite and SPA-specific files such as index.html, serve.json, and SPA routes in src/App.tsx.
  • Added Docker support with a multi-stage Dockerfile, a .dockerignore file, and a docker-compose.yml for production deployments, including health checks and environment variable management.

Configuration and Environment Variables

  • Standardized environment variable names to the NEXT_PUBLIC_ prefix, expanded .env.example with new variables (e.g., WebSocket URL, DAO contract address, debug options), and removed the old .env file.
  • Added a runtime configuration API endpoint at src/app/api/config/route.ts to expose environment-based settings to the frontend and for health checks.

Dependency and Tooling Updates

  • Updated dependencies to latest versions compatible with Next.js 15 and React 19, removed packages only needed for Vite, and added new scripts for Docker and contract ABI management.
  • Introduced a new ESLint configuration (eslint.config.mjs) using Next.js and TypeScript rules.

Cleanup and Removal of Legacy Files

  • Removed obsolete files including public/manifest.json, public/robots.txt, custom CSS button styles, and other SPA-specific assets.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
diamond-ui Ready Ready Preview, Comment May 12, 2026 8:12pm

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