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

🐛 Prevented newsletter subscriptions from getting out of sync in Portal #19768

Merged
merged 2 commits into from Feb 28, 2024

Conversation

9larsons
Copy link
Contributor

refs https://linear.app/tryghost/issue/ENG-677

  • UnsubscribePage is intended to be able to be used without logging in to Portal. The app context (member state) was not synchronized when logged in, causing conflicts in the client data vs. database.
  • Now when a logged in member is found, the member object is manually updated to reflect the API response(s).

refs https://linear.app/tryghost/issue/ENG-677
- UnsubscribePage is intended to be able to be used without logging in to Portal. The app context (member state) was not synchronized when logged in, causing conflicts in the client data vs. database.
- Now when a logged in member is found, the member object is manually updated to reflect the API response(s).
@9larsons 9larsons merged commit c2f3ffa into main Feb 28, 2024
18 checks passed
@9larsons 9larsons deleted the fix-newsletters-portal branch February 28, 2024 19:57
9larsons added a commit that referenced this pull request Feb 28, 2024
…al (#19768)

refs https://linear.app/tryghost/issue/ENG-677
- UnsubscribePage is intended to be able to be used without logging in
to Portal. The app context (member state) was not synchronized when
logged in, causing conflicts in the client data vs. database.
- Now when a logged in member is found, the member object is manually
updated to reflect the API response(s).
allouis pushed a commit that referenced this pull request Mar 1, 2024
…al (#19768)

refs https://linear.app/tryghost/issue/ENG-677
- UnsubscribePage is intended to be able to be used without logging in
to Portal. The app context (member state) was not synchronized when
logged in, causing conflicts in the client data vs. database.
- Now when a logged in member is found, the member object is manually
updated to reflect the API response(s).
allouis added a commit that referenced this pull request Mar 3, 2024
* upstream/main: (44 commits)
  v5.80.0
  Update dependency yjs to v13.6.14
  Update dependency yjs to v13.6.13
  Content card design improvements (#19737)
  Remove comment icon at the top of email template (#19771)
  ✨ Added lazy-loading of comments data (#19778)
  Update dependency nodemailer to v6.9.11
  🎨 Include archived offers in members filter (#19756)
  Added /comments/:id/replies/ to X-Cache-Invalidate
  🐛 Prevented newsletter subscriptions from getting out of sync in Portal (#19768)
  Released Comments-UI 0.15.0 (#19775)
  Switched to default ordering for comments API requests (#19774)
  Cleaned up comments controller
  Invalidated post comments cache on like&unlike
  Invalidated the new comments endpoint cache on add & edit
  Updated Comments UI to use new endpoint
  Added endpoint for comments/post/:post_id
  Added hrefs to paywall links for improved SEO
  Ensured that endpoint header config is not modified in future
  🐛 Fixed cache invalidation header race conditions
  ...
royalfig pushed a commit that referenced this pull request Mar 25, 2024
…al (#19768)

refs https://linear.app/tryghost/issue/ENG-677
- UnsubscribePage is intended to be able to be used without logging in
to Portal. The app context (member state) was not synchronized when
logged in, causing conflicts in the client data vs. database.
- Now when a logged in member is found, the member object is manually
updated to reflect the API response(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants