1
0
Fork 0
forked from OpenNeo/impress
impress/src/app/components
Matchu db8fe9f3c2 Logout button for new auth mode
Hey hey, logging out works! The server side of this was easy, but I made a few refactors to support it well on the client, like `useLoginActions` becoming just `useLogout` lol, and updating how the nav menu chooses between buttons vs menu because I wanted `<LogoutButton />` to contain some state.

We also did good Apollo cache stuff to update the page after you log in or out! I think some fields that don't derive from `User`, like `Item.currentUserOwnsThis`, are gonna fail to update until you reload the page but like that's fine idk :p

There's a known bug where logging out on the Your Outfits page turns into an infinite loop situation, because it's trying to do Auth0 stuff but the login keeps failing to have any effect because we're in db mode! I'll fix that next.
2022-08-17 16:05:36 -07:00
..
HangerSpinner.js fix large-icon visual bug 2021-01-04 03:11:55 +00:00
HTML5Badge.js Handle OFFICIAL_SWF_IS_INCORRECT for pet layers 2021-08-14 16:46:05 -07:00
ItemCard.js [WIP] UI for isManuallyNc support tool 2021-02-22 19:11:03 -08:00
ItemSearchPageToolbar.js Add search toolbar to item page 2021-09-30 20:04:50 -07:00
LoginModal.js Logout button for new auth mode 2022-08-17 16:05:36 -07:00
MarkdownAndSafeHTML.js Add underline to item list description links 2021-09-06 14:08:43 -07:00
OutfitMovieLayer.js Detect more animated items 2021-07-02 15:40:04 -07:00
OutfitPreview.js [WIP] Fix bug loading movies 2021-11-02 00:11:23 -07:00
OutfitThumbnail.js Use standard image URLs on Your Outfits page 2021-09-03 15:37:38 -07:00
PaginationToolbar.js Paginate the user outfits page 2021-11-01 19:33:40 -07:00
SpeciesColorPicker.js Stop passing null value in SpeciesColorPicker 2021-11-01 16:19:17 -07:00
SquareItemCard.js [WIP] Add lint exceptions for <img> tags 2021-11-02 00:55:21 -07:00
useCurrentUser.js Logout button for new auth mode 2022-08-17 16:05:36 -07:00
useOutfitAppearance.js Move getVisibleLayers to a new shared directory 2021-05-13 17:35:58 -07:00
useRequireLogin.js simulate login with IMPRESS_LOG_IN_AS flag 2021-01-05 23:22:03 -08:00
WIPCallout.js [WIP] Fix app images in Next.js 2021-11-02 00:50:39 -07:00