Skip to content

Web user notifications when updating and when viewing a node #55

Description

@jrosgiralt

Labdoo 2.0 implements user notifications that shown on the web page that a user is viewing at the very top of the page.

These notifications are shown upon different user actions, such as node creation, node update or node view. For instance, when a dootrip is created, updated, the user sees this notification at the top:

image

Or when a users visits a dootronic for which he/she is the manager, the message "You are this dootronic's manager." shows up:

image

This notifications are implemented in different places of the Labdoo 2.0 code, for instance in the actions module:

https://github.com/Labdoo/Labdoo-2.0/blob/08784e59a46d3790ebbda04545cc77269aeb8042/modules/custom/lbd_actions/lbd_actions.module#L451

Or in the dootrip module: https://github.com/Labdoo/Labdoo-2.0/blob/08784e59a46d3790ebbda04545cc77269aeb8042/modules/custom/lbd_dootrip/lbd_dootrip.module#L78

And also in the labdoo_lib module, for instance: https://github.com/Labdoo/Labdoo-2.0/blob/08784e59a46d3790ebbda04545cc77269aeb8042/modules/custom/labdoo_lib/labdoo_lib.module#L4956

A good way to identify all of these message is by searching the function labdoo_lib_msg_info(), which is used to print this type of notifications at the top of a labdoo web page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions