Repository navigation
feat(yasgui): What's new in the help menu - #250
Open
MathiasVDA wants to merge 2 commits into
Open
MathiasVDA wants to merge 2 commits into
MathiasVDA wants to merge 2 commits into
Conversation
The help button opens a small menu with the documentation and any entries added with yasgui.helpMenu.addItem() (quick start, what's new). With one entry the button runs it directly, so the default stays one click.
Lists the changes of each version since 5.0.0 as New, Improved or Fixed, with a filter per kind and a link to the GitHub release notes. A dot on the help button marks a release the user hasn't opened yet (not on a first visit); the newest seen version is persisted as whatsNewSeen. Also in the Ctrl+K search, and showWhatsNew: false switches it off.
This branch has not been deployed
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.
Requested by Mathias · project thread
Summary
HelpMenu.ts,yasgui.helpMenu.addItem/removeItem/setBadge). With one entry it runs it directly, without entries it hides.helpUrl: falsenow only leaves out the Documentation entry. The same commit is cherry-picked unchanged into feat(yasgui): "How MatGUI works" quick start tour #249 (quick start tour), so whichever merges second rebases cleanly on it.whatsNew/WhatsNew.ts,whatsNew/releases.ts): every version from 5.0.0 to 6.12.0, newest first, each change tagged New / Improved / Fixed, a segmented filter, "New to you" on unseen releases, dates, and a link to the GitHub releases. Sources: the GitHub release notes and the changesets merged since v6.11.0.whatsNewSeenin the persisted config.showWhatsNew(defaulttrue).Notes
releases.tsand add the date. Add an entry there for each future release.docs/user-guide.md(Top Bar "Help" bullet and the Search commands sentence) and thetest/run.tsimports. The help menu should end up listing How MatGUI works, What's new and Documentation.Test plan
test/whats-new-browser.ts(no dot on first visit, dot after an update until opened, menu order, unseen marks, filter, Esc): 83 passing locallynpm run buildGenerated by Claude Code