Skip to content

XWIKI-23101: XWiki Notifications alert too often #4102

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Apr 30, 2025

Jira URL

Changes

Description

  • Removed the harmful role from the notifications themselves. The role is already on the container and handles notifying non visual users.
  • Added comments to avoid repeating the mistake I did in XWIKI-22709

Clarifications

  • When implementing XWIKI-22709, I wasn't aware that the container itself was an alert. I was also probably tricked by the fact that this .js is stored in the xwiki.bundle.min.js, which makes edits after the first patch more complex. When checking the demo video, it seems I was testing on an unpatched version :/

Screenshots & Video

Before the changes:

2025-04-30.10-46-15.mp4

After the changes:

2025-04-30.11-59-12.mp4

Executed Tests

Manual tests only. This is pretty much just a revert of #3707 which did not have any test change and did not create any automated test regression.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 16.10.X

* Removed the harmful role from the notifications themselves. The role is already on the container and handles notifying non visual users.
* Added comments to avoid repeating the mistake I did in XWIKI-22709
@Sereza7 Sereza7 requested a review from michitux May 5, 2025 13:30
@michitux michitux merged commit 0838101 into xwiki:master May 5, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request May 5, 2025
* Removed the harmful role from the notifications themselves. The role is already on the container and handles notifying non visual users.
* Added comments to avoid repeating the mistake I did in XWIKI-22709

(cherry picked from commit 0838101)
Copy link

github-actions bot commented May 5, 2025

💚 All backports created successfully

Status Branch Result
stable-16.10.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

michitux pushed a commit that referenced this pull request May 5, 2025
* Removed the harmful role from the notifications themselves. The role is already on the container and handles notifying non visual users.
* Added comments to avoid repeating the mistake I did in XWIKI-22709

(cherry picked from commit 0838101)
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.

2 participants