Feature #89

User notifications and flash messages

Added by Davide Principi over 8 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:05/04/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Phi
Resolution: NEEDINFO:

Description

Define an API to display informational and error messages to the User.


Related issues

Related to NethServer 6 - Feature #2029: Process tracking and notifications CLOSED 06/18/2013 11/14/2013

Associated revisions

Revision ba2a31dc
Added by Davide Principi over 8 years ago

Refs #89. Added NotificationArea class.

Replaces ValidationReport (but implements ValidationReportInterface).

- Added panel() renderer.
- Disabled nethgui.js

Revision 4a8e2604
Added by Davide Principi over 8 years ago

Refs #89. Added NethGui_Core_NotificationCarrier argument to NethGui_Core_RequestHandlerInterface::process().

Revision f1a6d7fa
Added by Davide Principi over 8 years ago

Refs #89. Added Notification worker module.

Notification core module removes the dialog messages from the user session.

Revision 4798c027
Added by Davide Principi over 8 years ago

Refs #89. Added DialogBox class.

DialogBoxes can be transient or persistent.

A persistent dialog box is stored into the User session data,
waiting for the User to dismiss it, by clicking on one of its buttons
(actions).

A transient dialog box does not have any button and is displayed until is dismissed or the interface is refreshed.

Dialog boxes are managed by NotificationArea module.

Revision 909555b7
Added by Davide Principi over 8 years ago

Refs #89. DialogBox: changed Xhtml renderer to embed array values in hidden INPUT tags.

Revision 17230b6e
Added by Davide Principi over 8 years ago

Refs #89. DialogBox API revision:

Removed showDialog from NotificationCarrierInterface: showDialogBox method is now invoked directly on User object.

Revision 4ef05113
Added by Davide Principi about 8 years ago

Refs #89. addValidationError(): Support for both string and array as `message` argument.

History

#1 Updated by Davide Principi over 8 years ago

  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi

#2 Updated by Davide Principi over 8 years ago

  • Priority changed from Normal to High
  • Start date set to 05/06/2011

#3 Updated by Davide Principi over 8 years ago

  • % Done changed from 0 to 10

#4 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to CLOSED
  • Start date set to 05/04/2011
  • % Done changed from 0 to 100
  • Estimated time set to 24.00

A Module receives an object implementing NethGui_Core_NotificationCarrierInterface during process().

Through that object a dialog box can be shown to the User calling its showDialog() method.

Also available in: Atom PDF