chore: hide update + changelog + feedback UI#21
Merged
Conversation
Comment out all update-checking, download/install, changelog, and Feedback UI entry points so they are invisible to users in this build. Implementation is preserved verbatim behind UPDATES-DISABLED markers for easy reactivation (grep UPDATES-DISABLED to find all sites). Affected surfaces: - macOS app menu "Check for Updates..." item - Main-process auto-updater init, IPC handlers, focus/startup checks - Preload bridge update:* methods + event listeners - Update banner (bottom-left) + useUpdateChecker hook call - Settings -> Beta tab -> Updates section (Early Access + Check Now) - Help popover "What's new" section + changelog fetch - Sidebar Feedback button Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Temporarily disables all update-related and feedback UI entry points in the app. All original implementation is preserved verbatim behind
UPDATES-DISABLEDmarkers — grep forUPDATES-DISABLEDacrosssrc/to find every commented block and uncomment to reactivate.What's hidden
update:*), 5s startup check, window-focus checkcheckForUpdates,downloadUpdate,installUpdate,setUpdateChannel,getUpdateChannel, allonUpdate*event listenersnull;useUpdateChecker()no longer called in layoutGET /api/changelog/desktop)Not changed
package.jsonpublish config,scripts/generate-update-manifest.mjs) — release artifacts still publish normallyelectron-updaterdependency — kept installed; removing would break compilation of the (preserved) sourceTest plan
bun run dev→ launch app, verify:1Codemenu shows About → Settings → CLI → Services → Hide → Quit (no "Check for Updates...")?) shows only Discord + Shortcuts (no "What's new", no "Full changelog")cdn.21st.dev/releases/*or21st.dev/api/changelog/desktopbun run buildpasses cleanbun run package:mac→ open packaged.app, confirm none of the above appearReactivation