Monday, February 6, 2023
2 changes · master
Enhancements to existing features
The web editor now reuses the initial ICE server configuration instead of loading it every time, reducing repeated background work. User permission checks are also cached, which can reduce unnecessary server calls and make related screens feel more responsive.
Original PR description
Before this commit, the web editor loaded the configuration for ice servers each time it was created. It is useless to do it more than once, so this commit simply keep the initial value around. 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 change adds automated checks for the Knowledge cover selector, including behavior when Unsplash is not configured and when Unsplash image search is available. It helps ensure users can reliably add and search for article cover images without regressions.
Original PR description
Purpose: ======== Add test tours to make sure the cover selector works as expected. A "normal" test tour has been added to check the behaviour of the cover selector when no unsplash credentials are set, and an external test has been added to check that the integration with Unsplash's API works as expected (ie, add a random cover when clicking on "add cover" button, and allow searching in Unsplash's library). To test or debug the external test, one can create free "demo" keys on Unsplash's website. Task-3113191