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

in progress mailing list signup #429

Merged
merged 3 commits into from
Apr 10, 2024
Merged

in progress mailing list signup #429

merged 3 commits into from
Apr 10, 2024

Conversation

struan
Copy link
Member

@struan struan commented Jan 29, 2024

Fixes #377

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Attention: Patch coverage is 39.72603% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 81.60%. Comparing base (d629575) to head (125b39f).

Files Patch % Lines
hub/views/core.py 26.66% 44 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #429      +/-   ##
==========================================
- Coverage   82.50%   81.60%   -0.90%     
==========================================
  Files         104      104              
  Lines        3440     3512      +72     
  Branches      347      356       +9     
==========================================
+ Hits         2838     2866      +28     
- Misses        515      559      +44     
  Partials       87       87              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@struan struan force-pushed the 377-mailing-list-signup branch from b43f7ce to 6f4ff99 Compare February 1, 2024 11:57
@struan struan force-pushed the 377-mailing-list-signup branch 4 times, most recently from 959f715 to f2d9ea3 Compare March 4, 2024 16:29
@zarino zarino self-requested a review March 4, 2024 17:39
Copy link
Member

@zarino zarino left a comment

Choose a reason for hiding this comment

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

This looks fine to me, but you should check with @MyfanwyNixon that it adds the right interest groups / tags (assuming the changes @ajparsons suggested in https://github.com/mysociety/orgsites/issues/1353 are actually happening).

@ajparsons
Copy link
Contributor

They have - it looks new climate one is: group[11745][68719476736]

data is: group[11745][256]

@struan struan force-pushed the 377-mailing-list-signup branch 2 times, most recently from f1339ec to 125b39f Compare April 1, 2024 13:08
@struan struan marked this pull request as ready for review April 1, 2024 13:13
struan and others added 3 commits April 10, 2024 09:55
Allow people to sign up for updates about new data and optionally also
allows them to sign up for general mySociety climate news and the TCC
mailing list.

Fixes #377
- Add mailing list signup into yellow section of area page.
- Add mailing list signup to top of /sources page.
- Remove mailing list signup from Contact page.
- Tweaks to wording of mailing list signup intro and success message.
- Progressively enhance mailing list signup form with hidden name and
  newsletter checkboxes until an email address is entered, to reduce
  visual weight on the page until we know the user is interested.
- Add `.mw-` Boostrap utlity classes for max-width.
@struan struan force-pushed the 377-mailing-list-signup branch from 125b39f to fe917f6 Compare April 10, 2024 09:15
@struan struan merged commit fe917f6 into main Apr 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants