Patch #36182

Show notifications for all Redmine users

Added by Mizuki ISHIKAWA 11 months ago. Updated 3 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Administration
Target version:Candidate for next minor release

Description

This patch adds the feature to display text throughout the site once it has been set in Settings > Administration.


There is already a famous plugin called Redmine banner that is used by many people. https://www.redmine.org/plugins/redmine_banner
This patch only provides very simple functionality, so I think you will need the Redmine banner plugin to change the notification destination and design.

show-notifications.patch Magnifier (2.89 KB) Mizuki ISHIKAWA, 2021-11-11 05:52

screenshot-2021-11-11-10.41.31.png (84.9 KB) Mizuki ISHIKAWA, 2021-11-11 05:53

screenshot-2021-11-11-10.41.49.png (297 KB) Mizuki ISHIKAWA, 2021-11-11 05:53

show-notifications-v2.patch Magnifier (4.99 KB) Mizuki ISHIKAWA, 2022-06-20 05:58

screenshot-2022-06-20-13.05.50.png (575 KB) Mizuki ISHIKAWA, 2022-06-20 06:06

screenshot-2022-06-20-13.06.00.png (518 KB) Mizuki ISHIKAWA, 2022-06-20 06:06

Screenshot-2022-06-24.png (160 KB) Go MAEDA, 2022-06-24 10:43

show-notifications-v3.patch Magnifier (4.89 KB) Go MAEDA, 2022-06-24 10:43


Related issues

Duplicated by Redmine - Feature #36942: Admin status messages on every page Closed

History

#1 Updated by Go MAEDA 6 months ago

  • Target version set to Candidate for next minor release

#2 Updated by Holger Just 6 months ago

  • Duplicated by Feature #36942: Admin status messages on every page added

#3 Updated by C S 6 months ago

+1

#4 Updated by C S 6 months ago

As a info for all: https://www.redmine.org/plugins/redmine_banner works also fine with 4.2.5

#5 Updated by Mizuki ISHIKAWA 4 months ago

I have updated the patch.

  • Change the position of the banner-text display. This will also accommodate narrow screen widths.
  • Change banner text to be hidden on login page when Setting.login_required? is true.

As a info for all: https://www.redmine.org/plugins/redmine_banner works also fine with 4.2.5

The redmine_banner plugin has many features and is very useful.
This patch is intended to allow minimal banner functionality without the plugin.

#7 Updated by Go MAEDA 3 months ago

I have updated the patch.

  • Place the banner above the top menu
  • Change the background color to green (the same color with flash notices)

#8 Updated by Go MAEDA 3 months ago

  • Category set to Administration

#9 Updated by Ko Nagase 3 months ago

+1

"flush notices" (green) color looks good !

There may be a case that a system administrator may want to emphasize a banner message more,
so it may be even better if "flush warning" (yellow) and "flush error" (red) are supported with selector.

#10 Updated by Mizuki ISHIKAWA 3 months ago

Go MAEDA wrote:

I have updated the patch.

  • Place the banner above the top menu
  • Change the background color to green (the same color with flash notices)

Thank you for improving the patch.
Looks good.

#11 Updated by Go MAEDA 3 months ago

Ko Nagase wrote:

There may be a case that a system administrator may want to emphasize a banner message more,
so it may be even better if "flush warning" (yellow) and "flush error" (red) are supported with selector.

Good idea!

However, in order to ship this feature as soon as possible, I think it would be better to keep the patch simple and discuss the feature to set the style of the banner in a separate issue after this patch is committed.

#12 Updated by Ko Nagase 3 months ago

Go MAEDA wrote:

However, in order to ship this feature as soon as possible, I think it would be better to keep the patch simple and discuss the feature to set the style of the banner in a separate issue after this patch is committed.

Okay, no problem, because I rather want to see the functionality soon. :)
Thanks for confirmation & reply !

#13 Updated by Marius BALTEANU 3 months ago

I don't think that we should commit this as it is. We should implement a proper banner/notification system with start and end dates for the messages.

#14 Updated by Mizuki ISHIKAWA 3 months ago

Marius BALTEANU wrote:

I don't think that we should commit this as it is. We should implement a proper banner/notification system with start and end dates for the messages.

Thank you for your feedback.
I submitted a simple patch because I thought it can be fully utilized with minimal functionality.
I also think that with the current design using the Setting table, it is easy to extend it later with additional options such as publication date and time information, display type, etc.

I would like to hear your opinion on the requirements and design of the banner/notification system.

Also available in: Atom PDF