From ab0a794515c74b740a9f322b40719eed498ce264 Mon Sep 17 00:00:00 2001 From: Murderlon Date: Mon, 29 Apr 2024 13:11:46 +0200 Subject: [PATCH] Use StackBlitz for all examples/issue template --- .github/ISSUE_TEMPLATE/1-bug.yml | 4 +++- docs/quick-start.mdx | 6 +++--- docs/sources/audio.mdx | 2 +- docs/sources/companion-plugins/box.mdx | 2 +- docs/sources/companion-plugins/dropbox.mdx | 2 +- docs/sources/companion-plugins/facebook.mdx | 2 +- docs/sources/companion-plugins/google-drive.mdx | 2 +- docs/sources/companion-plugins/instagram.mdx | 2 +- docs/sources/companion-plugins/onedrive.mdx | 2 +- docs/sources/companion-plugins/unsplash.mdx | 2 +- docs/sources/companion-plugins/url.mdx | 2 +- docs/sources/companion-plugins/zoom.mdx | 2 +- docs/sources/screen-capture.mdx | 2 +- docs/sources/webcam.mdx | 2 +- docs/user-interfaces/dashboard.mdx | 2 +- docs/user-interfaces/drag-drop.mdx | 2 +- docs/user-interfaces/elements/drop-target.mdx | 2 +- docs/user-interfaces/elements/status-bar.mdx | 2 +- 18 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug.yml b/.github/ISSUE_TEMPLATE/1-bug.yml index f18c15617f..a4ae3e0129 100644 --- a/.github/ISSUE_TEMPLATE/1-bug.yml +++ b/.github/ISSUE_TEMPLATE/1-bug.yml @@ -26,7 +26,9 @@ body: Starters: - - [Uppy Dashboard](https://codesandbox.io/s/uppy-dashboard-xpxuhd?file=/src/index.js) + - [Uppy Dashboard](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js) + - [Uppy React](https://stackblitz.com/edit/vitejs-vite-vehvbq?file=src%2FApp.tsx) + - [Uppy Vue](https://stackblitz.com/edit/vitejs-vite-ubjwys?file=src%2FApp.vue) validations: required: false - type: textarea diff --git a/docs/quick-start.mdx b/docs/quick-start.mdx index da5da7faca..5236cf52c9 100644 --- a/docs/quick-start.mdx +++ b/docs/quick-start.mdx @@ -15,10 +15,10 @@ about more important problems than building a file uploader. :::tip -You can take Uppy for a walk inside CodeSandbox with a -[minimal drag & drop](https://codesandbox.io/s/uppy-drag-drop-gyewzx?file=/src/index.js) +You can take Uppy for a walk inside StackBlitz with a +[minimal drag & drop](https://stackblitz.com/edit/vitejs-vite-yzbujq?file=main.js/g) experience or a -[full featured dashboard](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[full featured dashboard](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/audio.mdx b/docs/sources/audio.mdx index 238acbfa79..0a612cfcc4 100644 --- a/docs/sources/audio.mdx +++ b/docs/sources/audio.mdx @@ -17,7 +17,7 @@ time sound wavelength when recording. :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/box.mdx b/docs/sources/companion-plugins/box.mdx index 0b8f9b8bdf..695a0579cd 100644 --- a/docs/sources/companion-plugins/box.mdx +++ b/docs/sources/companion-plugins/box.mdx @@ -15,7 +15,7 @@ The `@uppy/box` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/dropbox.mdx b/docs/sources/companion-plugins/dropbox.mdx index 1a95f8bf77..4ac6b712ec 100644 --- a/docs/sources/companion-plugins/dropbox.mdx +++ b/docs/sources/companion-plugins/dropbox.mdx @@ -15,7 +15,7 @@ The `@uppy/dropbox` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/facebook.mdx b/docs/sources/companion-plugins/facebook.mdx index 310d5fa30b..40927d7c66 100644 --- a/docs/sources/companion-plugins/facebook.mdx +++ b/docs/sources/companion-plugins/facebook.mdx @@ -15,7 +15,7 @@ The `@uppy/facebook` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/google-drive.mdx b/docs/sources/companion-plugins/google-drive.mdx index a73d06a064..0c58b86e8f 100644 --- a/docs/sources/companion-plugins/google-drive.mdx +++ b/docs/sources/companion-plugins/google-drive.mdx @@ -15,7 +15,7 @@ The `@uppy/google-drive` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/instagram.mdx b/docs/sources/companion-plugins/instagram.mdx index d268670389..8a032ed615 100644 --- a/docs/sources/companion-plugins/instagram.mdx +++ b/docs/sources/companion-plugins/instagram.mdx @@ -15,7 +15,7 @@ The `@uppy/instagram` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/onedrive.mdx b/docs/sources/companion-plugins/onedrive.mdx index 1cb4a07b54..e88397f6bd 100644 --- a/docs/sources/companion-plugins/onedrive.mdx +++ b/docs/sources/companion-plugins/onedrive.mdx @@ -15,7 +15,7 @@ The `@uppy/onedrive` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/unsplash.mdx b/docs/sources/companion-plugins/unsplash.mdx index 191861ea25..6e8da0d745 100644 --- a/docs/sources/companion-plugins/unsplash.mdx +++ b/docs/sources/companion-plugins/unsplash.mdx @@ -15,7 +15,7 @@ The `@uppy/unsplash` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/url.mdx b/docs/sources/companion-plugins/url.mdx index 48c28b8d8e..8ad4d207da 100644 --- a/docs/sources/companion-plugins/url.mdx +++ b/docs/sources/companion-plugins/url.mdx @@ -15,7 +15,7 @@ URL and it will be added! :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/companion-plugins/zoom.mdx b/docs/sources/companion-plugins/zoom.mdx index b2a07ce95c..141bf151b6 100644 --- a/docs/sources/companion-plugins/zoom.mdx +++ b/docs/sources/companion-plugins/zoom.mdx @@ -15,7 +15,7 @@ The `@uppy/zoom` plugin lets users import files from their :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/screen-capture.mdx b/docs/sources/screen-capture.mdx index 32caa606aa..131ae50278 100644 --- a/docs/sources/screen-capture.mdx +++ b/docs/sources/screen-capture.mdx @@ -16,7 +16,7 @@ save it as a video. :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/sources/webcam.mdx b/docs/sources/webcam.mdx index 0e63222832..8df2bf2234 100644 --- a/docs/sources/webcam.mdx +++ b/docs/sources/webcam.mdx @@ -16,7 +16,7 @@ camera on desktop and mobile devices. :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/user-interfaces/dashboard.mdx b/docs/user-interfaces/dashboard.mdx index 8de5900cfb..79ed5c39c5 100644 --- a/docs/user-interfaces/dashboard.mdx +++ b/docs/user-interfaces/dashboard.mdx @@ -21,7 +21,7 @@ integrate. :::tip [Try out the live example with all plugins](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-dashboard-xpxuhd). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js). ::: diff --git a/docs/user-interfaces/drag-drop.mdx b/docs/user-interfaces/drag-drop.mdx index 1e8144bb31..dbaba69233 100644 --- a/docs/user-interfaces/drag-drop.mdx +++ b/docs/user-interfaces/drag-drop.mdx @@ -15,7 +15,7 @@ The `@uppy/drag-drop` plugin renders a drag and drop area for file selection. :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-drag-drop-gyewzx?file=/src/index.js). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-yzbujq?file=main.js/g). ::: diff --git a/docs/user-interfaces/elements/drop-target.mdx b/docs/user-interfaces/elements/drop-target.mdx index b479014c75..9a891eec4d 100644 --- a/docs/user-interfaces/elements/drop-target.mdx +++ b/docs/user-interfaces/elements/drop-target.mdx @@ -19,7 +19,7 @@ solution targeting any DOM element. :::tip [Try out the live example](/examples) or take it for a spin in -[CodeSandbox](https://codesandbox.io/s/uppy-drag-drop-gyewzx?file=/src/index.js). +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-yzbujq?file=main.js/g). ::: diff --git a/docs/user-interfaces/elements/status-bar.mdx b/docs/user-interfaces/elements/status-bar.mdx index 943f26af9c..663414f22b 100644 --- a/docs/user-interfaces/elements/status-bar.mdx +++ b/docs/user-interfaces/elements/status-bar.mdx @@ -17,7 +17,7 @@ pre- and post-processing information, and allows users to control :::tip Try it out together with [`@uppy/drag-drop`](/docs/drag-drop) in -[CodeSandbox](https://codesandbox.io/s/uppy-drag-drop-gyewzx?file=/src/index.js) +[StackBlitz](https://stackblitz.com/edit/vitejs-vite-yzbujq?file=main.js/g) :::