Add stories to display screenshots. Not yet automated.

This commit is contained in:
Gabe Kangas
2023-02-11 18:21:45 -08:00
parent d71b0ab5c4
commit 3a5e143ddf
27 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Android/Stock Browser"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-offline.png"
alt="Android Browser offline"
height="1000px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/android-13.0-android-browser-google-pixel-7-pro-portrait-online.png"
alt="Android Browser offline"
height="1000px"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/iPad Landscape/Safari"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-offline.png"
alt="macOS Safari offline"
width="800px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png"
alt="macOS Safari online"
width="800px"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/iPad Portrait/Safari"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-offline.png"
alt="macOS Safari offline"
width="800px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-portrait-online.png"
alt="macOS Safari online"
width="800px"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/iPhone/Safari/Landscape"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-offline.png"
alt="iPhone Safari offline"
height="1000px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png"
alt="iPhone Safari online"
height="1000px"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/iPhone/Safari/Portrait"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-offline.png"
alt="iPhone Safari offline"
height="1000px"
/>
</Story>
<Story name="Online">
<img
src="screenshots/ios-16-mobile-safari-ipad-pro-11-2022-landscape-online.png"
alt="iPhone Safari online"
height="1000px"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/macOS/Chrome"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/os-x-ventura-chrome-desktop-default-offline.png"
alt="macOS Chrome offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/os-x-ventura-chrome-desktop-default-online.png"
alt="macOS Chrome online"
width="100%"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/macOS/Firefox"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/os-x-ventura-firefox-desktop-default-offline.png"
alt="macOS Chrome offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/os-x-ventura-firefox-desktop-default-online.png"
alt="macOS Chrome online"
width="100%"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/macOS/Safari"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/os-x-ventura-safari-desktop-default-offline.png"
alt="macOS Safari offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/os-x-ventura-safari-desktop-default-online.png"
alt="macOS Safari online"
width="100%"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Windows/Chrome"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/windows-11-chrome-desktop-default-offline.png"
alt="Windows Chrome offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/windows-11-chrome-desktop-default-online.png"
alt="Windows Chrome online"
width="100%"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Windows/Firefox"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/windows-10-firefox-desktop-default-offline.png"
alt="Windows Firefox offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/windows-10-firefox-desktop-default-online.png"
alt="Windows Firefox online"
width="100%"
/>
</Story>

View File

@@ -0,0 +1,26 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
<Meta
title="owncast/Screenshots/Windows/Edge"
parameters={{ chromatic: { disableSnapshot: true } }}
/>
<Story name="Offline">
<img
src="screenshots/windows-10-edge-desktop-default-offline.png"
alt="Windows Edge offline"
width="100%"
/>
</Story>
<Story name="Online">
<img
src="screenshots/windows-10-edge-desktop-default-online.png"
alt="Windows Edge online"
width="100%"
/>
</Story>

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB