Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21791

The background of unread events displayed with "Load older notifications" is not grey anymore, but white

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 16.0.0-rc-1, 15.10.6
    • 15.9
    • Notifications
    • Windows 11 Pro, Edge 120, using a local instance of XWiki 15.10.4 on MariaDB 11.2, Tomcat 9.0.84
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. Create an user that is Watching the wiki (has Watch Notifications toggles ON)
      2. Login as Admin
      3. Create, edit some pages to generate more than 10 events
      4. Login as U1
      5. Click on Notifications Bell to open the Notifications List
      6. Observe the background color of the 10 events displayed by default
      7. Click on "Load older notifications" button
      8. Observe the background color of the older events loaded

      Expected results

      Both the events displayed by default when the list is opened and loaded from older ones have the background grey, since they are unread.

      Actual results

      The background color of the older events loaded is white (same as read events), even if the events are unread.

      The same issue reproduces on Dashboard's Activity Stream.

      The issue reproduces also on XWiki 15.9, but could not be reproduced on XWiki 15.5.4 or 14.10.20.

      Attachments

        1. 21791-beforePR.png
          419 kB
          Charpentier Lucas
        2. Older_Notifications_Same_Color_As_Unread.png
          68 kB
          Ilie Andriuta
        3. Older_Notifications_White_Background.png
          75 kB
          Ilie Andriuta

        Activity

          People

            Lucas C Charpentier Lucas
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: