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

[55179] Harmonize submenu implementations of Meetings, Projects, and Members #15918

Merged

Conversation

HDinger
Copy link
Contributor

@HDinger HDinger commented Jun 21, 2024

This is a follow-up PR of #15895 (and other closely related PRs, see ticket relationship). In order to have a harmonized structure in code, the PR adapts the code structure of the existing Common::SubmenuComponent implementations of

  • Project lists
  • Members

Further, the custom implementation for the submen of the meetings module was removed and replaced by a Common::SubmenuComponent following the same approach as in the other modules.

https://community.openproject.org/projects/openproject/work_packages/55179/activity

@HDinger HDinger added this to the 14.3.x milestone Jun 21, 2024
@HDinger HDinger force-pushed the implementation/55179-use-submenu-component-in-meetings-module branch from c9cbddd to bca9b47 Compare June 25, 2024 06:46
@HDinger HDinger requested a review from oliverguenther June 25, 2024 08:26
Copy link
Member

@cbliard cbliard left a comment

Choose a reason for hiding this comment

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

Nice refactoring.

It does not work well on the meetings page: whatever is selected, it's always the "Upcoming invitations" menu item which is selected. The page content is updated correctly. It happens for both global and project levels.

Code wise, I have some minor remarks. There were also some rubocop warnings that I fixed.

app/menus/members/menu.rb Outdated Show resolved Hide resolved
app/menus/members/menu.rb Outdated Show resolved Hide resolved
app/menus/members/menu.rb Outdated Show resolved Hide resolved
@HDinger HDinger force-pushed the implementation/55179-use-submenu-component-in-meetings-module branch 2 times, most recently from 68a709c to 85ef1a2 Compare June 28, 2024 06:14
@HDinger HDinger force-pushed the implementation/55179-use-submenu-component-in-meetings-module branch from 85ef1a2 to c07cf31 Compare June 28, 2024 06:23
@HDinger HDinger merged commit 4f78c9d into dev Jun 28, 2024
8 of 9 checks passed
@HDinger HDinger deleted the implementation/55179-use-submenu-component-in-meetings-module branch June 28, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants