MSW: migrate login handlers - #1184
Open
deer-wmde wants to merge 7 commits into
Open
Conversation
|
Deployment previews on netlify for branch
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
continuation of #1114
contains some fixes to the prior work and adjustments to the current codebase
This patch starts the migration from the broken 1.x MSW configuration to a 2.x one.
It adjusts our browser mocks to use the new msw/browser using the Fetch API (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
In the new handlers it moves over just login functionality as well as the querying for user wikis and missing policies, leaving the remaining handler migration to future work.
Co-authored-by: rosalieper 15235452+rosalieper@users.noreply.github.com
Co-authored-by: outdooracorn 43674967+outdooracorn@users.noreply.github.com
Co-authored-by: tarrow 7353563+tarrow@users.noreply.github.com
https://phabricator.wikimedia.org/T436360