|
|
20aee9c566
|
chore: 清理 SSR 改造后的历史遗留死代码与误提交产物
- 删除图形验证码整条死链:service/captcha.go、APICaptcha、
GET /api/captcha、CaptchaService 装配、ErrCaptchaInvalid 及前端
api.captcha()(注册/登录已改用邮箱验证码,Verify 无任何调用方)
- 删除 GET /api/posts/hot 死路由:APIHotPosts + PostService.HotPosts
(热门排序走 /api/posts?sort=hot)
- 删除 GET /api/posts/:id/revisions/:revId 死路由:
APIPostRevisionDetail + PostService.GetRevision + ErrRevisionNotFound
及前端 api.postRevision()(历史面板仅用列表接口)
- 停止跟踪误提交的 27.5MB Linux 二进制 jiang13-linux-amd64 与
.vite 依赖缓存;.gitignore 补充对应规则并移除已失效的
embed_static 条目
|
2026-09-11 00:39:58 +08:00 |
|
|
|
2392768868
|
feat(ssr): 真 SSR 收尾——干净 hydration 与浏览器原生滚动恢复
- 修复 onRenderClient 引入 serverClient 导致浏览器 process is not defined:
抽出双端安全的 ssr/feedSeed.ts 作为唯一数据播种入口,serverClient 加 SSR 守卫
- 修复 React 19 Fizz Suspense Outlining:Suspense 边界从布局 Outlet 下移到
各懒加载路由,SSR 输出不再出现 <!--$?--> / $RB / template 探针标记
- 修复窄屏 React #418 hydration 致命错误:useMediaQuery 首帧恒 false,
useLayoutEffect 绘制前同步真实值;主题改 cookie 存储供 SSR 直出,
head 内联防闪烁/缩放脚本移除(缩放锁改为客户端 zoomGuard 模块)
- 清理假 SSR 残留:删除 StaticFeedList 镜像组件、SSR 图标生成脚本、
探针与死代码;列表接口裁剪正文,仅下发 excerpt/first_image
- Feed 与帖子详情改为窗口滚动(app-shell--doc-scroll):删除虚拟列表、
自研滚动快照与全局滚轮 hack;F5/前进后退滚动位置全部交给浏览器原生
历史恢复,HTML 响应头 no-cache 配合;锚点/楼层用 scrollIntoView +
scroll-margin-top 适配 sticky 顶栏
|
2026-09-09 20:53:28 +08:00 |
|
|
|
67bef6dc08
|
chore: 同步 Cursor 构建规则到 Trae,优化 .gitignore
- 新增 .trae/rules/build-scripts.mdc,与 Cursor 的 .cursor/rules/build-scripts.mdc 保持一致
- .gitignore 从忽略整个 .trae/ 改为仅忽略 .trae/documents/、.trae/chat/、.trae/image/ 等临时产物
- 保留 .trae/rules/ 可被 git 追踪,规则可跨机器同步
- 取消追踪已存在的 .trae/documents/ 临时规划文档
|
2026-09-02 19:34:49 +08:00 |
|
|
|
23e304ac53
|
chore: 在 .gitignore 中添加 .trae/ 目录
|
2026-09-02 19:30:33 +08:00 |
|
|
|
cf7a37eccc
|
chore: 忽略 lucide path 抽取临时文件
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 07:08:47 +08:00 |
|
|
|
9487c8ab02
|
支持 app.ini 配置与系统服务安装,并优化前端布局与无障碍体验。
引入类 Gitea 的 app.ini、Windows Service/systemd 控制;前端增加侧栏抽屉、回到顶部、标签输入与浮层 a11y。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-29 14:09:58 +08:00 |
|
|
|
962bb15298
|
chore: 不再跟踪 embed_static/static/spa 构建产物
SPA 由 Vite 输出至 embed_static,发布前通过 build 脚本构建即可。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-29 02:41:32 +08:00 |
|
|
|
b27289bbea
|
开源准备:重写 README 展示 UI/UX,更新模块路径
- 新增界面截图与 CONTRIBUTING.md
- README 以三栏布局、暗色主题、移动端等视觉亮点为主
- go module 迁移至 git.iioio.com/freefire/jiang13-forum
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-15 21:15:51 +08:00 |
|
|
|
e1c1708715
|
初始提交:姜十三论坛 Jiang13 Forum
轻量自用论坛,Go 单二进制 + React SPA 内嵌 + SQLite。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-15 21:08:52 +08:00 |
|