[PR #1446] [MERGED] refactor(frontend): improved notification messages system #1522

Closed
opened 2026-02-25 21:38:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1446
Author: @josaphatim
Created: 2/12/2025
Status: Merged
Merged: 2/12/2025
Merged by: @josaphatim

Base: masterHead: refactoring-of-notification-messages


📝 Commits (6)

  • c289279 enh(frontend): improved notification messages
  • 52929ce Fix Hm_Debug
  • 6ff244b Refact JS calls for creating notices
  • dc1ab5c Set severity to hm debug messages
  • c93f188 Fix unit tests
  • 7d89a45 Removed Hm_Notices::hide method as not need anymore

📊 Changes

71 files changed (+445 additions, -432 deletions)

View changed files

📝 lib/cache.php (+8 -8)
📝 lib/config.php (+5 -5)
📝 lib/db.php (+3 -3)
📝 lib/dispatch.php (+6 -6)
📝 lib/environment.php (+1 -1)
📝 lib/format.php (+1 -1)
📝 lib/framework.php (+4 -4)
📝 lib/module.php (+3 -3)
📝 lib/modules.php (+1 -1)
📝 lib/output.php (+28 -10)
📝 lib/request.php (+5 -5)
📝 lib/session_base.php (+1 -1)
📝 lib/session_db.php (+2 -2)
📝 lib/session_php.php (+2 -2)
📝 modules/2fa/modules.php (+4 -4)
📝 modules/2fa/site.js (+4 -16)
📝 modules/account/modules.php (+6 -6)
📝 modules/advanced_search/modules.php (+3 -3)
📝 modules/advanced_search/site.js (+4 -5)
📝 modules/carddav_contacts/hm-carddav.php (+5 -5)

...and 51 more files

📄 Description

Improved the notification system adding different severities to the messages and debugging messages.
Fixed error messages not disappearing, causing the error list to exceed the screen size making it difficult to click items in the message area


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/1446 **Author:** [@josaphatim](https://github.com/josaphatim) **Created:** 2/12/2025 **Status:** ✅ Merged **Merged:** 2/12/2025 **Merged by:** [@josaphatim](https://github.com/josaphatim) **Base:** `master` ← **Head:** `refactoring-of-notification-messages` --- ### 📝 Commits (6) - [`c289279`](https://github.com/cypht-org/cypht/commit/c2892798f58b1f5463ce7d018d438a9af855ee36) enh(frontend): improved notification messages - [`52929ce`](https://github.com/cypht-org/cypht/commit/52929ce71aa5de90b9009212d2645d5e5010260d) Fix Hm_Debug - [`6ff244b`](https://github.com/cypht-org/cypht/commit/6ff244b5a92398b70529d209224a6438a778aabf) Refact JS calls for creating notices - [`dc1ab5c`](https://github.com/cypht-org/cypht/commit/dc1ab5cf07318b743f3755e9bcd51b82d954a78e) Set severity to hm debug messages - [`c93f188`](https://github.com/cypht-org/cypht/commit/c93f1886f0cf58e64f7320c9a799ab9acfbaba64) Fix unit tests - [`7d89a45`](https://github.com/cypht-org/cypht/commit/7d89a4500492243d8c5d72e547bb6f9b7bba8812) Removed Hm_Notices::hide method as not need anymore ### 📊 Changes **71 files changed** (+445 additions, -432 deletions) <details> <summary>View changed files</summary> 📝 `lib/cache.php` (+8 -8) 📝 `lib/config.php` (+5 -5) 📝 `lib/db.php` (+3 -3) 📝 `lib/dispatch.php` (+6 -6) 📝 `lib/environment.php` (+1 -1) 📝 `lib/format.php` (+1 -1) 📝 `lib/framework.php` (+4 -4) 📝 `lib/module.php` (+3 -3) 📝 `lib/modules.php` (+1 -1) 📝 `lib/output.php` (+28 -10) 📝 `lib/request.php` (+5 -5) 📝 `lib/session_base.php` (+1 -1) 📝 `lib/session_db.php` (+2 -2) 📝 `lib/session_php.php` (+2 -2) 📝 `modules/2fa/modules.php` (+4 -4) 📝 `modules/2fa/site.js` (+4 -16) 📝 `modules/account/modules.php` (+6 -6) 📝 `modules/advanced_search/modules.php` (+3 -3) 📝 `modules/advanced_search/site.js` (+4 -5) 📝 `modules/carddav_contacts/hm-carddav.php` (+5 -5) _...and 51 more files_ </details> ### 📄 Description Improved the notification system adding different severities to the messages and debugging messages. Fixed error messages not disappearing, causing the error list to exceed the screen size making it difficult to click items in the message area --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:38:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1522
No description provided.