Thursday, February 26, 2026
2 changes · saas-19.1
Code cleanup and technical improvements
This update enhances website builders by automatically suggesting existing website pages and anchors when users select URLs. The change replaces an older system with a new, more efficient component that provides better internal linking options, streamlining the website creation process.
Original PR description
When website is installed, all URL pickers should suggest existing website pages and anchors. Before this commit, the `WebsiteUrlPicker` used `autocompleteWithPages` to suggest internal links. This…
When website is installed, all URL pickers should suggest existing
website pages and anchors.
Before this commit, the `WebsiteUrlPicker` used `autocompleteWithPages`
to suggest internal links.
This commit removes the usage of `autocompleteWithPages` and
replace `WebsiteUrlPicker` with `BuilderUrlPicker` with an Autocomplete
component completely to provide internal link and anchor
suggestions.
Key Changes:
- Introduce `AutoCompleteBuilderUrlPicker` component extending the base
`AutoComplete` component.
- Patch BuilderUrlPicker to:
- Replace its input with AutoCompleteBuilderUrlPicker.
- Provide a `sources` getter delegating suggestions to
loadOptionsSource.
- Handle selection vs input through `isOptionSelected`.
- Extract and reuse loadOptionsSource in website utils.
- Move `loadOptionsSource` to utils.
- Add `title` prop and `isOptionSelected` flag to AutoComplete to
properly differentiate selection vs input.
Enterprise PR: [106706](https://github.com/odoo/enterprise/pull/106706)
task-5260613
Forward-Port-Of: odoo/odoo#226324This update simplifies how website URLs are displayed in the live chat feature. The team replaced an older component with a newer one, `BuilderUrlPicker`, to improve the system's efficiency and maintainability. This change ensures a smoother user experience for live chat visitors.
Original PR description
This commit replaces the use of `WebsiteUrlPicker with `BuilderUrlPicker` community PR: [226324](https://github.com/odoo/odoo/pull/226324) task-5260613 Forward-Port-Of: odoo/enterprise#106706