Check if plugin status before opening

Summary:
This diff takes care of current plugin status when handling deeplinks. It checks:
1. if the plugin failed to load
2. if the plugin is behind GK
3. if the plugin is installable from bundle
4. if the plugin is installable from marketplace

Reviewed By: passy

Differential Revision: D29875483

fbshipit-source-id: 8dac1aab63822f43a0d002b10efa5b4a756fce41
This commit is contained in:
Michel Weststrate
2021-08-17 04:43:02 -07:00
committed by Facebook GitHub Bot
parent 2cb21f2a06
commit bf65da0e72
4 changed files with 197 additions and 8 deletions

View File

@@ -92,10 +92,7 @@ test('Triggering a deeplink will work', async () => {
jest.runAllTimers();
expect(linksSeen).toEqual(['universe']);
expect(renderer.baseElement).toMatchInlineSnapshot(`
<body
class=""
style=""
>
<body>
<div>
<div
class="css-1x2cmzz-SandySplitContainer e1hsqii10"