Skip to content
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

XWIKI-22211: Deprecate NotificationFilterPreferenceProvider #2882

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

surli
Copy link
Member

@surli surli commented Feb 13, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-22211

Changes

Description

  • Deprecate and legacify NotificationFilterPreferenceProvider and
    NotificationFilterPreference#getProviderHint
  • Clean up all code relying on it simplifying a lot the implem of
    NotificationFilterPreference
  • Only valid usage of the providerHint was for checking if a filter
    preference was stored or not: replaced it with checking the ID of
    the filter

Clarifications

N/A

Executed Tests

mvn clean install -Pquality,integration-tests,docker on both xwiki-platform-notifications and xwiki-platform-legacy-notifications.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • None

@surli surli force-pushed the break-notification-filter-provider branch 2 times, most recently from 7fd885e to 07020d9 Compare February 13, 2024 15:34
@surli surli force-pushed the break-notification-filter-provider branch 3 times, most recently from 64f29be to 5c2e4ff Compare June 4, 2024 09:17
  * Deprecate and legacify NotificationFilterPreferenceProvider and
    NotificationFilterPreference#getProviderHint
  * Clean up all code relying on it simplifying a lot the implem of
    NotificationFilterPreference
  * Only valid usage of the providerHint was for checking if a filter
    preference was stored or not: replaced it with checking the ID of
the filter
@surli surli force-pushed the break-notification-filter-provider branch from 5c2e4ff to 670780f Compare June 4, 2024 09:38
@surli surli changed the title Break notification filter provider XWIKI-22211: Deprecate NotificationFilterPreferenceProvider Jun 4, 2024
@surli surli marked this pull request as ready for review June 4, 2024 09:40
@surli surli marked this pull request as draft June 4, 2024 10:12
@surli
Copy link
Member Author

surli commented Jun 4, 2024

Switching to draft as there's apparently a regression when executing integration tests.

  * Fix bad prefix in filters internal ids
@surli surli marked this pull request as ready for review June 4, 2024 12:35
@surli surli requested a review from tmortagne June 5, 2024 12:11
@surli surli merged commit dfba855 into master Jun 6, 2024
1 check passed
@surli surli deleted the break-notification-filter-provider branch June 6, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants