mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-26 13:25:50 +03:00
[GH-ISSUE #533] [bug] 记录按钮状态未正确更新 #386
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#386
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Wepre on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/533
详细描述这个 Bug
Bug Report: 记录按钮状态未正确更新
问题描述
在v0.20.0版本中,当用户点击AI生成文本条目旁边的"记录"按钮后,该对话会被添加到已记录列表中。然而,当用户从已记录列表中删除该对话后,原始文本条目中的按钮状态未正确更新,仍然显示为"已记录"状态,而应该恢复为原始的"记录"状态。
gif演示
复现步骤
期望行为
当从已记录列表中删除对话后,原始文本条目中的按钮状态应该从"已记录"恢复为"记录"。
实际行为
按钮保持在"已记录"状态,没有反映记录列表的实际变化。
环境信息
建议修复方案
建议在删除已记录对话时,同步更新原始文本条目中按钮的状态,确保UI状态与实际数据保持一致。这可能需要实现一个状态管理机制,在记录列表发生变化时通知并更新相关组件。
希望这个反馈对您修复问题有所帮助!如有需要更多信息,请随时告知。
NoteGen 版本
v0.20.0
操作系统
Windows
报错日志
No response