22 Commits

Author SHA1 Message Date
Kabiru Mwenja b1375a2992 Use 'force' terminology for theme contrast preferences
Changes attribute names from enable_auto_*_contrast to force_*_contrast
to better match existing UI terminology and differentiate from single
theme contrast settings.
2025-09-16 17:03:53 +03:00
Kabiru Mwenja 740bedb084 Add "Increase contrast" checkboxes for "Light high contrast" and "Dark high contrast" that force high contrast in Automatic mode
https://community.openproject.org/work_packages/66396
2025-09-13 12:41:05 +03:00
Kabiru Mwenja d21f1cfc71 Enable dark high contrast theme
https://community.openproject.org/wp/66395
2025-08-13 16:35:49 +03:00
Kabiru Mwenja da68abfa83 Rename sync_with_os -> "Automatic (match OS colour mode)" 2025-08-04 13:41:52 +03:00
Kabiru Mwenja b2561c6716 Add Auto Sync Color Theme with System (OS) user preference 2025-07-31 00:37:48 +03:00
Henriette Darge 2dbeb00282 Introduce a new setting to disable the keyboard shortcuts 2025-06-23 11:21:51 +02:00
Kabiru Mwenja c18d4a7881 Transform personal reminder camel and underscore case 2024-12-14 01:23:35 +03:00
Kabiru Mwenja d0497281d8 [#59815] Add email setting to send an email reminder immediately
https://community.openproject.org/work_packages/59815
2024-12-14 00:44:08 +03:00
Dombi Attila 84505e2dfb [#58144] Show email on the UI for users with permission
https://community.openproject.org/work_packages/58144
Remove hide_mail flag and replace with :view_user_email permission checks
2024-10-28 09:09:56 +01:00
Henriette Darge 14da063cde Enable dark mode in personal settings 2024-03-18 09:11:44 +01:00
Behrokh Satarnejad 6eb96535ab [49460] Enable Primer's high-contrast mode (#13647)
* add avatar class fo high contrast mode

* add avatar border

* change color of grean create buttons

* change border color for inputs

* change hover color of inputs

* remove hover effect from input fields

* remove duplicate variables

* add box-shadow for menu entries

* change border color of overview page widgets

* add border for my page widgets

* change the border color of buttons

* change border color for options in global search box

* add box shadow for side menu item

* change the border color of attribute group

* add border color for user menu items

* add border color for ng-select

* make the border of glonbal search box still white in hihgh-contrast mode

* add border to spot list item

* change the variable used for border color of filter box

* add a border for selectewd item list in spot-list

* add a border color for drop down items when hovering

* add border color variable for dividers in full view

* change the variable used for border color of legend of form field

* add border color for admin menu blocks

* add border for top menu items while hovering

* change the border color of inline edit fields

* ck-editor border color changes

* change border color of  comment

* change border color value of boxes

* use a variable for the color of border-bottom in scrollable tab

* change border color of spot list item with icon at the end

* change border color file selection box

* add border for full calendar

* add border for add existing pane and no data box in team planner

* change the border color varable used for no-data box

* change the border color variable used for colors

* remove border for calendar

* map variables when the selected theme is light high contrast

* map hover color of green create buttons

* change button background color

* add a border for video and image box of enterprise pages

* map color variables only when light high contrast mode is active

* add a border arounf full calendar

* remove full calendar border since it breaks tests

* use only one variable for input border

* map --content-default-border-color

* use another variable for team planner content areas and tabs in WPs page

* fix jumpy menu items while hovering

* fix avatar border color turns to white when it is in light mode

* use primer variable for input border color

* use primer variable for borders in WP page

* use primer variable for content and form seperator

* fix jumpy menu itams

* remove dark theme options3

* fix jumping menu items

* add a border for green create button

* remove changing border color change while hover over alt highlight button

* add border for wp status button

* remove gray-dark variable and use primer color instead

* change border color of full calendar

* remove unnecessary border color change for hover effect on a td which is in inline edit mode with error

* change border-color for focus for title

* user primer variables instead of hexcode for border colors

* map background color of buttons

* change background color of buttons in full calendar

* change border-color of user content elements

* remove unnecessary style change

* change side menu and header colors

* use primer color variable instead of hexcode for border color

* remove color changing rule for hover effect on menu items and make them bold like github

* change label theme to mode in user settings page

* sort variable mapping

* set background color of button and hover color for primary buttons

* force link color to be dark blue not the value admin selects on design settings

* map alternative color to dark green used for alternative buttons

* remove border color for altenate buttons

* add border right for side menyu when there is no EE token activated

* fix jumpy menu items

* add hover color for list items in normal mode

* change variable name used for color and border color of list items

* use primer variable instead of their hexcode for custom theme variable link color

* map alternative-color variable to color-btn-primary-bg variable of primer since this variable is used for bg color of buttons like buttons in boarding page

* map variables used for style of our primary button to look like primer primary button

* undo changes for alternative buttons and keep their styles as it is now

* undo border-right for main-menu

* use our own variable instead of primer variable for bold text

* remove border for selected ng-option because in github there is no border for it and it makees the item jumpy

* reduce line height of avatar text to 34

* reduce line-height of mini and medium avatars

* add a border around WP status button only when it is in high-contrast mode
2023-10-23 13:08:51 +02:00
Henriette Darge 28a53f1965 Re-add the theme selection base on the Primer themes (Wip as not all colors are correctly overwritten yet) 2023-07-18 13:54:11 +02:00
ulferts bb9befbcb9 readd diff_type to user preferences 2021-12-20 12:06:05 +01:00
Oliver Günther 68d6b44635 Pause reminders functionality 2021-10-11 20:47:49 +02:00
Oliver Günther 11b6df76af Review feedback 2021-10-04 08:46:22 +02:00
Oliver Günther 56e53620cb Remove type from schema in favor of better type check in contract 2021-10-04 08:46:22 +02:00
Oliver Günther 83ad86ee7d Add workdays index and default values 2021-10-04 08:45:49 +02:00
Oliver Günther 6647c4489f [38712] Immediate reminder options 2021-09-13 15:24:00 +02:00
ulferts f8c3f8f6b6 proper schema extension by plugins 2021-09-03 10:27:20 +02:00
ulferts 9e396d6a65 lift the requirement to have every property in the setting
As default values are implemented, not every value has to be set
2021-09-02 22:31:40 +02:00
ulferts 0cee545248 adapt the json_validator from activerecord_json_validator
The error messages need to be more fine grained than what can be achieved with the original gem
2021-09-02 22:31:40 +02:00
Oliver Günther 1e4d67b3eb Validate daily reminder preferences with a JSON schema 2021-08-30 20:59:03 +02:00