mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
* fix: prevent incorrect @ symbol deletion in QuickPanel - Track trigger source (input vs button) and @ position - Only delete @ when triggered by input with model selection - Button-triggered panels never delete text content - Validate @ still exists at recorded position before deletion * feat: delete search text along with @ symbol - Pass searchText from QuickPanel to onClose callback - Delete both @ and search text (e.g., @cla) when model selected - Validate text matches before deletion for safety - Fallback to deleting only @ if text doesn't match * refactor: clarify ESC vs Backspace behavior in QuickPanel - ESC: Cancel operation, delete @ + searchText when models selected - Backspace: Natural editing, @ already deleted by browser, no extra action - Clear separation of intent improves predictability and UX |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||