Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftr/358 grayout goto movement #398

Merged
merged 61 commits into from
Sep 5, 2024
Merged

Ftr/358 grayout goto movement #398

merged 61 commits into from
Sep 5, 2024

Conversation

bwbohl
Copy link
Member

@bwbohl bwbohl commented Jul 11, 2024

This pull request introduces changes to the go-to menu and partly fixes #358. The number of movements is checked, and the goto Movement and the movement combobox in the go-to measure menus are grayed-out if there is only one or fewer movements.

  • SourceView
  • VerovioView
  • mdiv combobox in View MeasureBasedView

bwbohl added 30 commits June 25, 2024 11:01
Signed-off-by: Benjamin W. Bohl <[email protected]>
Before this commit, Edirom Online assumed that an annotation would only be shown if it matched both category and priority filters; this was a problem for editions that would not use, e.g., priorities at all. Consequently, the priorities filter would be empty, and the annotation would always return false for that filter.
After this commit, there is a value 'undefined' for visibleCategorie and visibleAnnotations, and the filter corresponding result for an annotation will be set to true if the corresponding visibleCategorie or visiblePriorities is 'undefined',
@bwbohl bwbohl marked this pull request as ready for review July 12, 2024 09:28
@bwbohl bwbohl requested review from daniel-jettka and riedde July 15, 2024 21:02
riedde
riedde previously approved these changes Jul 30, 2024
Copy link
Contributor

@riedde riedde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @bwbohl and sorry for the late response. I've reviewed the code and tested the software after a new local built. It works fine, from my perspective.

Copy link
Contributor

@riedde riedde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly indentation, documentation and styling code. thanks for this work!

@bwbohl bwbohl modified the milestones: 1.0.0-beta.6, 1.1.0, 1.0.0 Sep 4, 2024
@bwbohl bwbohl merged commit de346bc into develop Sep 5, 2024
1 check passed
@bwbohl bwbohl deleted the ftr/358-grayout-gotoMovement branch September 5, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

SourceView: hide or gray-out menuitems if they do not contain items or only one item
2 participants