Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Sep 13, 2025

Follow-up of #225145

PR above made a few visual changes, one of which was to show mark as read button in messaging menu item in addition to keeping the badge unread / important on hover. This is motivated by the fact that item is considered important thanks to this badge, and when hovering it it gives a wrong impression the item is no longer important when this is just on hover.

Solution of PR above was to keep display of badge even when mouse-hovering, so mouse hover shows both the badge and the mark as read button.

However, if the notification item text takes almost a full single line, mouse-hovering made the item grow bigger due to being on 2 lines forced by mark as read button on hover. This flicker is not great UX.

This commit fixes the issue by keeping badge and mark as read button visible on hover, but the mark as read button now overlaps the notification item text rather than collide. As a result, the text part of notification item doesn't change its visual of lines and word break per line just on mouse hovering.

Before / After
before after

Forward-Port-Of: #226531

Follow-up of odoo#225145

PR above made a few visual changes, one of which was to show mark as
read button in messaging menu item in addition to keeping the badge
unread / important on hover. This is motivated by the fact that
item is considered important thanks to this badge, and when hovering
it it gives a wrong impression the item is no longer important when
this is just on hover.

Solution of PR above was to keep display of badge even when
mouse-hovering, so mouse hover shows both the badge and the mark as
read button.

However, if the notification item text takes almost a full single
line, mouse-hovering made the item grow bigger due to being on
2 lines forced by mark as read button on hover. This flicker is
not great UX.

This commit fixes the issue by keeping badge and mark as read button
visible on hover, but the mark as read button now overlaps the
notification item text rather than collide. As a result, the text
part of notification item doesn't change its visual of lines and
word break per line just on mouse hovering.

X-original-commit: ebcfcfc
@robodoo
Copy link
Contributor

robodoo commented Sep 13, 2025

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Sep 13, 2025

@alexkuhn this PR targets master and is the last of the forward-port chain.

To merge the full chain, use

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Sep 13, 2025
@alexkuhn
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Sep 16, 2025
Follow-up of #225145

PR above made a few visual changes, one of which was to show mark as
read button in messaging menu item in addition to keeping the badge
unread / important on hover. This is motivated by the fact that
item is considered important thanks to this badge, and when hovering
it it gives a wrong impression the item is no longer important when
this is just on hover.

Solution of PR above was to keep display of badge even when
mouse-hovering, so mouse hover shows both the badge and the mark as
read button.

However, if the notification item text takes almost a full single
line, mouse-hovering made the item grow bigger due to being on
2 lines forced by mark as read button on hover. This flicker is
not great UX.

This commit fixes the issue by keeping badge and mark as read button
visible on hover, but the mark as read button now overlaps the
notification item text rather than collide. As a result, the text
part of notification item doesn't change its visual of lines and
word break per line just on mouse hovering.

closes #227080

X-original-commit: ebcfcfc
Signed-off-by: Alexandre Kühn (aku) <[email protected]>
@robodoo robodoo added the 19.1 label Sep 16, 2025
@robodoo robodoo closed this Sep 16, 2025
@alexkuhn alexkuhn deleted the master-19.0-notification-item-mark-as-read-flicker-aku-462314-fw branch September 16, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
19.1 forwardport This PR was created by @fw-bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants