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

💻 6103 allow existing users to subscribe to the newsletter #6159

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AnneliesVlaar
Copy link
Collaborator

Fixes #6103

How to test

Follow these steps to verify this PR works as intended:

  • Log in as a teacher
  • Go to my account
  • Go to my personal settings
  • 3 checkboxes are added: subscribe to newsletter, pair to teacher, pair to guest teacher

WIP
[x] front end
[ ] connect checkbox to database

@AnneliesVlaar AnneliesVlaar linked an issue Feb 3, 2025 that may be closed by this pull request
@boryanagoncharenko
Copy link
Collaborator

I have the following proposal. Let's add a new section in the profile page which is only about the newsletter. It should be very short and perhaps we could even choose to make it expanded by default (if there are not any other sections that need to be expanded by default such as invitations). Also, since we are on this page, let's take the delete button out of the form since it is confusing.

So, if a user has never subscribed they will see this:
Screenshot 2025-02-10 at 14 50 05

If they have subscribed and then unsubscribed, they will see this:
Screenshot 2025-02-10 at 14 48 19

And this is how the delete profile section will look like:
Screenshot 2025-02-10 at 14 50 16

What do you think?

@AnneliesVlaar
Copy link
Collaborator Author

Good idea to add a delete profile section

@AnneliesVlaar
Copy link
Collaborator Author

If a user subscribed to the newsletter and then via the link in the newsletter unsubscribed, do we know who is subscribed and unsubscribed?

@boryanagoncharenko
Copy link
Collaborator

If a user subscribed to the newsletter and then via the link in the newsletter unsubscribed, do we know who is subscribed and unsubscribed?

Yes, we do:

  • if the user has never subscribed, they are not in the Mailchimp audience
  • if the user has subscribed, we see that their status is "subscribed"
  • if the user has unsubscribed, their status is "unsubscribed"

Btw I did not cover how this section will look for the people who are already subscribed. I guess the section should not be there at all?

@AnneliesVlaar
Copy link
Collaborator Author

Ah that's great. For people who already subscribed I would suggest to have something similar to the unsubscribed:

You're subscribed to our newsletter
Run to your mailbox to see if the new issue already has been delivered!

(Or something like that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

💻 Allow existing users to subscribe to the newsletter
2 participants