Bug 1448046

Summary: UI lag due to more than 3650 messages in notification
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dclarizi, hkataria, jhardy, jmarc, mhradil, mpovolny, obarenbo, simaishi, tachoi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: notification
Fixed In Version: 5.7.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1412172 Environment:
Last Closed: 2017-06-28 15:01:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1412172    
Bug Blocks:    

Comment 2 CFME Bot 2017-05-11 21:10:55 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/a3c50981c059d8128c0696e3cb389e67d4f0c225

commit a3c50981c059d8128c0696e3cb389e67d4f0c225
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Apr 21 17:22:54 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu May 11 17:09:26 2017 -0400

    Merge pull request #611 from himdel/spam-notify
    
    Notifications - fix UI performance with thousands of notifications
    (cherry picked from commit 40eeb17970f77b54679c5937b93f5527a53530c7)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1448046

 .../notifications/notification-drawer.directive.js | 71 ++++++++++++++++++++++
 .../services/event_notifications_service.js        |  2 +-
 app/views/layouts/_notifications_drawer.html.haml  |  2 +-
 .../notification-drawer.html.haml                  | 48 +++++++++++++++
 4 files changed, 121 insertions(+), 2 deletions(-)
 create mode 100644 app/assets/javascripts/controllers/notifications/notification-drawer.directive.js
 create mode 100644 app/views/static/notification_drawer/notification-drawer.html.haml

Comment 3 Shveta 2017-06-09 04:57:57 UTC
Fixed in 5.7.3.1.20170608124102_4b35a9e

Comment 4 Martin Hradil 2017-06-10 19:57:41 UTC
*** Bug 1443699 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2017-06-28 15:01:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1601