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

feat: added waffle flag for new notification view #35569

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ayesha-waris
Copy link
Contributor

INF-1603
The ticket require new notifications view to be used by flag notifications.enable_new_notification_view

@@ -47,6 +47,10 @@ def get_show_notifications_tray(user):
return show_notifications_tray


def get_is_new_notification_view_enabled():
return ENABLE_NEW_NOTIFICATION_VIEW.is_enabled()
Copy link
Contributor

Choose a reason for hiding this comment

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

Flag is implemented as course waffle fiag. Do we need course waffle flag type? if yes why was course_id not passed here?

Copy link
Contributor Author

@ayesha-waris ayesha-waris Oct 3, 2024

Choose a reason for hiding this comment

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

We need this flag to be enabled for everyone, if course_id is not provided the is_enabled method checks for permission (everyone, admin etc) and enables it accordingly

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.

3 participants