Commit Graph

9 Commits

Author SHA1 Message Date
lafay
bfb018b766 fix(api): handle varying API response formats in channels data retrieval
Some checks failed
Admin CI / build-and-push-web (push) Failing after 2m29s
Add defensive check to handle both direct array responses and nested list format from API, ensuring consistent channel data display regardless of response structure.
2026-04-04 00:38:52 +08:00
lafay
740bfc76fa build(config): update API endpoint to production URL and remove dev proxy
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m52s
Changes the default API base URL from local development server (127.0.0.1:8080) to the production endpoint (bbs.littlelan.cn) and removes the Vite dev server proxy configuration, as the application now connects directly to the production API.
2026-04-04 00:31:53 +08:00
lafay
dacad1587a refactor(ui): clean up unused imports and variables in UI components
All checks were successful
Admin CI / build-and-push-web (push) Successful in 3m48s
2026-04-04 00:25:18 +08:00
lafay
ff77b46f79 build: add Docker and nginx configuration for deployment
Some checks failed
Admin CI / build-and-push-web (push) Failing after 2m50s
Added Dockerfile.web for containerizing the web application and nginx.conf
for serving the application in production. Also included .gitea/ directory
for CI/CD configuration.
2026-04-04 00:20:45 +08:00
lafay
3e06cfde76 Enhance Reports page with safe date formatting, improved status colors and icons, and add statistics display for report statuses. 2026-03-30 18:01:38 +08:00
lafay
e7c9ee5159 Add reports management to Sidebar and API index; introduce new route for reports with appropriate guard 2026-03-29 20:13:32 +08:00
lafay
c71e6c6587 Add channels management to Sidebar and API index; update MaterialSubjects for icon handling 2026-03-26 01:27:59 +08:00
lafay
2910dd6ccf Enhance Sidebar with new menu items for materials management and update TypeScript configuration. Add subjects and materials APIs to the API index. Introduce new routes for materials and subjects with appropriate guards. 2026-03-25 20:44:27 +08:00
lan
890c33f510 Initial commit 2026-03-14 18:24:33 +08:00