30 Commits

Author SHA1 Message Date
Alexander Brandon Coles 8cf44ef496 [OP-19459] Use Primer Counter in notifications menu
Switches from custom CSS implementation to `Primer::Beta::Counter` for
rendering counters in menu on Notifications page. Fixes clipping of
larger notification numbers (≥ 3 digits), including applying rounding
of very large numbers (e.g. `4k+`).

https://community.openproject.org/wp/OP-19459
2026-06-11 16:53:08 +01:00
Alexander Brandon Coles 2b144e8542 Fix wording: Change "Favored" to "Favorited"
Favorite is the correct term in the context of expressing a preference
for a particular project / other OpenProject domain object.

Updates `ActsAsFavorable` to `ActsAsFavoritable`, as well as filenames,
identifiers and strings to:

    favored => favorited
    favorable => favoritable
    favoring => favoriting
2025-09-10 19:08:15 +01:00
Behrokh Satarnejad 89135ae36c [64230] Accessibility, Contrast issues (#19608)
* change grid line colors

* set a color for the avatar that has a good contrast with bg color

* set menu item color for the header, set high contrast colors for all colors not only high contrast ones

* increase font size and color of bar graphs

* remove color mode from color service tohsl method

* remove transfor uppercase text for headlines

* remove --main-menu-fieldset-header-color variable which is not needed anymore

* change border color

* fix eslint errors

* remove uppercase test for sub menu title
2025-08-06 11:43:42 +02:00
Oliver Günther 000f1061b9 Remove application dynamic target 2025-06-17 15:15:30 +02:00
Oliver Günther e27ac494d3 Consistent naming of upsell, not upsale 2025-04-24 15:52:34 +02:00
Ivan Kuchin 4eb956e5c6 erb_lint auto fix rails stuff 2025-02-11 18:49:22 +01:00
Ivan Kuchin ca5f8fb878 erb_lint auto fix trailing commas 2025-02-11 18:49:21 +01:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Ivan Kuchin 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Henriette Darge 3c9127473c Improve alignment in sidebar and submenu 2024-10-14 21:21:37 +02:00
Henriette Darge 4451650040 Replace placeholder text for submenu search 2024-07-22 10:36:20 +02:00
Henriette Darge 896dd8e7da Merge obsolete "sidebar.sass" and "sidemenu.sass" files into one new "submenu_component.sass" and harmonize the selectors 2024-07-11 15:29:49 +02:00
Henriette Darge 3056387501 Use Octicons in submenu 2024-07-11 15:29:49 +02:00
Henriette Darge 2a0577b815 Show EE upsale icons in EE queries of the submenu 2024-07-11 15:29:49 +02:00
Henriette Darge b118b10101 Adapt tests to new rails based submenu of notification center 2024-07-11 15:29:49 +02:00
Henriette Darge 2a9aa9593f First draft of rails-based submenu for notifications center
* Show counts from actual query

* Add group by project

* Remove menu component

* Reload menu frame when marking notification as read

Co-authored-by: Oliver Günther <o.guether@openproject.com>
2024-07-11 15:29:49 +02:00
Henriette Darge c5fe2d5e1a Merge pull request #15982 from opf/implementation/53233-replace-sidemenu-of-work-package-page-with-rails-component
Implementation/53233 replace sidemenu of work package page with rails component
2024-07-05 09:08:51 +02:00
Ivan Kuchin 0a6f7cda9c show favored project queries in menu 2024-07-03 17:28:12 +02:00
Henriette Darge ee37ae08fa Adapt tests to new rails based submenu of the workpackages module 2024-07-03 13:26:25 +02:00
Henriette Darge 42a72bfe1f Replace angular sidemenu with rails based Submenu component for the Boards module 2024-06-21 08:51:54 +02:00
Henriette Darge 357ca0f396 Replace angular sidemenu with rails based Submenu component for TeamPlanner module 2024-06-20 14:06:04 +02:00
Henriette Darge ac168fef2e Add options for a create button in the submenu component 2024-06-20 09:16:19 +02:00
Henriette Darge eaaef34b86 Enable search functionality in the project SubMenu 2024-06-12 11:00:54 +02:00
Henriette Darge fbfe39fadb Add option to make the submenu searchable and use the generic filterListController for it 2024-06-11 14:12:09 +02:00
ulferts 295fbf3f8c have queries loaded if query_id property is provided 2024-01-25 13:49:27 +01:00
Henriette Darge 6e9b89fa0d Use Data object to easier controll that the menu item objects have the expected form 2023-12-21 13:46:14 +01:00
Henriette Darge fa22b2980b Use correct nested elements in sidemenu to ensure that long titles are truncated 2023-12-20 13:10:45 +01:00
Oliver Günther 17f73b6308 Set selected menu item based on filter 2023-12-19 15:12:31 +01:00
Henriette Darge 91f9b1ff15 Create submenu component that can be used to render submenus in the left-handed sidebar 2023-12-19 09:20:27 +01:00