Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCFS - Notification bug when "selecting all" and "deleting selected" #2028

Open
Grulin opened this issue Feb 14, 2025 · 0 comments
Open

LCFS - Notification bug when "selecting all" and "deleting selected" #2028

Grulin opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working In-App notifications Medium Medium priority

Comments

@Grulin
Copy link
Collaborator

Grulin commented Feb 14, 2025

Describe the Bug
When a user selects "select all" and then "mark as read' this function works for all pages of notifications. When a user selects "select all" and the "delete selected" it only deletes the notifications on the page (so 10 lines at a time if the page size is 10, 25 at a time if it is a page size of 25, etc.). This happens for the IDIR and the BCeID side.

Image

Expected Behaviour
Once all "select all" is selected, this should apply to all notification lines, not just the ones on the page

  • The red alert circle should disappear
  • The notification count should reset to zero.

Actual Behaviour

  • Only the notifications on the current page are being deleted, rather than all
  • The red alert circle remains visible on the bell icon, showing the notifications left on other pages

Implications
Users may think they still have new notifications, causing confusion.

Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: IDIR

  1. Open the notifications panel.
  2. Click "Select all" and then "Delete selected"
  3. Observe that only the notifications on the current page are deleted the bell icon still displays a red alert with a number.
  4. Refresh the page and check if the issue persists.
@Grulin Grulin changed the title LCFS - Notification bug when marking all notification as "read" LCFS - Notification bug when "selecting all" and "deleting selected" Feb 14, 2025
@Grulin Grulin added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working In-App notifications Medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant