odoo/odoo#129521

Created by Design, Elisabeth Dickinson (edi)
Merged at c2ed6257f8a2fe74a7f4fa2977b44aac1c0bb0c5

Statuses:

label
odoo-dev:master-forum-pimp-and-pump-edi
head
e43b87b712b9828ee883fd11186cf1a1b97ac3b5
merged
2 years ago by SM Learn, Florian Charlier (flch)
odoo/odoo
saas-16.4 #129521
17.0
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master #132226

[FIX] website_forum: fix redesign layout glitches

Improve last activity column

Allow the columns to resize to fit the date line without wrapping
and set the actual date to the title to appear on hover.

Header fixes

To avoid the searchbar shrinking too much when there are multiple
elements in the header (long title, tag or search filter, ...), we've
set a min-width to it , and the max-width has been moved
from the second section of the header to the searchbar instead.

The alignment of the title and the rest of the bar is now aligned on the
breadcrumb's baseline instead of vertically centered.

Fix dropdown title disappearing on selecting a tag

The dropdown's title disappeared when a tag was selected as a filter.

Height of container and aside

We've removed the h-100 on the aside to place it on the parent under
the condition that the forum_welcome_message has been dismissed.

Because <main> has a flex-grow is applied to it,
the #wrap has a gap under the content where it doesn't meet the full
height of the main.
This blank space is made visible by the grey background of the aside.
This could be solved by a simple h-100 on the wrap, but it overflows
onto the footer when the forum_welcome_message displayed.

Add missing pages names

Some titles weren't appearing in the breadcrumb due to misplacement of
the _page_name t-set or absence of it.

Switch static image for animation

The empty moderation pages now have an animated svg instead of a static
one. Fun.

Hide filter tool on empty mod pages

The moderation pages don't need the filter tool to appear when there
are no results.

Switch conditionals and/or to if

Although it works, in python we don't use X and A or B
but A if X else B

Other visual fixes

In JS : put back removed classes on voteCount element
Tags: fix the overflowing text when tag is long and switch position with
icon for more readability
Remove useless not inDropdown condition on form
Fix inverted plural/singular of Views

Other minor alignment fixes

task-3083657
part of task-3316555


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr