-
Notifications
You must be signed in to change notification settings - Fork 10
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
GEN-637 - feat: added a service to retrieve Trustpilot data #2705
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
82b0f69
to
5b9ddb7
Compare
8ecee30
to
6672bce
Compare
6672bce
to
917f0bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat -- just added some comments to consider
917f0bf
to
32e2dd4
Compare
32e2dd4
to
a2115a8
Compare
a2115a8
to
b2ffe32
Compare
b2ffe32
to
6588fb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
6588fb1
to
293fa1d
Compare
293fa1d
to
a12e61b
Compare
@guilhermespopolin started a stack merge that includes this pull request via Graphite. |
@guilhermespopolin merged this pull request with Graphite. |
Describe your changes
How the whole thing works:
apps/store/src/services/trustpilot/trustpilot.tsx
- which fetch that data from Trustpilot API and store it in a Jotai's atom so it can be available through the whole app. We then fetch that data and proper hydrate the atom in theapps/store/src/pages/[[...slug]].tsx
andapps/store/src/components/LayoutWithMenu/LayoutWithMenu.tsx
files respectively.TrustpilotBlock
then reads that data from the atom and proper display it.Justify why they are needed
Requested by design/editors
Can be tested here