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

[FW][FIX] mail: file viewer button colors in public page #165151

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented May 10, 2024

Before this commit:

The fileViewer toolbar buttons displayed incorrect colors for
portal users.

Reason for this behaviour

The mail module's public assets loaded all components and
their SCSS files. However, the file viewer had a separate SCSS
file for dark mode button colors, which was unnecessary for
portal users. Removing it would help fix the bug.

After this commit:

FileViewer toolbar button colors now display correctly for portal
users.

task-3872205

Forward-Port-Of: #163933

Before this commit:
The fileViewer toolbar buttons displayed incorrect colors for
portal users.

The mail module's public assets loaded all components and their SCSS
files. However, the file viewer had a separate SCSS file for dark
mode button colors, which was unnecessary for portal users. Removing
it would help fix the bug.

After this commit:
FileViewer toolbar button colors now display correctly for portal users.

task-3872205

X-original-commit: b99138d
@robodoo
Copy link
Contributor

robodoo commented May 10, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented May 10, 2024

@maad-odoo @alexkuhn this PR targets master and is the last of the forward-port chain containing:

To merge the full chain, use

@fw-bot r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label May 10, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label May 10, 2024
Copy link
Contributor

@alexkuhn alexkuhn left a comment

Choose a reason for hiding this comment

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

@fw-bot r+

robodoo pushed a commit that referenced this pull request May 13, 2024
Before this commit:
The fileViewer toolbar buttons displayed incorrect colors for
portal users.

The mail module's public assets loaded all components and their SCSS
files. However, the file viewer had a separate SCSS file for dark
mode button colors, which was unnecessary for portal users. Removing
it would help fix the bug.

After this commit:
FileViewer toolbar button colors now display correctly for portal users.

task-3872205

closes #165151

X-original-commit: b99138d
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
@robodoo robodoo closed this May 13, 2024
@robodoo robodoo added the 17.3 label May 13, 2024
zel-odoo pushed a commit to odoo-dev/odoo that referenced this pull request May 24, 2024
Before this commit:
The fileViewer toolbar buttons displayed incorrect colors for
portal users.

The mail module's public assets loaded all components and their SCSS
files. However, the file viewer had a separate SCSS file for dark
mode button colors, which was unnecessary for portal users. Removing
it would help fix the bug.

After this commit:
FileViewer toolbar button colors now display correctly for portal users.

task-3872205

closes odoo#165151

X-original-commit: b99138d
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants