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

fix: remove unfinished mutations for consents and customer data and move logic to account store #17

Merged
merged 4 commits into from
Mar 7, 2022

Conversation

dbudzins
Copy link
Contributor

@dbudzins dbudzins commented Mar 4, 2022

Description

The user / account components had a half-working query / mutation implementation for retrieving and updating customer and consent data. The mutations and queries worked to initially load data but did not properly update nor handle errors. Additionally, there was a confusing duplication of customer data between the queries and the Account store and there were spaghetti dependencies on account store and account service at different levels. To clean up and solve all of these issues, I moved the consent logic into the Account Store and removed all the mutation and query stuff.

Steps completed:

According to our definition of done, I have completed the following steps:

  • User stories met
  • Storybook stories
  • Unit tests added
  • Linting passing
  • Unit tests passing
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

@dbudzins dbudzins requested a review from CarinaDraganJW March 7, 2022 09:35
fix: correct typo in class name
Copy link
Contributor

@CarinaDraganJW CarinaDraganJW left a comment

Choose a reason for hiding this comment

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

Looks good to me 🙂

@dbudzins dbudzins merged commit 4a75628 into develop Mar 7, 2022
@dbudzins dbudzins deleted the dbudzinski/move-logic-to-store branch March 11, 2022 10:49
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