Bug #18426

Provide support for Notification actions

Added by Daniel Lobato Garcia 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Daniel Lobato Garcia
Category:Notifications
Target version:Team Daniel - Iteration 9
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4265
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

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

Related to Foreman - Bug #18678: notification actions always open an external tab Closed 02/26/2017
Related to Foreman - Bug #18680: unable to close notification action dropdown Rejected 02/26/2017
Copied from Foreman - Bug #18431: Provide support for Notification actions Duplicate 02/08/2017

Associated revisions

Revision db8b1228
Added by Daniel Lobato Garcia 7 months ago

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.

History

#1 Updated by Daniel Lobato Garcia 7 months ago

  • Copied from Bug #18431: Provide support for Notification actions added

#2 Updated by Dominic Cleal 7 months ago

  • Category changed from Web Interface to Notifications

#3 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4265 added

#4 Updated by Daniel Lobato Garcia 7 months ago

  • Target version set to Team Daniel - Iteration 9

#5 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal 7 months ago

  • Release set to 1.15.0

#7 Updated by Ohad Levy 7 months ago

  • Related to Bug #18678: notification actions always open an external tab added

#8 Updated by Ohad Levy 7 months ago

  • Related to Bug #18680: unable to close notification action dropdown added

Also available in: Atom PDF