Skip to content

Commit 518e4a1

Browse files
authored
Troubleshoot panel & other docs (windmill-labs#530)
1 parent 3bc8141 commit 518e4a1

File tree

10 files changed

+40
-16
lines changed

10 files changed

+40
-16
lines changed

docs/advanced/11_git_sync/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Create a Git repository (in the example, on GitHub).
5353
Run the following commands from the git repo folder to push the initial workspace content to the remote:
5454

5555
```bash
56-
> git init
57-
> git remote add origin https://github.com/username/reponame.git
58-
> git add .
59-
> git commit -m 'Initial commit'
60-
> git push -u origin main
56+
git init
57+
git remote add origin https://github.com/username/reponame.git
58+
git add .
59+
git commit -m 'Initial commit'
60+
git push -u origin main
6161
```
6262

6363
You now have your Windmill workspace on a GitHub repository. See the following section for an automated sync.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Troubleshoot Panel
2+
3+
The Troubleshoot Panel is a menu dedicated to debugging your Windmill apps.
4+
5+
:::info Debug Runs
6+
7+
To see how to debug scripts and flows runs in your app, see [Debug Runs](../5_app_debugging.md).
8+
9+
:::
10+
11+
Whenever the app is in an incorrect state (for whatever reason, often when its JSON was manually edited), errors are detected and can be resolved automatically.
12+
13+
<video
14+
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
15+
controls
16+
src="/videos/troubleshoot_panel.mp4"
17+
/>

docs/apps/4_app_configuration_settings/statistic_card.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import DocCard from '@site/src/components/DocCard';
22

33
# Statistic card
44

5-
The statistic card component is a pannel meant to display a value and progress.
5+
The statistic card component is a panel meant to display a value and progress.
66

77
<video
88
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"

docs/apps/5_app_debugging.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
# Debugging
1+
# Debug Runs
22

33
On the toolbar, click the Debug runs to open the Debug run drawer.
44

5+
You can inspect all [runs](../core_concepts/5_monitor_past_and_future_runs/index.mdx), in particular failed ones.
6+
57
<video
68
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
79
controls
810
autoPlay
911
src="/videos/debug_app.mp4"
1012
/>
13+
14+
<br/>
15+
16+
To debug your app if broken, you might be interested in [Troubleshoot panel](./3_troubleshoot_panel/index.mdx).

docs/core_concepts/11_persistent_storage/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export async function main(input_file: S3Object) {
294294
console.log(file_content_str);
295295

296296
// Or load the file lazily as a Blob
297-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
297+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
298298
console.log(await fileContentBlob.text());
299299
}
300300
```
@@ -316,7 +316,7 @@ export async function main(input_file: S3Object) {
316316
console.log(file_content_str);
317317

318318
// Or load the file lazily as a Blob
319-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
319+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
320320
console.log(await fileContentBlob.text());
321321
}
322322
```

docs/core_concepts/18_files_binary_data/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function main(input_file: S3Object) {
6969
console.log(file_content_str);
7070

7171
// Or load the file lazily as a Blob
72-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
72+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
7373
console.log(await fileContentBlob.text());
7474
}
7575
```
@@ -91,7 +91,7 @@ export async function main(input_file: S3Object) {
9191
console.log(file_content_str);
9292

9393
// Or load the file lazily as a Blob
94-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
94+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
9595
console.log(await fileContentBlob.text());
9696
}
9797
```

docs/core_concepts/27_data_pipelines/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function main(input_file: S3Object) {
8888
console.log(file_content_str);
8989

9090
// Or load the file lazily as a Blob
91-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
91+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
9292
console.log(await fileContentBlob.text());
9393
}
9494
```
@@ -110,7 +110,7 @@ export async function main(input_file: S3Object) {
110110
console.log(file_content_str);
111111

112112
// Or load the file lazily as a Blob
113-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
113+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
114114
console.log(await fileContentBlob.text());
115115
}
116116
```

docs/integrations/s3.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export async function main(input_file: S3Object) {
9595
console.log(file_content_str);
9696

9797
// Or load the file lazily as a Blob
98-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
98+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
9999
console.log(await fileContentBlob.text());
100100
}
101101
```
@@ -117,7 +117,7 @@ export async function main(input_file: S3Object) {
117117
console.log(file_content_str);
118118

119119
// Or load the file lazily as a Blob
120-
let fileContentBlob = await wmill.loadS3FileStream(inputFile);
120+
let fileContentBlob = await wmill.loadS3FileStream(input_file);
121121
console.log(await fileContentBlob.text());
122122
}
123123
```

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,9 @@ const sidebars = {
341341
},
342342
'apps/app_configuration_settings/app_component_configuration',
343343
'apps/app_configuration_settings/app_styling',
344-
'apps/app_debugging',
345344
'apps/app_deployment',
345+
'apps/app_debugging',
346+
'apps/troubleshoot_panel/index',
346347
{
347348
type: 'doc',
348349
id: 'apps/download_files',

static/videos/troubleshoot_panel.mp4

4.05 MB
Binary file not shown.

0 commit comments

Comments
 (0)