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

Make User model updates more like Goal and DataPoint #518

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

theospears
Copy link
Collaborator

@theospears theospears commented Nov 17, 2024

Change the structure of User creation and update code to more closely match Goal/DataPoint. This makes User responsible for updating from json results itself. As part of this, change the incremental user update code from just syncing notification properties to all properties.

This is a step towards fixing timezone issues, but isn't a complete fix as we still don't actually trigger a user refresh on a regular basis.

Testing:
Verified the app can load and login
Verify the goal notification settings toggle still works

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@theospears theospears changed the title refresh all Make User model updates more like Goal and DataPoint Nov 17, 2024
@theospears theospears marked this pull request as ready for review November 17, 2024 06:53
@theospears theospears merged commit 95727e0 into master Nov 18, 2024
3 checks passed
@theospears theospears deleted the user-update-from-json branch November 18, 2024 01:58
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.

1 participant