Tuesday, March 9, 2021
2 changes · master
Enhancements to existing features
Email campaigns scheduled to send immediately or at a specific time will now trigger processing at the intended time instead of waiting for the next hourly check. This reduces unnecessary background activity and improves sending precision while keeping a daily fallback for reliability.
Original PR description
The "launch" button of an email campaign mark the current campaign ready to be processed. As sending all the mails is a pretty heavy operation, it is done asynchronously in a cron. The cron was running every hour, it means the cron was running even if there was no active campaign and it has a best precision of 1 hour. We now use the new mechanism of [cron triggers] to schedule the cron execution at the time the campaign is configured to be sent. It achieves a better precision and ensure the cron only runs when there are stuff to process. We decreased the frequency of the cron to once a day, this is mostly a security. [cron triggers]: 4b28f1162a85d03f9dbe0338b06758ad151ea6a8 Task: 2416741
Website editors now get clearer, more consistent controls when selecting multiple images, adjusting image wall spacing, and choosing background images. These updates make image-heavy page sections easier to understand and edit, reducing friction for content teams.
Original PR description
The goal of this PR is to improve UI to ease the understanding of image options: 1- MEDIA DIALOG : - Use the same layout as in selected themes for multi image selection (Image Wall, Gallery...). 2- IMAGES WALL: - Replace "Image Spacing" Selection by a slider. - Make the "Images Wall" snippet editable to be able to open the media dialog on "double-click" on images. 3- BACKGROUND IMAGES: - Update style for Media Picker button. task-2326573 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr