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

[#57037] Migrate UserPreference settings with the "default" theme to "light" #16676

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

aaron-contreras
Copy link
Contributor

@aaron-contreras aaron-contreras commented Sep 9, 2024

Ticket

https://community.openproject.org/work_packages/57037

What are you trying to accomplish?

A lot of areas were broken display-wise when upgrading from 9.x versions. This happened if users still had in their UserPreference theme settings the default option. I'm bringing these "default" values to "light" which is the current default setting for the theme setting.

Screenshots

Before
Screenshot showing the transparency issue

After
Screenshot showcasing the fixed transparency

What approach did you choose and why?

This was missed when upgrading OpenProject at some point so this should bring everything back in order for users that still have the "default" theme setting which is no longer supported, and keep the preferences for said users who have since moved to one of the valid options like "light" or "light_high_contrast".

A migration should suffice.

Merge checklist

  • Added/updated tests
  • Tested major browsers (Chrome, Firefox, Edge, ...)

This was missed when upgrading OpenProject at some point so this should
bring everything back in order for users that still have the "default"
theme setting which is no longer supported, and keep the preferences
for said users who have since moved to one of the valid optionsl like
"light" or "light_high_contrast".
@aaron-contreras aaron-contreras self-assigned this Sep 9, 2024
@aaron-contreras aaron-contreras marked this pull request as ready for review September 9, 2024 16:01
Copy link

The provided work package version does not match the core version:

Please make sure that:

  • The work package version OR your pull request target branch is correct

@aaron-contreras aaron-contreras merged commit 3fadb21 into dev Sep 10, 2024
10 of 11 checks passed
@aaron-contreras aaron-contreras deleted the bug/57037-menu-transparent-on-upgrade branch September 10, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants