Commit e794450
authored
feat(pages): add Diagnostics views (#485)
* feat(pages): add Diagnostics views
* add the same Diagnostic page version checks to the Heap and Thread dump pages
* prettier
* add function to check version, and display spinner while fetching version data
* run prettier
* update cryostat-web to latest
* fix loading when cryostat not selected
* add unit tests for the version check function
* add unit tests for the Diagnostics page1 parent e2a7cf6 commit e794450
File tree
15 files changed
+613
-77
lines changed- locales/en
- src
- openshift
- components
- pages
- test
- pages
- utils
- utils
15 files changed
+613
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
97 | 121 | | |
98 | 122 | | |
99 | 123 | | |
| |||
214 | 238 | | |
215 | 239 | | |
216 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
217 | 279 | | |
218 | 280 | | |
219 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
Submodule cryostat-web updated 79 files
- locales/en/public.json+39-8
- package.json+19-19
- src/app/Dashboard/Diagnostics/DiagnosticsCard.tsx+51-38
- src/app/Diagnostics/AllTargetsHeapDumpsTable.tsx+562
- src/app/Diagnostics/AllTargetsThreadDumpsTable.tsx+562
- src/app/Diagnostics/AnalyzeHeapDumps.tsx+5-8
- src/app/Diagnostics/AnalyzeThreadDumps.tsx+6-5
- src/app/Diagnostics/BulkEditHeapDumpLabels.tsx+235
- src/app/Diagnostics/BulkEditThreadDumpLabels.tsx+229
- src/app/Diagnostics/CaptureDiagnostics.tsx+74-52
- src/app/Diagnostics/DiagnosticsTable.tsx+170
- src/app/Diagnostics/Filters/HeapDumpFilters.tsx+231
- src/app/Diagnostics/Filters/LabelFilter.tsx+127
- src/app/Diagnostics/Filters/NameFilter.tsx+118
- src/app/Diagnostics/Filters/ThreadDumpFilters.tsx+245
- src/app/Diagnostics/Filters/ThreadDumpLabelFilter.tsx+127
- src/app/Diagnostics/Filters/ThreadDumpNameFilter.tsx+118
- src/app/Diagnostics/HeapDumpLabelsPanel.tsx+59
- src/app/Diagnostics/HeapDumpsTable.tsx+591-217
- src/app/Diagnostics/ThreadDumpLabelsPanel.tsx+59
- src/app/Diagnostics/ThreadDumpsTable.tsx+592-219
- src/app/Events/Events.tsx+13-9
- src/app/QuickStarts/all-quickstarts.ts+4
- src/app/QuickStarts/quickstarts/dashboard-quickstart.tsx+1
- src/app/QuickStarts/quickstarts/diagnostics/heap-dump-quickstart.tsx+126
- src/app/QuickStarts/quickstarts/diagnostics/thread-dump-quickstart.tsx+131
- src/app/RecordingMetadata/BulkEditLabels.tsx+40-39
- src/app/Recordings/ActiveRecordingsTable.tsx+10-3
- src/app/Recordings/ArchivedRecordingsTable.tsx+2-1
- src/app/Recordings/RecordingLabelsPanel.tsx+4-1
- src/app/Recordings/TargetAnalysis.tsx+23-9
- src/app/Reports/Reports.tsx+70-3
- src/app/Shared/Redux/Filters/HeapDumpFilterSlice.tsx+279
- src/app/Shared/Redux/Filters/ThreadDumpFilterSlice.tsx+279
- src/app/Shared/Redux/Middlewares/PersistMiddleware.tsx+6
- src/app/Shared/Redux/ReduxStore.tsx+4
- src/app/Shared/Services/Api.service.tsx+160-48
- src/app/Shared/Services/api.types.ts+55-3
- src/app/Shared/Services/api.utils.ts+20-4
- src/app/TargetView/TargetContextSelector.tsx+8-5
- src/app/TargetView/TargetSelect.tsx-220
- src/app/Topology/GraphView/TopologyGraphView.tsx+2-2
- src/app/Topology/Topology.tsx+1-1
- src/app/routes.tsx-3
- src/app/utils/LocalStorage.ts+2
- src/mirage/index.ts+55
- src/test/Archives/__snapshots__/AllTargetsArchivedRecordingsTable.test.tsx.snap-2
- src/test/Dashboard/AutomatedAnalysis/__snapshots__/AutomatedAnalysisCardList.test.tsx.snap-2
- src/test/Dashboard/__snapshots__/Dashboard.test.tsx.snap+2-2
- src/test/Diagnostics/AllTargetsHeapDumpsTable.test.tsx+427
- src/test/Diagnostics/AllTargetsThreadDumpsTable.test.tsx+427
- src/test/Diagnostics/BulkEditHeapDumpLabels.test.tsx+208
- src/test/Diagnostics/BulkEditThreadDumpLabels.test.tsx+212
- src/test/Diagnostics/Filters/LabelFilter.test.tsx+310
- src/test/Diagnostics/Filters/NameFilter.test.tsx+285
- src/test/Diagnostics/Filters/ThreadDumpLabelFilter.test.tsx+334
- src/test/Diagnostics/Filters/ThreadDumpNameFilter.test.tsx+315
- src/test/Diagnostics/Filters/__snapshots__/LabelFilter.test.tsx.snap+71
- src/test/Diagnostics/Filters/__snapshots__/NameFilter.test.tsx.snap+71
- src/test/Diagnostics/Filters/__snapshots__/ThreadDumpLabelFilter.test.tsx.snap+71
- src/test/Diagnostics/Filters/__snapshots__/ThreadDumpNameFilter.test.tsx.snap+71
- src/test/Diagnostics/HeapDumpsTable.test.tsx+222-81
- src/test/Diagnostics/ThreadDumpsTable.test.tsx+225-77
- src/test/Diagnostics/__snapshots__/AllTargetsHeapDumpsTable.test.tsx.snap+506
- src/test/Diagnostics/__snapshots__/AllTargetsThreadDumpsTable.test.tsx.snap+506
- src/test/Diagnostics/__snapshots__/BulkEditHeapDumpLabels.test.tsx.snap+191
- src/test/Diagnostics/__snapshots__/BulkEditThreadDumpLabels.test.tsx.snap+191
- src/test/Events/EventTemplates.test.tsx+19-1
- src/test/Events/__snapshots__/EventTemplates.test.tsx.snap-4
- src/test/Events/__snapshots__/EventTypes.test.tsx.snap-4
- src/test/JMCAgent/__snapshots__/AgentLiveProbes.test.tsx.snap-5
- src/test/RecordingMetadata/BulkEditLabels.test.tsx+30-7
- src/test/Recordings/RecordingLabelsPanel.test.tsx+14-1
- src/test/Recordings/__snapshots__/TargetAnalysis.test.tsx.snap+16-8
- src/test/Reports/__snapshots__/Reports.test.tsx.snap+92
- src/test/Settings/__snapshots__/NotificationControl.test.tsx.snap+84-6
- src/test/TargetView/TargetSelect.test.tsx-107
- src/test/utils.tsx+4
- yarn.lock+924-775
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
135 | | - | |
| 134 | + | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
| |||
254 | 253 | | |
255 | 254 | | |
256 | 255 | | |
257 | | - | |
| 256 | + | |
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
| |||
342 | 341 | | |
343 | 342 | | |
344 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
345 | 358 | | |
346 | 359 | | |
347 | 360 | | |
| |||
373 | 386 | | |
374 | 387 | | |
375 | 388 | | |
376 | | - | |
377 | 389 | | |
378 | 390 | | |
379 | 391 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 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 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments