Commit Graph
12 Commits
Author SHA1 Message Date
XingfenD 5bb42a8b8a feat(web): add i18n, light/dark theme switching, and version constant
- Add i18n (English + 简体中文) with a locale store, $t() magic, and a language toggle (persisted)
- Add light/dark/system theme switching via a theme store and [data-theme] token overrides
- Set the theme before paint to avoid a flash of the wrong theme
- Add frontend version constant web/version.js (window.YDROPBX_VERSION) shown in the app footer
- Update AGENTS.md version-control convention to mention web/version.js
- Bump version to 0.1.1 across frontend, webui changelog, and backend constant
2026-08-27 15:21:21 +08:00
XingfenD d84e4dfdba feat(web): componentize frontend and replace native delete confirm
- Split monolithic app.js/style.css into Alpine.js components (icons, store, fileSection, confirm)
- Add central Alpine.store('files') as single source of truth for file lists and actions
- Replace duplicated Inbox/Outbox markup with reusable fileSection component (props: dir, canShare)
- Add shared window.Icons module to remove duplicated inline SVGs
- Replace browser-native confirm() for file deletion with a styled, accessible modal dialog
- Split CSS into design tokens, base, and component layers; modernize visuals
- Update web.go embed and server static routes for the new component/style dirs
2026-08-27 15:03:09 +08:00
XingfenD d988d35881 fix: address branch review issues (json tags, share lockout, session expiry, file unlink) 2026-08-26 23:44:19 +08:00
XingfenD f5a21d922d feat: assembly and main entry point 2026-08-26 23:38:13 +08:00
XingfenD c59654fcaa feat: route registration 2026-08-26 23:34:30 +08:00
XingfenD 7c10fdb50b feat: add share handlers with password protection and expiry 2026-08-26 23:31:58 +08:00
XingfenD 04d054afdc feat: file handlers (upload/list/download/delete) 2026-08-26 23:22:47 +08:00
XingfenD af6aba3d37 feat: auth handlers and session management 2026-08-26 23:16:08 +08:00
XingfenD 2852097b26 feat: scanner for directory reconciliation 2026-08-26 23:04:13 +08:00
XingfenD ee9eaf8817 feat: share CRUD with cascade delete 2026-08-26 21:49:26 +08:00
XingfenD 245497999e feat: store layer with file CRUD 2026-08-26 21:41:47 +08:00
XingfenD a547b69725 chore: project scaffolding 2026-08-26 21:39:31 +08:00