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

Master snippet options owl bso #3299

Draft
wants to merge 112 commits into
base: master-snippet-options-owl-ard
Choose a base branch
from

Commits on Jul 30, 2024

  1. [REF] web_editor: move SnippetOptionWidget into legacy file

    This will allow both the OWL Option system and the Legacy system to work
    alongside each other. Making it easier to convert step by step.
    
    The original file will be the one used for the conversion. This will
    allow any fix done in the master branch to hit the OWL file when rebased
    since this is the file that will be kept at the end of the conversion.
    
    task-3850413
    
    [REF] website: split snippet options to legacy file
    
    task-3850413
    detrouxdev committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    5fb5de8 View commit details
    Browse the repository at this point in the history
  2. [REF] web_editor: convert SnippetOption widget to an ES6 class

    [REF] web_editor: convert UserValueWidget to ES6 class
    
    The widget will be turned into a "state model" in future commits and
    most of its code will be rewritten, but the first step is to turn it
    into an ES6 class instead of a "Legacy" widget
    
    task-3850413
    detrouxdev committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    0b4d6d1 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. [REF] web_editor: convert UserValueWidget and <we-button> to OWL

    This is the first step of a major refactoring to accommodate the current
    SnippetsMenu stack to OWL. To do so, it split some of the logic, to
    separate (as much as possible) state from UI HTML.
    
    Previously, a lot of the widgets in the SnippetsMenu would rely on DOM
    to handle their states and values. SnippetOption also had direct access
    to the widgets and templates. This allowed Options to request values
    from the child widgets and update their state accordingly.
    
    The template for the option was also rendered using its own system.
    
    Now, the SnippetOption is a simple ES6 class, and has no direct element
    in the DOM. Instead, a SnippetOptionRendering component is passed to the
    SnippetsMenu to render the "UserValueComponent" which is the UI the use
    will interact with.
    
    The state of these UserValueComponents are still handled by the
    SnippetOption however. Which allows the SnippetOption to modify the
    state of a component, and the component will re-render accordingly.
    
    This means the XML rendering is no longer handled by the option and
    widgets, but by OWL.
    
    ===== NOTE =====
    This commit message is WIP but any suggestion is welcomed :D
    
    task-3850413
    
    [REF] web_editor: adapt visibility computation of UserValue to OWL
    
    In this commit, some properties are renamed to better fit the new
    framework. The `user_value_widget_request` trigger_up which was
    previously a trigger_up is changed to a "callback".
    
    The dependency system remains almost identical. Component just use the
    state to apply d-none or not.
    
    task-3850413
    detrouxdev committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    661d5fd View commit details
    Browse the repository at this point in the history
  2. [REF] web_editor: convert <we-select> to OWL

    This follows the previous commit logic, with the added complexity of
    handling the state of a toggler.
    
    task-3850413
    detrouxdev committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0369fbf View commit details
    Browse the repository at this point in the history
  3. [REF] web_editor: add WeButtonGroup component

    This commit adds WeButtonGroup which replaces the
    ButtonGroupUserValueWidget
    detrouxdev committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    6102422 View commit details
    Browse the repository at this point in the history
  4. [WIP] web_editor: add tooltips on buttons

    This commit SHOULD not reach master as this solution has not been
    discussed and is IMO a big downgrade to the old tooltip system.
    detrouxdev committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    bac3ebc View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. [REF] web_editor: Convert column width to new Owl option

    This commit changes the old SnippetOptionWidget class to an ES6 class
    and adapts the template to OWL.
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fdfd1b3 View commit details
    Browse the repository at this point in the history
  2. [REF] web_editor: adapt Unit & Input user value widget to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    66c96fb View commit details
    Browse the repository at this point in the history
  3. [REF] web_editor: convert we-datetimepicker to OWL

    This commit combines we-datetimepicker and we-datepicker into one
    Component with different props and converts the API to the new OWL api.
    
    task-3850413
    
    Co-authored-by: Arthur Detroux (ard) <[email protected]>
    bso-odoo and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    259a370 View commit details
    Browse the repository at this point in the history
  4. [REF] web_editor: convert we-row to OWL

    This commit convert we-row to owl and introduces the concept of layout
    elements. Their state is also shared with the option so that it can
    properly hide the layout elements when all of the layout's widgets are
    hidden.
    
    task-3850413
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b0b52aa View commit details
    Browse the repository at this point in the history
  5. [REF] web_editor: add WeTitle component

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    835e581 View commit details
    Browse the repository at this point in the history
  6. [REF] web_editor, website: convert column and grid option to OWL

    The templates are now static templates and the options are now ES6
    classes. The layout mixin was also adapted so that it works with this
    type of class.
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    6f5a802 View commit details
    Browse the repository at this point in the history
  7. [REF] web_editor: convert ColorpickerUserValueWidget to OWL

    This commit adapts the code so that it may work inside an OWL Component
    while retaining most of its previous functionality.
    
    task-3850413
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    91a43b2 View commit details
    Browse the repository at this point in the history
  8. [WIP] web_editor: convert Mediapicker widget to OWL

    This commit converts the API of the Mediapicker widget to OWL and
    combines the Imagepicker and the Videopicker widgets into a common
    WeMediapicker whose behavior depends on its props (specifically
    `mediaType`, being either "images" or "videos").
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    bdf273b View commit details
    Browse the repository at this point in the history
  9. [IMP] web_editor: convert Range widget to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    66577ca View commit details
    Browse the repository at this point in the history
  10. [IMP] website: convert UrlPicker widget to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    cc85af4 View commit details
    Browse the repository at this point in the history
  11. [REF] web_editor: convert we-checkbox to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    99a9593 View commit details
    Browse the repository at this point in the history
  12. [REF] website: convert SnippetOption website patch

    Converted option's extend into a SnippetOption patch.
    Adapted refreshPublicWidget.
    
    Note that the signatures had to be adapted to the modern style for
    methods that call `super`.
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    476a963 View commit details
    Browse the repository at this point in the history
  13. [REF] web_editor: convert MultiUserValueWidget to Owl

    Had to introduce a `multiSequence` because Owl's `setup` is called in
    an unpredictable order.
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    57e093d View commit details
    Browse the repository at this point in the history
  14. [REF] website: convert s_facebook_page options to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    7c9cf16 View commit details
    Browse the repository at this point in the history
  15. [REF] website: convert s_image options to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a475943 View commit details
    Browse the repository at this point in the history
  16. [REF] web_editor: allow asynchronous start on UserValue

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    160ee60 View commit details
    Browse the repository at this point in the history
  17. [REF] website: convert GPSPicker to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    4ee4096 View commit details
    Browse the repository at this point in the history
  18. [REF] website: convert s_google_map options

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    d674f9f View commit details
    Browse the repository at this point in the history
  19. [REF] convert WeFontFamilyPicker to Owl

    Note that the inline-block style is specified only for the customize
    tab.
    
    Had to specify a `selectMethod` prop on the parent component so that the
    right property name gets used on individual buttons.
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    390b007 View commit details
    Browse the repository at this point in the history
  20. [REF] website: convert s_instagram_page options to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    e4de5f1 View commit details
    Browse the repository at this point in the history
  21. [REF] website: convert s_map options to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    bac452b View commit details
    Browse the repository at this point in the history
  22. [MOV] web: move camelToKebab to strings utils

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    94371df View commit details
    Browse the repository at this point in the history
  23. [REF] web_editor: convert ListUserValueWidget to OWL

    This commit converts the ListUserValueWidget to OWL as a WeList
    component.
    It removes `idMode` from the props (previously dataset) as it was used
    because the widget state relied on the DOM, whereas with OWL it is now
    the other way around (the DOM relies on the state). It doesn't seem
    necessary anymore.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    65dcedf View commit details
    Browse the repository at this point in the history
  24. [REF] web_editor: show widget components by default

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    8c0f4bb View commit details
    Browse the repository at this point in the history
  25. [REF] web_editor, website: convert Many2oneUserValueWidget to OWL

    This commit converts the Many2oneUserValueWidget to OWL, into a
    Many2oneUserValue and a WeMany2one component.
    
    The template makes an xpath on the template of <WeSelect> as we can't
    use the component itself since WeMany2one extends WeSelect.
    
    task-3850413
    
    [REF] web_editor: convert Many2manyWidget to OWL
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    84c5aff View commit details
    Browse the repository at this point in the history
  26. [REF] website: convert s_embed_code options to OWL

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    46267d8 View commit details
    Browse the repository at this point in the history
  27. [REF] web_editor: convert "cover_update" trigger_up

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3216ca6 View commit details
    Browse the repository at this point in the history
  28. [REF] (temp) website: use env in utils instead of trigger_up

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1bd3554 View commit details
    Browse the repository at this point in the history
  29. [REF] web_editor: convert option_update trigger_up to notifyOptions

    This commit adds a `notifyOptions` method on the callbacks of the
    SnippetEditor to replace the `trigger_up("option_update")` on snippet
    options.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    548fde5 View commit details
    Browse the repository at this point in the history
  30. [REF] web_editor, *: introduce a register mechanism for options

    This allow options to share a common registry but not interfere with other
    modules.
    
    Now, each module will define a "registerOption" method which overrides
    the default "module" param.
    
    This approach was chosen to facilitate the ability of some options (like
    Parallax) to set itself in between the image options.
    
    These example will be in the following commit
    
    maybe fixup in the conversion of the SnippetOption commit?
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5dea23a View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    b1918da View commit details
    Browse the repository at this point in the history
  32. [REF] web_editor: add isElementSelected to subEnv

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    389c3e5 View commit details
    Browse the repository at this point in the history
  33. [REF] website: convert s_blockquote options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    124c26f View commit details
    Browse the repository at this point in the history
  34. [REF] website: convert vertical alignment option

    task-3850413
    
    # Conflicts:
    #	addons/website/static/src/js/editor/snippets.options.xml
    
    [REF] website: convert ScrollButton options to Owl
    
    task-3850413
    
    # Conflicts:
    #	addons/website/static/src/js/editor/snippets.options.xml
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1707933 View commit details
    Browse the repository at this point in the history
  35. [REF] website: convert card color/border/shadow options to Owl

    task-3850413
    
    # Conflicts:
    #	addons/website/static/src/js/editor/snippets.options.xml
    
    [REF] website: convert card color option to Owl
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f788525 View commit details
    Browse the repository at this point in the history
  36. [REF] website: convert horizontal alignment options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    e80997f View commit details
    Browse the repository at this point in the history
  37. [REF] website: convert share/social option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    86e26be View commit details
    Browse the repository at this point in the history
  38. [FIX] web_editor: delay OWL updateUI until after postSnippetDrop promise

    This commit fixes a race condition where SnippetEditors are not fully
    created and started when updateUI is called by the OWL widgets being
    mounted for the first time.
    
    The reason this happens is because when a snippet is dropped, the
    SnippetEditors of that snippet are created to call the onBuilt of the
    options that match the snippets. However, this is not done inside the
    mutex, and therefore, any state update occurring during this situation
    could create components that require an updateUI.
    
    The updateUI is done in the mutex so it should almost never conflict
    with options not being started, except in this case.
    
    Maybe a better fix would be to add the `callForEachChildSnippet` into
    the mutex inside callPostSnippetDrop, but there's probably a reason
    why it is not done. So this fix just awaits the postSnippetDropped
    promise to delay the call to the mutex.
    
    task-3850413
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    831a1b9 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    540db97 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    3ea0730 View commit details
    Browse the repository at this point in the history
  41. [WIP][FIX] website: attempt to fix a tour

    Attempt at making test_20_snippet_editor_panel_options pass. The issue
    is that SnippetsMenu re-render is delayed compared to before, so the
    grid button that receives the click is the old one.
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    8322e5b View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    4fe4219 View commit details
    Browse the repository at this point in the history
  43. [REF] website: convert s_countdown options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c32cdbb View commit details
    Browse the repository at this point in the history
  44. [REF] website: convert s_media_list options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c67ce1c View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    37f13b4 View commit details
    Browse the repository at this point in the history
  46. [REF] website: convert s_process_steps options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5c07f5b View commit details
    Browse the repository at this point in the history
  47. [REF] website: convert GalleryImage options to OWL

    This commit converts GalleryHandler, CarouselHandler, GalleryLayout,
    Gallery, GalleryImageList, GalleryImage into OWL.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    725772e View commit details
    Browse the repository at this point in the history
  48. [IMP] web_editor: add static defaultRenderingComponent to SnippetOpti…

    …on (to fixup)
    
    fixup! [REF] web_editor: convert UserValueWidget and <we-button> to OWL
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f8ec375 View commit details
    Browse the repository at this point in the history
  49. [REF] web_editor: add updateSnippetOptionVisibility to SnippetEditor …

    …callbacks
    
    This commit replaces `trigger_up("snippet_option_visibility_update")` on
    snippet options with `updateSnippetOptionVisibility()` in the callbacks.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    cda4955 View commit details
    Browse the repository at this point in the history
  50. [REF] website, web_editor: convert DeviceVisibility and ConditionalVi…

    …sibility options
    
    task-3850413
    
    # Conflicts:
    #	addons/website/static/src/js/editor/snippets.options.xml
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b9bbaa3 View commit details
    Browse the repository at this point in the history
  51. [REF] web_editor, *: refactor serviceCached to work with any services

    *: website
    
    This refactor was necessary as some option might want to use ORM methods
    such as searchRead etc, not just call.
    
    It keeps compatibility with the RPC function as if no env or serviceName
    is provided to the function, it will just assume an RPC call.
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ebdd8f4 View commit details
    Browse the repository at this point in the history
  52. [REF] website: convert SocialMedia options to OWL

    This commit converts the SocialMedia options to OWL. It also adds a
    caching system (`tmpSocialsIds`) to share IDs between the WeList items
    and the social snippet's links, so that the OWL state works properly.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c813146 View commit details
    Browse the repository at this point in the history
  53. [REF] website_sale: convert s_add_to_cart option to OWL

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    397c6a2 View commit details
    Browse the repository at this point in the history
  54. [REF] website_mail_group: convert s_group options to OWL

    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    965d15a View commit details
    Browse the repository at this point in the history
  55. [REF] web_editor: hide editors for users not in group

    This commit adds a way to restrict SnippetOptions to one or several user
    groups.
    Example of use:
    
    ```
    registerOption("MyOption", {
    	...,
    	data: {
    		groups: ["website.group_website_designer"],
    	},
    });
    ```
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    97647a2 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    595f445 View commit details
    Browse the repository at this point in the history
  57. [REF] web_editor, website: convert SnippetMove options to Owl

    task-3850413
    
    # Conflicts:
    #	addons/website/static/src/js/editor/snippets.options.js
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    351efbd View commit details
    Browse the repository at this point in the history
  58. [REF] website: convert s_product_catalog options to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    08b7c1d View commit details
    Browse the repository at this point in the history
  59. [REF] website: convert s_progress_bar option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f2c9ae6 View commit details
    Browse the repository at this point in the history
  60. [REF] web_editor, website: convert s_chart to Owl

    - Handle triggerWidgetsNames
    - Handle onGetCustomColors
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    14d19b0 View commit details
    Browse the repository at this point in the history
  61. [REF] website, *: convert dynamic snippet options to Owl

    *: website_blog, website_event, website_sale
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    6b0b66d View commit details
    Browse the repository at this point in the history
  62. [REM] website: s_progress_bar already in so_content_addition

    `.s_progress_bar` is already in `so_content_addition_selector` which is
    included in `data-selector` and `drop-near`.
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    32b7ee6 View commit details
    Browse the repository at this point in the history
  63. [REF] website: convert s_showcase option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    7ef0f30 View commit details
    Browse the repository at this point in the history
  64. [REF] web_editor: support isTopOption in Owl snippet options

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    d8c42ef View commit details
    Browse the repository at this point in the history
  65. [REF] website: convert s_tabs option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a177a10 View commit details
    Browse the repository at this point in the history
  66. [REF] website: convert s_timeline option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    e832d2d View commit details
    Browse the repository at this point in the history
  67. [REF] web_editor: support naming editor block with data.string

    Also limits old hack approach to non-Owl blocks.
    
    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b0a048a View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    dec2389 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    a094064 View commit details
    Browse the repository at this point in the history
  70. [REF] web_editor: convert SelectTemplate option to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    c9150b9 View commit details
    Browse the repository at this point in the history
  71. [REF] web_editor: convert s_masonry_block options to Owl

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b5098a2 View commit details
    Browse the repository at this point in the history
  72. [IMP] web_editor: use forceNoDeleteButton in owl options

    task-3850413
    agau-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    6e5a9ff View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    cf14b7b View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    554bae5 View commit details
    Browse the repository at this point in the history
  75. [REF] website_payment, *: convert s_donation options to OWL

    *: web_editor
    Given that the Donation options used to make a lot of modifications to
    the DOM of the `we-list`, all of these have been converted into OWL-
    compatible ways of modifying the `WeList` template.
    Specifically, we cannot update the UserValueComponent's DOM on the fly
    to add new inputs anymore, and we need a proper way to update the value
    of the ListUserValue according to the option and vice-versa. Both of
    these concerns are addressed by adapting the WeList's template and
    adding a new prop `doubleInput`.
    
    task-3850413
    robinlej authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5beda1a View commit details
    Browse the repository at this point in the history
  76. [REF] website: convert s_rating option to Owl

    task-3850413
    bso-odoo authored and detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    b7dab7d View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    67342bd View commit details
    Browse the repository at this point in the history
  78. [WIP] disable legacy options and keep editors in DOM

    Prior to this, when dropping a snippets, its editors would be started
    but not added to the DOM, which means that when clicking on it, there
    would be a significant delay before options would be accessible.
    Note that this delay is present when clicking on a Snippet that is not
    dropped for the first time.
    
    The reason for this delay is because even thought the widgets where not
    in the DOM, they were still stored somewhere inside the started editor,
    reducing the need for renders when clicking on a snippet that was
    previously enabled.
    
    This commit tries to mimic the old behaviour by keeping every element in
    the DOM and mounted, just hidden with a d-none when the editor is not
    currently enabled. This could have some side effects, like in tours
    where a SnippetEditor selected is not the one currently visible.
    
    For this reason, this commit is kept separate for now.
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    0565709 View commit details
    Browse the repository at this point in the history
  79. [WIP] fixup! [REF] web_editor, website: convert s_website_form option…

    …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
    detrouxdev committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1ea9cc1 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    0b118a4 View commit details
    Browse the repository at this point in the history
  81. !fixup WeUrlPicker

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1758fab View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    e355974 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    6767bbd View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    771e2b3 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    de845fa View commit details
    Browse the repository at this point in the history
  86. [REF] web_editor: convert DynamicSvg option to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    11d04bf View commit details
    Browse the repository at this point in the history
  87. [REF] website: convert SwitchableViews option to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    92c412f View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    3899120 View commit details
    Browse the repository at this point in the history
  89. !fixup media picker

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    de49238 View commit details
    Browse the repository at this point in the history
  90. !fixup GPSPicker def keyreq

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fb92f9f View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    2b96f0c View commit details
    Browse the repository at this point in the history
  92. [REF] web_editor, website: convert WebsiteLevelColor option to owl

    Includes header, footer, copyright and theme options.
    
    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fb00480 View commit details
    Browse the repository at this point in the history
  93. [REF] website: convert Accordion option to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f05025b View commit details
    Browse the repository at this point in the history
  94. [REF] website: convert GridImage option to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fcd4d0b View commit details
    Browse the repository at this point in the history
  95. [REF] website: convert Button option to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    d8f4467 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    7b1eaa4 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    cda91b7 View commit details
    Browse the repository at this point in the history
  98. !fixup website_form

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    7762e27 View commit details
    Browse the repository at this point in the history
  99. !fixup timeline

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    1f7364b View commit details
    Browse the repository at this point in the history
  100. !fixup website level color

    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fa5afa9 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    5ed4465 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    7ab66fb View commit details
    Browse the repository at this point in the history
  103. [REF] mass_mailing: convert DesignTab to Owl

    task-3850413
    bso-odoo committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3de47f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Configuration menu
    Copy the full SHA
    0bf486e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e2ed8b View commit details
    Browse the repository at this point in the history
  3. !fixup WeOverlay

    bso-odoo committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8ccb787 View commit details
    Browse the repository at this point in the history