summaryrefslogtreecommitdiff
path: root/addons/website/data/website_data.xml
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-02-11 07:43:23 +0000
committerSamuel Degueldre <sad@odoo.com>2020-03-30 11:06:45 +0000
commit5576a5f84d7d7b539498f15b7e26165b61c52ba5 (patch)
tree6af69fe4f0e0d7b53fa82ec5e7a7ec496bc45693 /addons/website/data/website_data.xml
parent634c00a32fe18365039f83d890965fe35de7d23b (diff)
[IMP] web_editor, web_unsplash: improve media-dialog UX
Previously, searching for images in the database and on unsplash was mutually exclusive, and controlled by a dropdown menu next to the search bar. Additionally, the display of db images and unsplash images was very different, making using the search function inconsistent and awkward. This commit merges the unsplash search into the db search. When searching, the first few matches from the database are displayed, then results from unsplash. Additionally, the layout of images has been greatly improved, eliminating almost all padding, using some flex-box magic to allow the images to take up all the available space without being cropped or deformed. The input to add an attachment by URL is now collapsed by default, and clicking on it will expand it to reduce visual clutter. Finally, when not in multi-images mode, the clicked image is immediately used, rather than the user having to click it and then click the add button, or having to double click, which was not obvious. task-2091417 closes odoo/odoo#45174
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions