Skip to content

Conversation

massimopaganigh
Copy link
Contributor

  • Added ClearCommitMessageHistory method to WorkingCopy ViewModel with user confirmation
  • Added "Clear History" menu item to commit message picker dropdown
  • Implemented thread-safe collection clearing using Dispatcher.UIThread.Invoke
  • Added localization support for clear history button and confirmation dialog
  • Follows existing codebase patterns for destructive operations with async/await
Screenshot 2025-08-22 082918 Screenshot 2025-08-22 082926

…pdown

- Added ClearCommitMessageHistory method to WorkingCopy ViewModel with user confirmation
- Added "Clear History" menu item to commit message picker dropdown
- Implemented thread-safe collection clearing using Dispatcher.UIThread.Invoke
- Added localization support for clear history button and confirmation dialog
- Follows existing codebase patterns for destructive operations with async/await
@love-linger love-linger self-assigned this Aug 22, 2025
@love-linger love-linger added the enhancement New feature or request label Aug 22, 2025
@love-linger love-linger merged commit c402969 into sourcegit-scm:develop Aug 22, 2025
14 checks passed
love-linger added a commit that referenced this pull request Aug 22, 2025
- Keep translation keys in order
- Add missing translations for zh_CN and en_US
- Rename `WorkingCopy.ClearCommitMessageHistory` to `WorkingCopy.ClearCommitMessageHistoryAsync`
- It's not necessary to use `Dispatcher.UI.Invoke` in event callback

Signed-off-by: leo <[email protected]>
@massimopaganigh massimopaganigh deleted the feat/AddClearHistoryButton branch August 22, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants