- 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
2.5 KiB
Changelog / 更新日志
All notable changes to this template should be documented in this file. 本模板的重要变更建议统一记录在此文件中。
The format loosely follows Keep a Changelog and can be adapted to the team's habits. 本文档参考了 Keep a Changelog 的思路,也可以根据团队习惯调整。
[0.1.0] - 2026-08-27
Changed / 变更
-
Refactored the vanilla frontend into a component-based structure (Alpine.js components, a central state store, and a shared icon module) while keeping the no-build, Go-served static-file approach.
-
将原生前端重构为组件化结构(基于 Alpine.js 的组件、集中式状态 store、共享图标模块),同时保留由 Go 直接托管、无需构建的静态文件方案。
-
Replaced the duplicated Inbox/Outbox markup with a single reusable
fileSectioncomponent configured by props (dir,canShare). -
用同一个可复用的
fileSection组件(按属性dir、canShare配置)替换了原先重复的收件箱/发件箱标记。 -
Split styles into design tokens, base, and component layers under
web/styles/, and moved UI icons into a sharedwindow.Iconsmodule. -
将样式拆分为
web/styles/下的设计令牌、基础样式与组件样式三层,并把界面图标统一收敛到共享的window.Icons模块。
[0.0.1] - 2026-04-28
Added / 新增
-
Added an English project-template README in
docs/README.md. -
在
docs/README.md中补充了英文版项目模板说明。 -
Added a Chinese project-template README in
docs/README_zh.md. -
在
docs/README_zh.md中补充了中文版项目模板说明。 -
Added guidance for template users on how to rewrite the README for their own project.
-
增加了模板使用者如何把 README 改写为自己项目介绍的说明。
-
Added a documented repository structure overview based on the current scaffold.
-
基于当前仓库骨架补充了目录结构说明。
-
Added this changelog file for future template maintenance.
-
新增本更新日志文件,便于后续持续维护模板。
Notes / 说明
-
The repository currently provides structure and placeholder files rather than a finished implementation.
-
当前仓库主要提供目录结构和占位文件,尚不是一个已完成功能实现的成品项目。
-
Future updates should record framework selection, startup steps, deployment workflow, and major documentation changes.
-
后续若补充了技术栈、启动流程、部署方式或重要文档内容,建议继续记录在本文件中。