Closed ericyzhu closed 6 days ago
Thank you for your contribution. We will review it promptly.
@ericyzhu is attempting to deploy a commit to the RSS3 Team on Vercel.
A member of the Team first needs to authorize it.
Suggested PR Title:
feat(dialog): add icon to confirmation dialog for clearing data
Change Summary: Modified the clearAllDataAndConfirm function to include an icon in the confirmation dialog, improving user interface feedback when clearing data. The addition of the icon enhances visual clarity and enhances the user experience during this operation.
Code Review: No change requests necessary.
Description
The Electron assigns the latin string "Yes" to the "Confirmation" action and "No" to the "Cancel" action. Although the display order of the buttons is reversed in the English UI, the value responded when pressing the ESC key is correct (index value of the "No" button). However, in the translated UI, the default value responded when pressing the ESC key is 0 (if the correct value is not assigned to
cancelId
), which leads to the data being cleared after pressing the ESC key.Therefore, explicitly assign a value to
cancelId
.PR Type
Changelog