Skip to content

Google Drive OAuth Flow - Fails With No Clear Error #36

@jlewi

Description

@jlewi

Sharing AISRE links and having them open is going to be people's first interaction with the notebook

  • We need to really nail this UX

Right now it often fails because pop-ups are blocked so the Google Drive File Can't be loaded.

  • The user doesn't get an obvious error they just see a blank screen
  • There's no obvious way for them to "reload" the doc after triggering the Auth flow.

What should the UX be?

  • You click the link ->
    • Tab for the file should show an error about Drive Credentials can't be obtained preventing the read

How do we implement this?

  • If we don't have Drive Credentials; we can't load information about the folder or file so we can't check if its folder is in the folder?
  • Should we store it in IndexedDB?

It would be nice to start automate manual testing using playwright or maybe AgentBrowser
https://github.com/vercel-labs/agent-browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions