-
Notifications
You must be signed in to change notification settings - Fork 113
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
Master snippet options owl role #3300
base: master-snippet-options-owl-ard
Are you sure you want to change the base?
Master snippet options owl role #3300
Conversation
This PR targets the un-managed branch odoo-dev/odoo:master-snippet-options-owl-ard, it needs to be retargeted before it can be merged. |
44648c4
to
b06895f
Compare
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.
Good job on those refactoring! WeList etc are not easy widgets to handle. They seem to work fairly well! Maybe next you could convert the conditional visibility option, as this one uses WeMany2many!
I left a few comments, nothing crazy, mostly questions. Once those are handled I should be able to cherry pick most of these commits 😄
59bf89c
to
a649eff
Compare
fb98eb8
to
50c6b00
Compare
394c7fd
to
1df955e
Compare
1666389
to
d6f2885
Compare
50c6b00
to
f2f5489
Compare
2a1514f
to
cd9a55e
Compare
f2f5489
to
b54010f
Compare
20f0e05
to
eaa85d0
Compare
879bffb
to
51f6d38
Compare
134a190
to
a5741f2
Compare
…s to Owl Kept in a separate commit as this fix only makes sense if the changes that are in the parent commit are accepted
2f8aa1e
to
1ea9cc1
Compare
*: website, website_sale This commit converts ImageTools and WebsiteAnimate options to OWL. For website, a new WebsiteAnimateMixin is created to be able to combine both sets of options into a single ImageToolsAnimate class in order to apply hover effects on images: the previous code moved elements from one widget to the other (back and forth) depending on some conditions, which is neither sustainable nor advisable with the OWL framework. As much as possible, the code from both ImageTools and WebsiteAnimate related to hover effects is moved into ImageToolsAnimate. Having all the methods in the same class also makes for a better and easier communication between the different widgets. For the same reason (avoid moving elements from one component to another), the commit also adds a way for options to appear directly in the Toolbar, to apply a TextAnimate class. task-3850413
This commit converts TextHighlight options to OWL. In the process, we add `<WeTextHighlightSelect>` and `<WeTextHighlightBtn>` components in order to be able to add the highlight SVGs on the `<WeButton>` once the components are mounted and have a size (i.e. once the select toggler has been opened). task-3850413
task-3850413
This commit adds a util `updateOption()` function to modify a snippet option already registered on the registry. task-3850413
e97adae
to
d062586
Compare
task-3850413
d062586
to
d8a5dc4
Compare
633ee8d
to
1240c73
Compare
No description provided.