d5a08db56c
feat:添加存储空间
2026-07-29 16:03:33 +08:00
zerosaturation
3d984f19cd
feat(asset-detail): pull-down/up card gestures with smooth follow
...
Add AssetCardPullExpand component for locked-state display and wire
up/down gesture symmetry on the asset detail page.
Down-pull at top of list:
- card scales 1.0 -> 1.6 with translateY follow, sibling modules fade
out, hint text '下拉查看大图' -> '松手查看大图' past 80rpx
- on release past threshold, viewMode flips to expanded
Up-pull in expanded state:
- card shrinks 1.6 -> 1.0 with translateY follow, sibling modules fade
back in, hint text '上拉收起' -> '松手收起' past 80rpx
- on release past threshold, viewMode flips back to normal
- the locked scale(1.6) lives on the wrapper so the release animation
stays single-jump, not dual-jump
Implementation:
- AssetCardPullExpand renders the card at scale(1) and exposes isExpanded
for the parent's locked-state toggle (showMask prop gates the legacy
full-screen tap-to-collapse overlay)
- both gesture surfaces use lazy startY capture in onMove to avoid
tap-induced jumps; no CSS transition on the wrapper during active pull
- 0.15s transform transition smooths the release interpolation only
- header bar and report/share buttons stay visible in both states;
v-if/v-else-if/v-else chain (loading -> error -> expanded -> scroll-view)
preserved; existing 8 card class names and parent CSS untouched
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 14:13:39 +08:00
zerosaturation
89d5d12450
fix(task): backfill id=1/2 trigger_event + cleanup misleading NULL comments
...
daily_browse_asset (id=2) / daily_login (id=1) 之前永远不触发,根因:
2026_07_21_004 迁移只 backfill 了 id=3/4 的 trigger_event=task_key,
id=1/2 留 NULL。但 ProcessTaskEvent 引擎按 trigger_event = ? 严格匹配
(spec §4 单一隔离单元),NULL 不会命中,前端 reportEvent 后引擎跑空
循环、daily-tasks 任务永远 pending。
修复:
- 新增 2026_07_27_005 迁移:回填 id=1/2 的 trigger_event=task_key(幂等)
- 修订原 004 迁移的错误注释('trigger_event 留 NULL'误导后人)
- model/task_models.go:删除 'NULL 仍走 def.TaskKey 兜底' 不实承诺
- impl plan §37/39:修订错描述('暂不依赖 trigger_event 列')
- docker/init-db.sql:124668/124671:重建 dev DB 时也带 trigger_event
- daily_task_repo_test.go:补 2 个回归测试
- NullTriggerEvent_NotMatched:trigger_event=NULL 时查不到
- TriggerEventEqualsTaskKey_Matches:trigger_event=task_key 时能命中
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 16:36:40 +08:00
zerosaturation
4284775ed6
docs(daily-task): 修订设计 spec + 新增实施计划
...
- specs/2026-07-21-daily-task-config-driven-design.md: 修订 8 处反映实施反馈
(frontend 入口迁移、TaskEventPayload 路径、emit 失败仅 Warn 等)
- plans/2026-07-21-daily-task-config-driven-impl.md: 新增 8 阶段实施计划
(A schema → B 事件目录 → C 完成引擎 → D 事件接入 → E 重置 → F 测试 → G 部署 → H 验收)
时序与 spec §4 子章节对齐
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 15:47:24 +08:00
zerosaturation
383b5e042e
docs(starbook): add has_more design spec and implementation plan
...
记录星册首页 More 按钮恢复的方案说明与 TDD 实施计划,作为本次特性 commit e079a6c 的设计依据。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 19:20:32 +08:00
zerosaturation
d3b57e3058
docs: add starbook-recovery implementation plan (2026-07-24)
...
- 5 Task plan: proto 加 GetAssetsByType RPC (只改 .pb.go 不动 .triple.go);
- assetService provider 实现新 handler;
- gateway 重建 starbook_controller.go 薄壳(接口零变, owner→assetService);
- 路由注册 + main.go 装配;
- 端到端验证;
- 由于 Task 2 误删,本 plan 完整回滚 + 重建,前端 4 处调用零修改。
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 14:05:01 +08:00
zerosaturation
d5103f7043
docs:新增后端bug修改文档
2026-07-21 21:14:22 +08:00
zerosaturation
c0b577dd40
feat:增加邮箱管理功能
2026-07-14 21:59:15 +08:00
zerosaturation
74853800b6
feat:增加二维码验证真伪的功能
2026-07-13 11:22:56 +08:00
zerosaturation
e5bd0c854c
feat:增加忘记密码的功能
2026-07-09 19:00:03 +08:00
fbf3e6c63c
feat:增加分享页下载
2026-07-09 15:49:06 +08:00
5625f6ac28
feat:增加预加载接口
2026-07-09 13:27:25 +08:00
zerosaturation
a1e92448f1
feat:修改陀螺仪控制为手动控制
2026-07-06 21:20:24 +08:00
66d226948f
Merge pull request 'feat/actvity' ( #4 ) from feat/actvity into dev
...
Reviewed-on: https://git.liantu.tech/xiaoyu/topfans/pulls/4
合并feat/actvity
2026-07-03 16:28:30 +00:00
4eab42b3fb
feat:改为加速度计优化
2026-07-02 19:05:54 +08:00
Lenticular Studio Agent
65ce6bba12
feat: Dify 部署脚本修复 + AI 搭子 MVP 接入
...
主要改动:
fix(docker/dify-deploy): 修复脚本核心功能
- heredoc 单引号 bug: 'ENVEOF' 改为 ENVEOF,变量正确展开
- 端口默认值 8083/8084/8085 对齐 .env.prod 生产配置
- 加 dc_cmd() 兼容 docker-compose v1/v2 plugin
- openssl rand 生成强随机密码与 SECRET_KEY(42 字符)
- install 跳过已存在 .env,保护用户配置(管理员密码/SECRET_KEY)
- read -p < /dev/tty 兼容非 tty 环境(CI/CD)
- show-config 改用 DIFY_NGINX_PORT(nginx 入口)而非 APP_WEB_PORT
docs(mvp-design): 修正 §3.2 workflow inputs 描述
- 实际只有 query,删除错误的 user_id input 声明
- 节点序列图同步更新
feat(aiChatService): 新增 Dify 客户端与适配器
- service/dify_client.go: Dify Workflow 调用 + SSE 解析
- service/dify_adapter.go: 与现有 chat_service 桥接
- provider/ai_chat_provider.go: Dubbo 入口简化
- main.go: 装配 ConversationRepository + DifyClient
feat(migrations): 新增 AI 搭子会话表 ai_chat.sql
- ai_conversations / ai_messages 表 + 索引
docs: 新增 Dify 集成设计文档
- 2026-06-29-ai-chat-dify-mvp-design.md (MVP 实施级)
- 2026-06-29-ai-chat-dify-integration-v2-design.md (V2 演进路线图)
- docs/dify/角角.yml (Workflow DSL 导出)
config: 更新 env 模板与 docker 配置
- backend/.env.example: DIFY_* 环境变量声明
- docker/.env.prod: DIFY_API_BASE 对齐 8083
- docker/build.sh: 微调
- CLAUDE.md: 项目规范补充
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-02 12:32:34 +08:00
zerosaturation
2032246fd0
feat:增加分享界面,完善的保存图片功能
2026-06-26 16:45:29 +08:00
zerosaturation
0d6b7a9e95
feat:增加购买道具的聚合功能
2026-06-24 19:51:13 +08:00
zerosaturation
75ab617c6c
feat:增加实时留言功能和修改轮询道具购买记录显示改为websocket显示
2026-06-23 18:13:55 +08:00
zerosaturation
7eb6dad434
feat:新增举报和反馈功能
2026-06-22 17:19:48 +08:00
zerosaturation
7074546959
feat:新增通知系统
2026-06-16 21:30:58 +08:00
f30655ec64
feat:添加压测工具脚本
2026-06-15 15:28:25 +08:00
3b14922e48
docs(plan): 修复 4 个真实编译风险 + 1 个范围声明
...
- Task 3.3: 补 rate-limit 函数(IncrMobileCount/IncrIPCount 等)
场景化,11 个函数完整列出
- Task 4: 加 4.4-4.6 修复 auth_provider.go / unified_provider.go /
auth_controller.go 调用点(否则编译失败);修订'明确不动'列表
- Task 4.3: 引入 VerifyTokenFn package-level var DI 模式(让
Task 6.2 的 setupVerifyTokenMock 可工作)
- Task 6.3: 改用 VerifyTokenFn 注入调用,匹配 DI 模式
- Task 7: 5 PASS + 5 SKIP 明确分工(避免验收标准误导)
- Task 10.2: 完整 import 块 + 用 errors.Is 标准库 + pbCommon 别名
- 依赖图:刷新编号,前端 Task 9/11 可独立推进说明
- 验收标准:5 PASS + 5 SKIP 标注
2026-06-12 15:18:40 +08:00
ae6dabba69
docs(plan): 修改密码功能实现计划 - 12 个 Task
...
- Task 1: proto 加 verify_token + regen
- Task 2: errors.go 新增错误码 + ToStatusCode errors.Is 改造
- Task 3: SMS Redis key scene-aware 重构
- Task 4: SMS service SendCode/VerifyCode/VerifyToken 加 scene
- Task 5: auth_service.Register 调用点更新
- Task 6: user_service.UpdatePassword 完整实现(TDD)
- Task 7: password_test 10 个测试骨架
- Task 8: user_provider 透传 ctx
- Task 9: api.js 拦截器去 400 自动登出
- Task 10: auth_service.Login BUG 修复 + 2 测试
- Task 11: profile.vue 改密弹窗 5 UI 区 + handler + CSS
- Task 12: 回归 + 灰度发布
总览:
- 12 个 task,每 task 含文件路径+步骤+命令
- TDD 优先,frequent commits
- 任务依赖图清晰,可识别可并行项
- 验收标准 12 条
2026-06-12 15:13:53 +08:00
c90dcf3d36
feat:去掉无用的图片
2026-06-11 12:53:44 +08:00
90803234ba
style(stargalaxy): remove shared podium size — each .podium-N controls its own width/height
2026-06-10 19:16:03 +08:00
zerosaturation
d859650136
feat:修改数据看板
2026-06-09 00:37:42 +08:00
zerosaturation
9d7e360845
docs: 文档修改
2026-06-08 17:06:53 +08:00
liulong
b9527bee70
feat:合并新
2026-06-03 22:41:19 +08:00
liulong
10168f8e6b
feat:实现AI生成镭射卡功能
2026-06-03 22:19:22 +08:00
8f84b2ad58
fix(plan): 4 条阻塞 + 2 条 advisory 修复(re-review 反馈)
...
阻塞修复:
1. Task 7: chartData/chartOpts 加入 return,H5 模板可访问
2. Task 13: 补 onUnmounted import
3. Task 13: 删除 4 个重复的 onShow 草稿块,保留唯一规范版本
4. Task 2: 新增 USE_MOCK_API 翻 true 的步骤(api.js 默认 false)
advisory 修复:
- Task 10: margin: 24r 0 → 24rpx 0
- Task 13: 删 enablePullDownRefresh(与 scroll-view refresher 冲突)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 01:20:47 +08:00
72c91c1787
fix(plan): 应用 plan reviewer 5 条 issue + 2 条 advisory
...
修复:
1. Task 14: 删除 scrolltolower 误绑定(每次滚到底会触发全量刷新)
2. Task 14: 补 onShow 生命周期(spec §4.1 要求从其他页返回时强制刷)
3. Task 3: refresh() 改为 cache-aware 默认行为;force 需显式传参
4. Task 7: 删除未被引用的 chart-theme.json(死文件)
5. 删除原 Task 13(SectionSkeleton+EmptyState 死组件)
6. Task 13: pageBg 改用 SCSS class 引用,移除 inline 重复字符串
7. 新增 Task 14 全链路手动验证(spec §8.2 核对清单)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 01:20:47 +08:00
702fc1d383
docs: 数据看板前端实现 plan
...
14 个任务,2-3 天工作量(前端部分),按 M2-M6 阶段分组。
不引入测试框架,验证走手动核对清单。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 01:20:47 +08:00
zerosaturation
cb648d2cb0
docs: add VerticalProgressBar implementation plan
2026-06-02 21:40:28 +08:00
19bfce1b65
docs: 添加热门推荐模块前端实现计划
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 17:46:08 +08:00
zerosaturation
9b0c3ee3a9
docs:ai搭子修改,热门模块新增,字段判断基础文档
2026-05-27 16:49:58 +08:00
zerosaturation
a39bb7b60f
feat:新增sms短信注册
2026-05-26 13:23:04 +08:00
zerosaturation
2a0db41dbf
fix: wire AssetLevelService into existing service constructors
2026-05-25 19:03:32 +08:00
zerosaturation
45d3adc373
feat:添加光栅卡的选择
2026-05-17 19:03:34 +08:00
zerosaturation
f154555c4c
docs: 添加灵感瀑布流 Redis 会话缓存实现计划
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 18:15:27 +08:00
zerosaturation
17674e3d54
docs: 修复实现计划中的问题
...
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:45:31 +08:00
zerosaturation
a7249110fe
docs: 添加 Redis Token 黑名单实现计划
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 16:41:38 +08:00
e500bff6ff
style:修改样式
2026-05-14 15:59:56 +08:00
1af0a0527a
feat: 新增图片,修改应援消耗道具
2026-05-14 12:17:50 +08:00
zerosaturation
4e13c86aa4
fix: 修改任务系统奖励修复
2026-04-15 14:11:07 +08:00
4e927451a9
未完成的文档
2026-04-14 14:38:16 +08:00
ad20197352
feat: 每日任务集成
2026-04-14 14:32:56 +08:00
zerosaturation
2de9e1dd57
docs: fix hot-reload plan - timestamp debounce, PID files, cleanup
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:09:34 +08:00
d2c4929113
文档
2026-04-10 16:17:45 +08:00
zerosaturation
575233b51f
docs: 标记 Task 6 已完成(使用os.Getenv替代)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00