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

[55181] Replace sidemenu of notification center with Rails component #16040

Conversation

HDinger
Copy link
Contributor

@HDinger HDinger commented Jul 4, 2024

This extracts the menu logic from #15840 and aims to replace the last occurence of an agular submenu with the rails Submenu component.

  • Use Common::SubmenuComponent to render the submenu of the notifications module
    • Extend the component to deal with icons and counts
      • Use Octicons instead of old icon font ?
    • Automatically update when a notification is marked as read
    • Move the star next to the title, but the count at the end of the row
    • Show an EE icon for EE queries
  • Follow the same code structure we introduced recently for the other modules
  • Remove op-sidemenu, component see https://community.openproject.org/projects/openproject/work_packages/55900/activity
  • Merge sidemenu.sass vs sidebar.sass into one new submenu.sass and harmonize the selectors
  • Get tests green

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

@HDinger HDinger added the feature label Jul 4, 2024
@HDinger HDinger added this to the 14.4.x milestone Jul 4, 2024
@HDinger HDinger force-pushed the implementation/55181-replace-sidemenu-of-notification-center-with-rails-component branch 11 times, most recently from 40a7ff0 to 9c4984c Compare July 11, 2024 11:16
@HDinger HDinger marked this pull request as ready for review July 11, 2024 11:27
@HDinger HDinger force-pushed the implementation/55181-replace-sidemenu-of-notification-center-with-rails-component branch from 11e2f1c to e5c7eac Compare July 11, 2024 13:29
@oliverguenther oliverguenther merged commit 75206e9 into dev Jul 11, 2024
11 checks passed
@oliverguenther oliverguenther deleted the implementation/55181-replace-sidemenu-of-notification-center-with-rails-component branch July 11, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants