fix(diy): 草稿持久化 + 进入工作台即设计中 + 编辑页空态兜底

修正工作流批次①(问题 2+3+4):
- 问题2: 贴纸变化防抖 800ms 落缓存+服务端静默同步,
  useDidHide/卸载前强制 flush;中途退出不再丢布局
- 问题3: 进入工作台(新建/继续)即 PATCH designing(SUBMITTED),
  取代原「确认完成才提交」触发点
- 问题4: 草稿实时写缓存后贴纸编辑页始终能读到 stickers;
  另加 notFound 空态(未找到贴纸提示 + 返回工作台),
  handleEditSticker 跳转前 flushDraft 关闭防抖竞态窗口

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-09-12 19:07:07 +08:00
co-authored by Claude
parent 395fa4116c
commit eea6c3feef
10 changed files with 123 additions and 10 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long