Skip to content

feat: update preference config when version is changed - #36518

Merged
AhtishamShahid merged 1 commit into
masterfrom
ahtisham/INF-1865
Apr 16, 2025
Merged

feat: update preference config when version is changed#36518
AhtishamShahid merged 1 commit into
masterfrom
ahtisham/INF-1865

Conversation

@AhtishamShahid

@AhtishamShahid AhtishamShahid commented Apr 14, 2025

Copy link
Copy Markdown
Contributor

Description

Update notification preference version when a new version is available. This feature exists for course level settings API , this PR adds that feature for account-level settings.

This pull request introduces a new method to handle user notification preferences and updates the associated tests and views. The main changes include adding the get_user_notification_preferences method, updating the test cases, and modifying the view to use the new method.

New method for handling user notification preferences:

Updates to tests:

Modifications to views:

fix: resolved linter errors

fix: resolved linter error
@AhtishamShahid
AhtishamShahid merged commit af40ac0 into master Apr 16, 2025
@AhtishamShahid
AhtishamShahid deleted the ahtisham/INF-1865 branch April 16, 2025 10:39
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

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.

4 participants