Commit bbdcf04
committed
[local-explorer-ui] make the trace deep link one-shot by stripping it from the URL
The ?trace=&span= params were consumed but left in the URL. Because the view
switcher preserves search params and the Traces route remounts on each visit
(resetting the applied/seeded refs), the stale trace param re-seeded the
trace:<id> query and re-expanded the row on every return, hiding other traces
even after the user cleared the search. Capture the deep link once at mount and
strip trace/span from the URL (replace navigation, keeping worker), so it only
applies once.1 parent af35657 commit bbdcf04
1 file changed
Lines changed: 20 additions & 1 deletion
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
346 | 353 | | |
347 | 354 | | |
348 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
349 | 368 | | |
350 | 369 | | |
351 | 370 | | |
| |||
0 commit comments