mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
932f0c65b9
- Add UpdateUser API and logics supporting nickname, email, admin flag modification, and password reset. - Relocate user delete button and confirmation Alert into the EditUserModal. - Optimize admin Switch change to trigger instant API request with rollback support. - Fix missing email field in edit form initialization by fetching full profile metadata. - Render email column in users list and support email-based filtering in UserFilterBar. - Remove hardcoded styles and sizes from Switch components to follow global theme.
Wavelet Frontend
Modern frontend application for the Wavelet scaffold framework.
中文 | English
Tech Stack
- Framework: Next.js 16
- Styling: Tailwind CSS 4
- UI Components: Radix UI
- Icons: Lucide React
- Package Manager: pnpm
Getting Started
Prerequisites
- Node.js (Latest LTS recommended)
- pnpm
Installation
-
Install dependencies:
pnpm install -
Run the development server:
pnpm devOpen http://localhost:3000 (or the port shown in your terminal) with your browser to see the result.
Project Structure
app/: Next.js App Router pages and layoutscomponents/: Reusable UI componentsui/: Base UI components (buttons, inputs, etc.)common/: Shared business components
lib/: Utility functions and service definitionspublic/: Static assets
Scripts
pnpm dev: Start development server with Turbopackpnpm build: Build the application for productionpnpm start: Start production serverpnpm lint: Run ESLint