Skip to content

Instantly share code, notes, and snippets.

@relwell
Created October 8, 2019 18:14
Show Gist options
  • Save relwell/43a0dbfbec69ddf8a5cb744bfea586b0 to your computer and use it in GitHub Desktop.
Save relwell/43a0dbfbec69ddf8a5cb744bfea586b0 to your computer and use it in GitHub Desktop.
```
query GetUserPanels {
currentUser {
panelDetails {
privatePanelActiveSession
myPanelActiveSession
utPanelActiveSession
}
}
}
```
@relwell
Copy link
Author

relwell commented Oct 8, 2019

query GetPanelDetailsForEmailQuery($email: String) {
  getPanelsForEmail(email: $email) // [String]
}

@akuholla
Copy link

akuholla commented Oct 8, 2019

After the tester enters their email address

  1. PRIVATE_PANEL : private_panel_session/mobile_screen_recorder_descriptor.json
  2. MY PANEL invitation : panel_invitation
  3. UT PANEL : show password and then try to authenticate them

Proposal: hit one end point that give you the following result
{
PRIVATE_PANEL invitations = true
MY PANEL invitation = false
UT PANEL/MY PANEL = true
}

@relwell
Copy link
Author

relwell commented Oct 8, 2019

How we would calculate the various panels:

PRIVATE_PANEL -- if a user has a private panel invitation
MYPANEL -- if a user has a mypanel invitation
UT_PANEL -- all other cases where a user is a tester

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment