playground-auth icon indicating copy to clipboard operation
playground-auth copied to clipboard

Update results presentation

Open lunchbreakdev opened this issue 3 years ago • 1 comments

Overview

Puts the Auth Results and Refresh Token Status into modals. This is a PR to start forming ideas from #51

Closes #51

  • Adds Modal component (HeadlessUI Dialog) that can be reused throughout the app
  • Wraps AuthResults and PollCurrentProvider components in Modals
  • Creates a component with both components that can be dropped into each provider

Notes

From @dthyresson here:

@dac09 makes a good point - with the modal hidden, it won't show the status info if there is a problem readily. Unless the button caption informs you of the problem.

The way the Modals are added to the components it has the button included as well so we could perhaps have an indicator on those.

~~It looks like there might be an error with Firebase in this format.~~ Firebase didn't have the Apollo Provider wrapping it, fixed in latest commit

Screenshots

image

image

lunchbreakdev avatar Apr 21 '21 16:04 lunchbreakdev

Deploy request for redwood-playground-auth accepted.

Accepted with commit 8f6d2a947f35e831348e8232ac7390285d308b3b

https://app.netlify.com/sites/redwood-playground-auth/deploys/60804cad04974800077b25ac

netlify[bot] avatar Apr 21 '21 16:04 netlify[bot]