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
feat(profile): change profile api endpoint #4909
Merged
kodiakhq
merged 20 commits into
carbon-design-system:master
from
annawen1:feat/change-profile-api-endpoint
Jan 15, 2021
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
44feb25
fix(profile): use new endpoint for profile log in status
annawen1 07705be
Merge branch 'master' into feat/change-profile-api-endpoint
annawen1 4a10e4f
fix(profile): updating from jsonp to axios
annawen1 1eea2f7
Merge branch 'master' into feat/change-profile-api-endpoint
annawen1 f759031
fix(profile): use preprod endpoint of profile api
annawen1 df551b0
chore(dependencies): remove jsonp package
annawen1 dc1a5dc
Merge branch 'master' into feat/change-profile-api-endpoint
annawen1 e6c978f
fix(profile): update default endpoint to point to prod
annawen1 62e58cb
Merge branch 'feat/change-profile-api-endpoint' of https://github.com…
annawen1 26bd76c
Merge branch 'master' into feat/change-profile-api-endpoint
annawen1 ebfc226
chore(dependencies): jsonp remove from package yarnlock file
annawen1 3565bba
fix(profile): using getUserStatus call from services
annawen1 914e8a6
fix(profile): make call with all credentials
annawen1 24ea549
fix(profile): update to check for user field that has user email
annawen1 f990547
Merge branch 'master' into feat/change-profile-api-endpoint
annawen1 f431ba9
fix(profile): update tests remove deleted objects
annawen1 45917fb
Merge branch 'feat/change-profile-api-endpoint' of https://github.com…
annawen1 c47b525
fix(profile): update profile API tests
annawen1 4df4e33
fix(profile): set userStatus default to Unauthenticated
annawen1 d292b39
Merge branch 'master' into feat/change-profile-api-endpoint
jeffchew File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Instead of
ProfileAPI.getUserStatus()
(that makes a call to@carbon/ibmdotcom-services
module), we need to call a Redux action here. Here is a test in this category for reference: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/v1.14.0/packages/services-store/src/actions/__tests__/localeAPI.test.ts#L84