Commit 3406e5b
committed
Add copyable bug report generation on errors
Generate a structured, anonymous bug report on every error: build info
(volview version, git SHA, vtk.js/itk-wasm versions), browser UA,
error stack trace, dataset metadata (dimensions, scalar type, source
format, segment group save format). Users copy it from a button in the
notification center title bar.
Uses dependency injection (setBugReportGenerator) to avoid circular
deps between the message store and dataset stores.1 parent 5ca902e commit 3406e5b
File tree
3 files changed
+19
-69
lines changed- src
- store
- utils
- tests/specs
3 files changed
+19
-69
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 12 | + | |
| 13 | + | |
46 | 14 | | |
47 | 15 | | |
48 | 16 | | |
| |||
107 | 75 | | |
108 | 76 | | |
109 | 77 | | |
110 | | - | |
| 78 | + | |
111 | 79 | | |
112 | 80 | | |
113 | 81 | | |
114 | 82 | | |
115 | 83 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 84 | + | |
| 85 | + | |
119 | 86 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
126 | 90 | | |
127 | 91 | | |
128 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 25 | | |
41 | 26 | | |
0 commit comments