Commit ec5ed20
authored
ref(explorer): useSessionStorage to persist current run id (#103467)
Keep track of the last active explorer conversation for each web
session, so it can be restored on reload or the state is lost for some
other reason
https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage
closes [AIML-1616: QoL: restore previous active session after hard
reloading](https://linear.app/getsentry/issue/AIML-1616/qol-restore-previous-active-session-after-hard-reloading)1 parent 701ad1e commit ec5ed20
File tree
3 files changed
+7
-1
lines changed- static/app/views/seerExplorer
- hooks
3 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
0 commit comments