Files
supabase/apps/studio/components/ui/EditorPanel
Vaibhav 601cb1fe0f fix(studio): keep inline editor results on expand (#53790)
## TL;DR

fixes the inline sql editor dropping its results when opened in the full
sql editor

## prob/sol

expanding only passed the sql along, so the full editor opened on `Click
Run to execute your query` and the query had to be run again


ps: now they end up carrying the inline results over to the new snippet
on expand,
so they show w/o another run

| before | after |
| ------ | ----- |
| <video
src="https://github.com/user-attachments/assets/586a5aa3-3793-4e9c-ac51-a63a076e6fdd"
controls></video> | <video
src="https://github.com/user-attachments/assets/c17200df-2ea7-4da4-a39d-a33dea87561c"
controls></video> |

## ref

- closes: https://github.com/supabase/supabase/issues/53779
2026-11-23 07:20:43 -06:00
..