Skip to content

IBX-9060: Revamp notifications #1529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 123 commits into
base: 4.6
Choose a base branch
from
Open

IBX-9060: Revamp notifications #1529

wants to merge 123 commits into from

Conversation

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR revamps the notifications functionality and introduces new sidebar interactions while updating related configuration and routing. Key changes include:

  • Introducing a new sidebar panel with improved event handling and backdrop management.
  • Revamping notifications modal and list functionality by adding support for actions such as marking notifications as read/unread, bulk operations, and deletion.
  • Updating routing, service configurations, and default settings to support the new notifications features.

Reviewed Changes

Copilot reviewed 27 out of 38 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/bundle/Resources/public/js/scripts/sidebar/side.panel.js New sidebar panel implementation with close triggers and backdrop control.
src/bundle/Resources/public/js/scripts/admin.notifications.modal.js Updates to notifications modal including new actions and improved event management.
src/bundle/Resources/public/js/scripts/admin.notifications.list.js Introduction of notifications list with bulk operations and status management.
src/bundle/Resources/public/js/scripts/admin.notifications.filters.js New filters implementation for notifications.
src/bundle/Resources/public/js/scripts/admin.multilevel.popup.menu.js Improvement in multilevel popup menu initialization with refactored event handling.
src/bundle/Resources/encore/ibexa.js.config.js Updated configuration to include new notifications list entry.
src/bundle/Resources/config/services/controllers.yaml Added new controller service definitions for notifications.
src/bundle/Resources/config/routing.yaml Introduced new routes to support notifications actions.
src/bundle/Resources/config/ezplatform_default_settings.yaml Increased pagination limit for notifications.
Files not reviewed (11)
  • src/bundle/Controller/AllNotificationsController.php: Language not supported
  • src/bundle/Controller/NotificationController.php: Language not supported
  • src/bundle/Form/Data/SearchQueryData.php: Language not supported
  • src/bundle/Form/Type/SearchType.php: Language not supported
  • src/bundle/Resources/public/scss/_header-user-menu.scss: Language not supported
  • src/bundle/Resources/public/scss/_list-filters.scss: Language not supported
  • src/bundle/Resources/public/scss/_notifications-modal.scss: Language not supported
  • src/bundle/Resources/public/scss/_notifications.scss: Language not supported
  • src/bundle/Resources/public/scss/_side-panel.scss: Language not supported
  • src/bundle/Resources/public/scss/ibexa.scss: Language not supported
  • src/bundle/Resources/translations/ibexa_admin_ui.en.xliff: Language not supported
Comments suppressed due to low confidence (1)

src/bundle/Resources/public/js/scripts/admin.multilevel.popup.menu.js:2

  • [nitpick] The function name 'initMutlilevelPopupMenus' appears to contain a typographical error; consider renaming it to 'initMultilevelPopupMenus' for clarity.
const initMutlilevelPopupMenus = (container) => {

@tbialcz tbialcz force-pushed the ibx_9060 branch 2 times, most recently from 106b699 to 46edda7 Compare April 29, 2025 07:41
@albozek albozek force-pushed the ibx_9060 branch 2 times, most recently from 485f3de to d537c29 Compare April 29, 2025 12:58
…ency, improved error handling, and updated forms and translations.
@tbialcz tbialcz requested a review from Steveb-p August 8, 2025 10:09
Copy link
Contributor

@KamilSznajdrowicz KamilSznajdrowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. When checkout the PR to my environment, I encounter errors when editing and saving e.g sections, articles, etc., which reflect the errors on CI: https://github.com/ibexa/admin-ui/actions/runs/16902334497/job/47883992235?pr=1529
Nagranie.z.ekranu.2025-08-14.o.11.45.54.mov
  1. Wrong view displayed when there are no notifications.
Zrzut ekranu 2025-08-13 o 12 53 30
  1. "Mark as Read" should be disabled (grayed out) when there are no notifications, according to the design.
  2. "Mark as Read" should dynamically change to "Mark as Unread" after clicking, but this currently happens only after refreshing the page.
Nagranie.z.ekranu.2025-08-14.o.11.49.26.mov

tbialcz and others added 3 commits August 19, 2025 09:43
@@ -20,6 +20,9 @@
sidePanel.classList.add(CLASS_HIDDEN);
doc.body.removeEventListener('click', handleClickOutside, false);
removeBackdrop();
if (global.location.href.includes('notifications/render/all')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line before

And I'm not sure if we can use hardcoded string url for this check, needs someone else expertise

@albozek albozek requested a review from GrabowskiM August 19, 2025 13:31
Copy link
Contributor

@KamilSznajdrowicz KamilSznajdrowicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still a lot of errors on CI.
https://github.com/ibexa/admin-ui/actions/runs/17070310234
Please make sure CI is green. The issues that can be identified include, among others: Translation errors (https://github.com/ibexa/admin-ui/actions/runs/17070310234/job/48397245853#step:18:44 , https://github.com/ibexa/admin-ui/actions/runs/17070310234/job/48397246236#step:18:531) :

Zrzut ekranu 2025-08-20 o 11 07 23

Dropdowns not opening (https://github.com/ibexa/admin-ui/actions/runs/17070310234/job/48397246183#step:18:442) :

Nagranie.z.ekranu.2025-08-20.o.11.16.23.mov
Nagranie.z.ekranu.2025-08-20.o.21.01.04.mov

I can't navigate to other sections in the user profile. (https://github.com/ibexa/admin-ui/actions/runs/17070310234/job/48397247596?pr=1529#step:18:552)

Nagranie.z.ekranu.2025-08-20.o.21.20.53.mov

Copy link

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

Successfully merging this pull request may close these issues.