Friday, January 14, 2022
5 changes · master
Enhancements to existing features
The search bar now removes accidental spaces before and after entered keywords. This helps users get the expected results when typing or pasting text with extra whitespace, reducing failed searches caused by simple formatting mistakes.
Original PR description
When the search field is used to query an element, the value is trimmed to remove unnecessary spaces before and after the actual keywords. This eliminates the annoyance of a search having no result because of a space that was left (for example when copy- pasting some text). A test has been added to check if a value has been trimmed when the text input contains spaces. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The command palette was updated internally to access part of its screen layout in a more reliable way. This helps keep the web interface compatible with the newer Owl 2 framework, reducing future maintenance risk without changing user-facing behavior.
Original PR description
The commit adapts the CommandPalette to use a t-ref to a node
in the template instead of a this.el.querySelector("...") in the
component to query an element. This will improve the
compatibility with Owl 2.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update changes how certain web interface text is rendered so it is treated as regular text rather than raw content. This helps reduce unnecessary risk while keeping the user experience unchanged.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adjusts internal mail and discussion interface components to prepare them for a future OWL 2 technology upgrade. It should not change day-to-day user behavior, but helps keep the messaging area easier to maintain and modernize.
Original PR description
In preparation to use OWL 2 in discuss code. Task-2694206
The base linting configuration was adjusted so local development tools work more reliably without extra setup. This reduces friction for contributors and keeps broader project checks better aligned with dedicated CI configuration.
Original PR description
The usage of `select=RST` apparently broke all local flake8 uses (which might be implicit e.g. used for linting in the simpler editors). Always excluding "addons" probably causes a similar problem. Remove the exclusion of "addons", and use "extend-select" for the selection of RST errors. This should play better with local configuration, or the lack of configuration (thus flake8 defaults). This means the exclusion of addons and the "blanking" of the default errors selection will have to be done in the CI configuration, but that probably makes sense.