qt: add changelog action to help menu in toolbar
What changed, and why it matters
This commit simply adds a new 'Changelog' menu item to Electrum's Help menu. When clicked, it opens the project's RELEASE-NOTES file on GitHub in the user's web browser. There is no security issue visible in this change.
No security action needed. Review as ordinary UI feature if desired.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch adds a RELEASE_NOTES_URL constant pointing to the raw GitHub-hosted RELEASE-NOTES file and wires a new QAction in the Qt main window’s Help menu to open that URL via webopen(). It is a UI-only convenience feature with no network, cryptographic, wallet, or input-handling changes.
Changed components
electrum/constants.pyelectrum/gui/qt/main_window.pyInspect captured patch +2 / −0
diff --git a/electrum/constants.py b/electrum/constants.py
index a2379c0..b4b88d1 100644
--- a/electrum/constants.py
+++ b/electrum/constants.py
@@ -57,6 +57,7 @@ def create_fallback_node_list(fallback_nodes_dict: dict[str, dict]) -> List[LNPe
GIT_REPO_URL = "https://github.com/spesmilo/electrum"
GIT_REPO_ISSUES_URL = "https://github.com/spesmilo/electrum/issues"
+RELEASE_NOTES_URL = "https://raw.githubusercontent.com/spesmilo/electrum/refs/heads/master/RELEASE-NOTES"
BIP39_WALLET_FORMATS = read_json('bip39_wallet_formats.json')
diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py
index fe4e7fb..065a295 100644
--- a/electrum/gui/qt/main_window.py
+++ b/electrum/gui/qt/main_window.py
@@ -847,6 +847,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
about_action.triggered.connect(self.show_about)
about_action.setMenuRole(QAction.MenuRole.AboutRole) # make sure OS recognizes it as "About"
self.help_menu.addAction(about_action)
+ self.help_menu.addAction(_("&Changelog"), lambda: webopen(constants.RELEASE_NOTES_URL))
self.help_menu.addAction(_("&Check for updates"), self.show_update_check)
self.help_menu.addAction(_("&Official website"), lambda: webopen("https://electrum.org"))
self.help_menu.addSeparator()
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.