feat: add setting to disable changelog popup on update #57
+62
−32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔧 Add setting to disable changelog popup and update notifications
Summary
This PR implements a new user setting to disable the automatic changelog popup and update notifications when the extension updates, addressing issue #56. The feature makes both the changelog popup and update notifications opt-in rather than automatic, providing a completely quiet update experience for users who prefer not to be disturbed by update-related notifications.
Changes Made
🆕 New Setting
cursorStats.showChangelogOnUpdate
configuration settingfalse
(disabled by default to reduce distraction)🔧 Implementation Details
Extension Activation (
src/extension.ts
)GitHub Service (
src/services/github.ts
)Configuration (
package.json
)📚 Documentation Updates
Behavior
When
showChangelogOnUpdate
isfalse
(default):When
showChangelogOnUpdate
istrue
:🌍 Internationalization
🧪 Testing
📋 Checklist
false
(opt-in behavior)🔗 Resolves
Closes #56
🎯 Impact
This change significantly improves the user experience by:
Users can enable the setting if they want to see changelogs and update notifications, but by default, the extension will update completely silently without any interruption to the user's workflow.