Bug #18426
Provide support for Notification actions
Status:
Closed
Priority:
Normal
Assignee:
Category:
Notifications
Target version:
Description
The notifications drawer don't have any support for adding links, or actions. Ideally we should be providing links and buttons for actions that could resolve the notification if it's an error, etcetera..
At a bare minimum, just links would serve us well, right now the link would have to go in the JSX response and we would have to mark the entire message as html safe.
Related issues
Associated revisions
History
#1
Updated by Daniel Lobato Garcia over 5 years ago
- Copied from Bug #18431: Provide support for Notification actions added
#2
Updated by Dominic Cleal over 5 years ago
- Category changed from Web Interface to Notifications
#3
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4265 added
#4
Updated by Daniel Lobato Garcia over 5 years ago
- Target version set to 1.11.0
#5
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset db8b1228b5555e46285d57d71d7c7543582128c1.
#6
Updated by Dominic Cleal over 5 years ago
- Legacy Backlogs Release (now unused) set to 209
#7
Updated by Ohad Levy over 5 years ago
- Related to Bug #18678: notification actions always open an external tab added
#8
Updated by Ohad Levy over 5 years ago
- Related to Bug #18680: unable to close notification action dropdown added
Fixes #18426 - Add actions to notification entries
This adds support for the notifications to display actions. In case no
actions are provided, the dropdown kebab isn't shown. The actions
possible right now only include GET links.