Commit bcffb9d
authored
fix: ai sidebar closing (supabase#45932)
## TL:DR
fixes ai assistant panel closing after running queries in logs and
analytics
## b4:
(thanks to OP)
<img width="2102" height="854" alt="Image"
src="https://github.com/user-attachments/assets/6a1416d8-67bf-4166-999a-d8743746efda"
/>
## after:
https://github.com/user-attachments/assets/bec3366b-b4d6-41c8-a287-f8c37a818f71
## ref:
- closes supabase#45930
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved synchronization between the Logs Explorer editor and the
URL/search state: running a query now updates the shared search state
(and recent snippets) rather than performing a full route push, and the
editor now prioritizes the URL/state value when present to prevent
mismatches during navigation or query execution.
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45932)
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 8935043 commit bcffb9d
1 file changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 220 | + | |
229 | 221 | | |
230 | 222 | | |
231 | 223 | | |
| |||
326 | 318 | | |
327 | 319 | | |
328 | 320 | | |
329 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
330 | 324 | | |
| 325 | + | |
331 | 326 | | |
332 | | - | |
| 327 | + | |
333 | 328 | | |
334 | 329 | | |
335 | 330 | | |
| |||
0 commit comments