-
Notifications
You must be signed in to change notification settings - Fork 115
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
base: master-mysterious-egg
Are you sure you want to change the base?
Conversation
+ some cleaning + test
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>
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
There was a problem hiding this 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 !
addons/html_builder/static/src/plugins/top_menu_visibility_option_plugin.js
Show resolved
Hide resolved
addons/html_builder/static/src/plugins/top_menu_visibility_option_plugin.js
Show resolved
Hide resolved
@@ -0,0 +1,22 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
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)
addons/html_builder/static/src/plugins/top_menu_visibility_option_plugin.js
Show resolved
Hide resolved
b651514
to
9236e22
Compare
No description provided.