[MGNLUI-115] Messages App and Notification: counter is buggy Created: 29/Oct/12  Updated: 11/Feb/13  Resolved: 01/Feb/13

Status: Closed
Project: Magnolia UI
Component/s: pulse
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Espen Jervidalo Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: framework
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When playing around with the notifications in Messages App. The counter seems shaky on the pulse icon: It ended up with -3 messages at some point and +3, after reading all messages.



 Comments   
Comment by Tobias Mattsson [ 29/Nov/12 ]

A bit of background on what was done previously: It had to do with the fact that it was sending increments and decrements to the client and things got out of sync. It was changed to always send the actual number and to do so also on repaint so the counter wouldn't get out of sync on repaint.

Comment by Federico Grilli [ 01/Feb/13 ]

For the reviewer:

  • the commit is in the workflow branch
  • to test it
    • go to pulse
    • click messages already cleared, i.e. whose "new" value is "no"
      • expected: no changes in the messages count
    • cause some errors (duh!) e.g. by publishing/unpublishing nodes (of course you need to have only an author instance)
      • expected: you see the messages count increases in pulse
    • click messages already cleared, i.e. whose "new" value is "no"
      • expected: no changes in the messages count
    • click messages not yet cleared, i.e. whose "new" value is "yes"
      • expected: messages count decreases
Generated at Mon Feb 12 08:33:44 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.