🐛 fix: update message deletion logic to use optimisticDeleteMessage & Fix conversation shortcut keys#11222
🐛 fix: update message deletion logic to use optimisticDeleteMessage & Fix conversation shortcut keys#11222sxjeru wants to merge 12 commits into
Conversation
|
@sxjeru is attempting to deploy a commit to the LobeHub OSS Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## next #11222 +/- ##
==========================================
- Coverage 73.63% 72.63% -1.00%
==========================================
Files 1212 1179 -33
Lines 97566 89649 -7917
Branches 10602 9698 -904
==========================================
- Hits 71841 65120 -6721
+ Misses 25634 24438 -1196
Partials 91 91
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
TestGru AssignmentSummary
Tip You can |
…or context isolation
…ships and avoid branch index issues
|
#11760 I fixed the deletion issue here, let's keep only the shortcut key in this PR
Original Contenthttps://github.com//pull/11760 删除的问题我在这里修了,这个 PR 只保留 shortcut key 吧 |
|
@arvinxx I don't think the handling in #11760 is quite complete. Deleting and then regenerating messages in scenarios like 2/3 will cause noticeable jumps - first jumping to 1/3, then to 3/3, which doesn't feel good from a user experience perspective. It would be better to implement the logic in this PR, which generates the message first and then deletes the original one in the background.
|
…
💻 Change Type
🔗 Related Issue
🔀 Description of Change
已知问题:
🧪 How to Test
📸 Screenshots / Videos
📝 Additional Information