-
Notifications
You must be signed in to change notification settings - Fork 30
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 Error: <WorldUsersProvider/> not found in a more holistic way #1769
Conversation
Code Climate has analyzed commit 14c83db and detected 3 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
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.
We probably don't want to add this in to src/components/organisms/WithNavigationBar/WithNavigationBar.tsx
I don't think, but should be wrapping at a higher level (eg. potentially in the admin subrouter, or possibly could be around all of the routes maybe..? Not 100%
…d components down the component tree
Possible edge case bug, by @0xdevalias :
OOS for this fix, should be addressed/superseded/rendered moot by latter Admin development PRs (cc // @mike-lvov FYI) |
@sofisparkle Ready for review |
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.
A tiny cleanup + a question about how it actually works.
Also, can you please check if it’s going to be needed for any of the other routes in AppRouter
.
I know for a fact that VenueAdminPage
(/in/:venueId/admin
) needs it, as that’s the one that broke the banner admin (and it’s not part of the admin subrouter), but I expect there will be other places too.
Visit the preview URL for this PR (updated for commit 14c83db): https://co-reality-staging--preview-pr-1769-x4vdat1z.web.app (expires Sat, 17 Jul 2021 10:19:25 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
@sofisparkle ready for review |
…ad of in the component body
…lsForm (called by VenueWizard) is fixed
@ermiaSparkle Why did you do this? You shouldn't be merging anything into this branch.. |
@0xdevalias |
79b2871
to
dfe4f24
Compare
@ermiaSparkle I've pulled the branch and rebased it to remove your commits, then force pushed it, so should be fixed now. |
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.
LGTM! 🚄
Should fix Error:
<WorldUsersProvider/>
not found in Admin components that was introduced in #1703. One such issue is Edit Room in Admin v1 panel.Partial fix to https://github.com/sparkletown/internal-sparkle-issues/issues/886
partially fixes https://github.com/sparkletown/internal-sparkle-issues/issues/839
fixes https://github.com/sparkletown/internal-sparkle-issues/issues/904
fixes https://github.com/sparkletown/internal-sparkle-issues/issues/905
Reverts and supercedes #1757