extensibility: fix browser extension for private code on Cloud
Created by: tjkandala
Closes #22444 (closed).
"Private code" hover alert only appears when we know that the repo isn't on Cloud, native tooltips aren't disabled.
Browser extension works with private code that has been added to Cloud.
Notes:
- Potential risk: we can longer block all GraphQL requests from extensions to Cloud on the basis that the currently viewed repository is private.
- Testing: we will start with manual testing, then add integration tests for this use case as part of our DX project around automating browser extension testing.
TODO:
-
Don't show popup private repo alert when the repo has been added to Cloud -
Update popup private repo alert copy (no action for now, we've added a link to "how to add public repos to Cloud" on the hover alert that hints at private code coming to Cloud)