[MGNLUI-6252] Select all check box (for notifications) is missing Created: 29/Sep/20 Updated: 02/Feb/24 |
|
| Status: | Reopened |
| Project: | Magnolia UI |
| Component/s: | pulse |
| Affects Version/s: | 6.2.6 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Frank Sommer | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 5 |
| Labels: | usability, ux-improvement | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| 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)
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Epic Link: | UX improvements | ||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||
| Description |
|
In Magnolia 6 it isn't possible to select all notifications to delete them afterwards. There is no "Select all" checkbox. Furthermore in tasks it is possible, but not really visible to use. Perhaps a checkbox icon in the table head? Workaround import info.magnolia.ui.framework.message.MessagesManager; import info.magnolia.ui.api.message.Message; def clearNotificationsForUser(userName) { archived= 0 messagesManager = info.magnolia.objectfactory.Components.getComponent(info.magnolia.ui.framework.message.MessagesManager); session = ctx.getJCRSession("messages") qm = session.getWorkspace().getQueryManager() query="select * from [mgnl:systemMessage] where ISDESCENDANTNODE('/superuser')"; q = qm.createQuery(query, "JCR-SQL2") results = q.execute() messages = NodeUtil.asList(NodeUtil.asIterable(results.getNodes())) for (message in messages) { ++archived String id = message.getProperty("id").getValue().getString(); messagesManager.clearMessage(userName, id); } println("archived "+archived+" notifications") session.save(); } clearNotificationsForUser('superuser'); |
| Comments |
| Comment by Auswin-Kumar Mohanasundaram [ 03/Sep/21 ] |
|
Any update on this issue ? |