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

top menu visibility options and top menu color #4161

Open
wants to merge 494 commits into
base: master-mysterious-egg
Choose a base branch
from

Conversation

duau-odoo
Copy link

No description provided.

Goaman and others added 23 commits February 27, 2025 11:48
Rewrite `AddElementOption` and `SpacingOption` to be compatible with masonry snipet

Implement `AddElementOption` button functionalities
At some point, servers started to return `image/svg+xml; charset=utf-8`
instead of `image/svg+xml` in the `content-type` header of SVG images.
Because of this, dynamic SVGs were not properly handled anymore.

This commit adapts the mimetype comparisons to cope for this extra
`charset` info inside the mimetype.

Steps to reproduce:
- Drop an image block inside a website page.
- Replace the image.
- Search for e.g. "city".
- Pick an undraw illustration.

=> The image was lost because its `src` became `false`.

closes odoo#199112

X-original-commit: e255894
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
@robodoo
Copy link

robodoo commented Mar 6, 2025

This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged.

before colors change weren't taken into account and where sent everytime the PositionValue was "overTheContent" even with no change
@duau-odoo duau-odoo changed the title WIP top menu visibility options, not saved by the builder top menu visibility options and top menu color Mar 7, 2025
Copy link

@fdardenne fdardenne left a comment

Choose a reason for hiding this comment

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

Some quick comments, don't hesitate to tell me if I'm wrong !

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link

Choose a reason for hiding this comment

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

About your commits: you can squash them all (see git rebase -i if you don't know how)

Note: as master-mysterious-egg is a working branch, we don't care too much about the commit wording, but we still try to have meaningful commits (meaning, 1) the code of each commit should make sense in itself, 2) group things that are linked in the same commit, 3) if 2 features have no link, it may be worth doing a separate commit, but most of the time 1 commit is enough)

@ged-odoo ged-odoo force-pushed the master-mysterious-egg branch from b651514 to 9236e22 Compare March 8, 2025 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.