mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
fc569d1758
- Dynamically import `ZonePageClient` with `ssr: false` in `websites/[zoneId]/page.tsx`. - Remove `generateStaticParams` to prevent dynamic paths from building with inconsistent SSG/ISR outputs. - Remove redundant `mounted` check from `page-client.tsx` since dashboard is client-only. - Add `bytes_sent` to `NodeAccessLog` on both Agent and Master Server. - Create ClickHouse migration `202607120001_add_bytes_sent_to_node_access_logs.sql`. - Refactor duplicate stats structs by centralizing them into `analyticsmodel` package with type aliases. - Simplify access log store delegations and remove redundant mapping loops. - Support full console menu display management in settings other-tab. - Regenerate Swagger documentation. - Update changelog index.md.
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