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

Default latest and non-stable notifications to off #11874

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ericholscher
Copy link
Member

These feel like really aggressive defaults for something that will show on most versions.
I think this is part of what people are disliking about the new notifications,
and I'm not really sure why we defaulted them on,
but I'd like to stop the UX issues here if we can.

These feel like really aggressive defaults for something that will show on most versions.
I think this is part of what people are disliking about the new notifications,
and I'm not really sure why we defaulted them on,
but I'd like to stop the UX issues here if we can.
@ericholscher ericholscher requested a review from a team as a code owner December 24, 2024 01:08
@ericholscher ericholscher requested a review from humitos December 24, 2024 01:08
Comment on lines +241 to +242
notifications_show_on_latest = models.BooleanField(default=False)
notifications_show_on_non_stable = models.BooleanField(default=False)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a place where I wish we had some kind of null default, because there's no way to write a migration that migrates this for folks that wanted to specify on in some fashion, but I think that's OK?

Copy link
Member

Choose a reason for hiding this comment

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

Last time I wrote a queryset where I assumed if the modified and created dates are the same, then it wasn't changed by the user, but here I guess it may be surprising for some people that actually want this on, but maybe they just didn't know they could turn it off.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think we have modified data on the booleans though, only the overall model which has a bunch of unrelated stuff on it :/

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