|
|
3702e3d1f2
|
chore: Tailwind CSS 3.4 迁移到 4.x(CSS-first 配置 + @tailwindcss/vite)
- 升级 tailwindcss@4.3 + @tailwindcss/vite,移除 postcss/autoprefixer/tailwindcss-animate
- tailwindcss-animate 替换为 tw-animate-css(v4 兼容的 animate-in/out 工具类)
- global.css 改用 @import "tailwindcss" + @theme inline 映射 shadcn 设计令牌
- @custom-variant dark 替代 darkMode:'class';@source 显式纳入 pages/ 目录
- 删除 tailwind.config.ts / postcss.config.js,components.json 同步 v4 约定
- vite.config.ts 接入 tailwindcss 插件,__dirname 改 import.meta.dirname
|
2026-09-09 02:54:56 +08:00 |
|
|
|
1ce0f123fa
|
feat: Node 渲染服务器(express + renderPage + API 反代)
- server/index.mjs:生产模式 Express 服务,静态资源 immutable 缓存
- /api /uploads /media 等前缀反代到 Go API,xfwd 透传客户端 IP
- Vike renderPage 承接 SSR,渲染失败返回 500 兜底页
- /healthz 健康检查端点
|
2026-09-09 02:41:39 +08:00 |
|
|
|
c99238c1e7
|
feat: Vike +data 服务端取数 / SEO Head 移植 / 404 错误页 / 服务端 DOM 模拟
- feedData.ts 聚合首页/板块/帖子详情数据,缺失内容 throw render(404)
- Go 侧 spa_meta/seo 的 head 生成逻辑移植到 src/ssr/head.ts
- _error 页复用站点壳渲染 404,+data 从 abortReason 恢复壳层数据
- linkedom 模拟服务端 DOM,DOMPurify 封装为 SSR 透传的 sanitizeHtml
- 新增 /api/home-boot 聚合端点(handler/home_boot.go)供 SSR 冷启动灌缓存
|
2026-09-09 02:41:30 +08:00 |
|
|
|
e71c77b5ca
|
feat: Vike 骨架(pages feed+spa / renderer 双端入口 / AppShell 拆分 / serverClient)
vite.config 接入 vike 插件并改产出 dist/client+dist/server;feed 白名单 route 匹配 /、/board/:id、/post/:id(.html);spa catch-all ssr:false;onRenderHtml renderToReadableStream 等 allReady 输出完整 HTML 并带主题/缩放脚本;onRenderClient 沿用样式表等待+冷启动预热+hydrate 回退;getHomeStoreState 作用域 + hydrating 变体入 RequestScope;删除 index.html 与 main.tsx
|
2026-09-09 01:21:58 +08:00 |
|
|
|
27132e89c2
|
feat: SSR 安全防卫与缓存作用域化(branding/limits/pages/auth/session)
theme/useTheme 服务端防卫 window/document;branding/limits/pages 缓存读请求作用域、seed 只写作用域;homeBoot 拆出 seedHomeBoot 与帖子详情快照构建器供 prefetchRoute 复用;getHomeStoreState 改返回 state 修复命令式访问
|
2026-09-09 01:05:12 +08:00 |
|
|
|
86a317c862
|
feat: SSR 请求级作用域(AsyncLocalStorage)+ homeStore 工厂化 + layoutCache 作用域适配
|
2026-09-09 00:35:19 +08:00 |
|
|
|
52d328ffc3
|
chore: 工具链升级到最新版本(Vite 8 / React 19 / react-router 8 / TS 7 / Go 1.26 依赖更新)
- 前端:vite ^8.2.2、react/react-dom ^19.2.8、react-router ^8.3.1(移除 react-router-dom)、typescript ^7.0.2、zustand ^5.0.15;适配升级带来的类型变化(react-hook-form Resolver、ProseMirror node.parent、tiptap focus 参数、timer undefined 等)
- 后端:升级 gin/jwt/minio-go/gorm/modernc-sqlite/x-crypto 等直接依赖至最新;gowebp v0.1.1 已是最新版本
- tsconfig 移除 baseUrl,paths 改为相对路径以兼容 TS7
|
2026-09-09 00:14:12 +08:00 |
|
|
|
711cd8b759
|
feat: 帖子全局/板块置顶支持权重排序,优化列表与详情渲染
|
2026-09-08 23:54:03 +08:00 |
|
|
|
cad53942e8
|
fix: 修复消息未读数同步和帖子详情快照逻辑
- MessagesPage: 新增 updateConvUnread 统一更新会话未读数及 session 缓存,
缓存命中时仍调用 markConversationRead 并触发未读刷新,
全部标为已读时同步更新 session 缓存避免 stale 数据
- PostDetailPage: 仅 POP 导航类型使用 session 快照恢复,
非 POP 导航和下拉刷新始终强制重拉确保拿到最新数据
|
2026-09-02 19:29:01 +08:00 |
|
|
|
76be8926f2
|
feat: 完善表情选择与评论富文本展示
发帖编辑器支持 OwO 贴纸;评论区复用文章列表、段落与代码块阅读态,并优化表情面板间距与悬停反馈。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-02 03:57:41 +08:00 |
|
|
|
4d93e455f9
|
fix: 私信表情插入编辑框,不再作为图片附件发送
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-02 03:12:33 +08:00 |
|
|
|
84bfbd9a3e
|
fix: 帖子详情右栏默认头像与全站配色一致
作者卡占位头像改为深绿底白字,与 post-avatar 默认样式统一。
|
2026-09-02 02:50:23 +08:00 |
|
|
|
500e452c2f
|
feat: 重设计私信页并优化开源展柜体验
私信改为飞书风布局,支持缩略图表情/图片、按会话草稿与用户搜索发起会话;主页发私信直达消息页。开源展柜修复空列表粘滞并改版目录式 UI。
|
2026-09-02 02:45:29 +08:00 |
|
|
|
1c0f7ede55
|
fix: 待审通知实时回填审核态并重构消息页体验
|
2026-09-02 01:39:27 +08:00 |
|
|
|
dff60dde6a
|
fix: 首页默认排序改为最近活动时间线
reply 按发帖与最后评论的较晚时间混排,零回复新帖不再沉底;默认文案改为「最新」。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 21:54:44 +08:00 |
|
|
|
ea9e0058d4
|
fix: 链接对话框站内搜索收进高级选项
默认只显示网址与文字;展开高级选项后再搜站内内容,点选时同步更新链接文字。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 21:33:24 +08:00 |
|
|
|
d5aa36416c
|
feat: 增强编辑器链接对话框并统一图片插入选择器
链接支持网址/文字与站内搜索,新标签由全站设置控制;文章与评论共用已上传图片选择器。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 21:22:03 +08:00 |
|
|
|
2159280af5
|
style: 三栏主滚动区统一细绿色滚动条
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 19:12:24 +08:00 |
|
|
|
bc9a031890
|
feat: 单页详情右侧栏与帖子共用目录布局
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 18:34:59 +08:00 |
|
|
|
0d81787125
|
fix: 从正文同步派生帖子目录,避免预取缓存竞态导致空树
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 18:25:42 +08:00 |
|
|
|
b608ec85ba
|
fix: 桌面隐藏导航汉堡,恢复评论数与共 N 条右对齐
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 08:11:29 +08:00 |
|
|
|
6048d71759
|
fix: 帖行评论数勿贴右缘,手机 SSR 顶栏/页脚与 React 同构
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 08:06:57 +08:00 |
|
|
|
37d14a22d5
|
fix: 发版后软刷新检测入口壳并在 chunk 404 时硬刷新
避免 Logo/下拉刷新仍跑旧 index.js,以及站内消息预取失败弹出英文 toast。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 07:53:39 +08:00 |
|
|
|
a02d103cfe
|
fix: 排序栏 count 紧跟标签,FeedSortBar 与 SSR 统一为 a 标签
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 07:48:18 +08:00 |
|
|
|
21c6233fc0
|
feat: 排序标签强制刷新、推荐帖仅 featured,软刷新同步 limits/品牌文案
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 07:32:21 +08:00 |
|
|
|
44eed97fe0
|
feat: 首页 Go SSR 与 React hydrate 同构,消壳层与帖行闪动
补齐侧栏/右栏图标与徽章、鉴权种子、StaticFeedList,并修正嵌套 a 与标题徽章对齐。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 07:07:38 +08:00 |
|
|
|
9e134916a4
|
fix: 软刷新齐套前保留旧画面,避免一点击就卸光
Logo/下拉静默预热后一次覆盖;commit 不再先 reset/loading;顺带会话预取与可配置 Feed 排序标签。
|
2026-09-01 04:56:10 +08:00 |
|
|
|
ba60a9b1c4
|
feat: 调整 Feed 排序为新评论/新帖子/推荐帖
默认按新评论;推荐排序优先 featured,并将用户可见「精华」文案改为「推荐」。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 01:59:01 +08:00 |
|
|
|
132ca5c82c
|
fix: 用 Zustand 缓存 Feed 列表,返回时恢复滚动且不重复请求
点击 Logo 仍强制刷新;后退忽略 history 上的 refreshFeed,并支持过期静默刷新与下拉刷新。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-09-01 01:50:33 +08:00 |
|
|
|
185649db7c
|
fix: 增加手机端排序栏顶部间距
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-31 23:56:40 +08:00 |
|
|
|
a91d917fa9
|
fix: 对齐监控概览双通道口径文案与诊断抽样
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-31 08:58:03 +08:00 |
|
|
|
429956c594
|
feat: 管理端网站监控,浏览量写入独立 monitor.db
请求日志按日 JSONL;page_views 不进主库,避免统计数据撑大 jiang13.db。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-31 07:55:45 +08:00 |
|
|
|
95c2154087
|
feat: 可选社区上报与官方精选展柜
默认关闭,仪表盘一键开关;枢纽由运维配置收报,人工精选后展示于 /showcase。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-31 04:22:59 +08:00 |
|
|
|
bcfd306643
|
feat: 评论管理操作收进更多菜单,减少管理员界面杂乱
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-31 00:08:16 +08:00 |
|
|
|
a83f8bd670
|
feat: 帖子管理收进右上角菜单,手机端评论输入默认折叠
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-30 22:58:55 +08:00 |
|
|
|
4dc3bbb13f
|
fix: 单页正文改用 post-detail-content 对齐帖子排版
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 19:33:09 +08:00 |
|
|
|
8cfe31da61
|
fix: 锁死页面双指缩放,正文原图与灯箱 pinch 放大
禁止手机/平板整页捏合缩放;帖子与单页正文直接显示原图(含外链可点开灯箱),灯箱内支持双指缩放与拖动。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 19:11:00 +08:00 |
|
|
|
7965768f3d
|
fix: 注册用户无头像时不再误用游客灰底样式
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 04:05:14 +08:00 |
|
|
|
012cac23de
|
feat: 去掉 Feed 顶栏统计并强化开源码桶
按帖子列表风格展示码桶,补齐语言/Star/Fork 与论坛作者关联回填,避免未绑定仓库与空列表。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 03:58:04 +08:00 |
|
|
|
d929bf96aa
|
fix: 首页帖子列表标题去掉加粗
保留 15px 字号,字重改回 400。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 03:11:47 +08:00 |
|
|
|
cce9fb9ed8
|
feat: 友链入口迁至站点区并支持左右页脚独立开关
修复左侧栏/页脚开关无法关闭的问题,改为专用设置接口可靠写入。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 03:04:22 +08:00 |
|
|
|
9eefe24a33
|
feat: 优化单页编辑、列表留白与友链申请体验
单页全屏编辑并禁用内容门控;对齐 Feed 留白;友链申请区前置并收敛弹框样式;略增大帖子列表标题字号。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-28 02:39:24 +08:00 |
|
|
|
f559fc4c4b
|
fix: 适配手机端搜索入口与底部 Sheet 面板
顶栏改为可伸展搜索 pill,面板改为自底部滑出并优化筛选条与触控布局。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-27 23:39:32 +08:00 |
|
|
|
55b1831da2
|
feat: 重设计搜索帖子 UI/UX,新增筛选面板与结果页 chips
将高级筛选移入独立面板,统一 URL 状态与清除逻辑,并优化移动端搜索与空结果反馈。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-27 19:21:55 +08:00 |
|
|
|
c6df703b96
|
fix: 占位头像默认白字并保留 hover 描边反馈
修复 user-link inherit 覆盖 post-avatar 白字的问题,头像链接 hover 时用淡绿描边替代变绿字。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-27 19:01:18 +08:00 |
|
|
|
7cc574f9a1
|
feat: 优化首页帖子列表并新增右侧栏最新注册组件
首页列表精简 meta 与统计展示,板块色标前移并淡化;有回复时显示最后回复人。右侧栏新增最新注册(4 列头像网格),友链改为标签块并排换行。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-27 18:50:09 +08:00 |
|
|
|
2208af7070
|
feat: 增加友链申请、独立页面、投票/悬赏/抽奖帖与侧栏签到,并统一开发数据目录
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-08-27 06:23:54 +08:00 |
|
|
|
4f85a86077
|
fix: 修复生产环境表情无法显示的问题
1. 后端新增/stickers路由静态文件服务,设置1天缓存
2. 排除/stickers前缀的SPA路由拦截
3. 优化评论区表情按钮样式与可访问性
4. 移除编辑器中未使用的标题工具与引用工具
|
2026-08-12 02:49:26 +08:00 |
|
|
|
f0650a9c39
|
fix(post-detail): 修复评论定位不准确和重试机制缺失问题
将jumpToFloor改为使用pageRef.scrollTo替代scrollIntoView适配自定义滚动容器,同时为floor锚点定位添加完善的重试机制,对齐heading锚点的处理逻辑
|
2026-08-11 22:52:55 +08:00 |
|
|
|
4f42a2faff
|
fix(comment): 修复评论框提交后重置和聚焦的问题
1. 为CommentEditor的focus方法添加preventScroll可选参数并透传调用
2. 使用ref记录上次提交计数,避免首次挂载时重复清空输入框
3. 仅在submitCount实际变化时重置表单并聚焦编辑器
|
2026-08-08 15:09:43 +08:00 |
|