HomePhorge

Fix notification message when Aphlict is not configured

Description

Fix notification message when Aphlict is not configured

Summary:
Before this change the footer in the notification bar was a bit
weird on the message "Notification server not enabled":

BeforeAfter
{F315024}{F315001}

Also a bit wrong on the "Connecting..." message:

BeforeAfter
{F315061}{F315072}

The fix involves a refactor in the HTML structure in order to
match the graphic rendered when Aphlict is configured and running.

In short, we pass from this:

<span class="connection-status-text aphlict-connection-status-notenabled">
  <span class="visual-only phui-icon-view phui-font-fa fa-circle-o grey"></span>
  Notification server not enabled
</span>

To this:

<span class="visual-only phui-icon-view phui-font-fa fa-circle-o grey"></span>
<span class="connection-status-text aphlict-connection-status-notenabled">Notification server not enabled</span>

See the Task for additional details.

Closes T15415

Test Plan:
Follow the official Notification documentation about the config notification.servers,
open the Notification top-bar, and check the message in these conditions:

  • without the config
  • with the config
  • with/without Aphlict running

https://we.phorge.it/book/phorge/article/notifications/

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, speck, tobiaswiese, Matthew, Cigaryno

Maniphest Tasks: T15415

Differential Revision: https://we.phorge.it/D25312

Details

Provenance
Valerio BozzolanAuthored on Jun 27 2023, 4:29 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP659e13fa6d0e: Fix UX regression in Dashboard Tabs Panel
Branches
Unknown
Tags
Unknown

Event Timeline