supabase-community / database-build

In-browser Postgres sandbox with AI assistance (formerly postgres.new)
https://database.build
Apache License 2.0
2.49k stars 197 forks source link

Ability to close the prompt pane to make space for the diagram view #115

Open zetolhousa opened 1 month ago

zetolhousa commented 1 month ago

Feature request: Ability to open/close/adjust the prompt pane on the right

Is your feature request related to a problem? Please describe.

On smaller screens it's almost impossible to view the full diagram without cropping out

Describe the solution you'd like

Solution-1: open/close the prompt pane Solution-2: adjustable width ↔

Describe alternatives you've considered

NA

Additional context

NA

gregnr commented 1 month ago

Thanks for the suggestion @zetolhousa. We're working on mobile support which might address this (by placing the diagram and chat in separate tabs). If this works well we can expand the breakpoint to use this layout on small desktop sizes. For the sake of testing, what screen size are you working with?

zetolhousa commented 1 month ago

I switch between 13inch(macbook) and 14inch(windows) laptops. Browsers are chrome and safari.

It gets cramped up in those screens unless I use bigger external monitor.