Commit 4adfb68
[OPIK-6013] [FE] fix: CSV upload overlay stuck when server-side processing enabled (#6330)
Skip showing the CsvUploadDialog overlay when isCsvUploadEnabled is true,
since the upload is handled server-side in the background and a toast already
confirms acceptance. Previously the overlay showed "Upload in progress..." with
no close button and was never dismissed because the sidebar stays open for the
success step (unlike the old dialog flow which closed entirely).
Also add a visually-hidden DialogTitle to CsvUploadDialog for accessibility.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 94e318a commit 4adfb68
2 files changed
Lines changed: 6 additions & 2 deletions
File tree
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments