Files
supabase/apps/studio/components/interfaces/Database
Benjamin 7758235acb feat(studio): merge prototype SQL-editor warehouse routing + storage UX
Brings the recently-pushed dnywh/prototype/warehouse changes, adapted to this
branch's real-hooks + feature-flag architecture:

- warehouseNaming.utils.ts: per-source-schema warehouse naming
  ({schema}_warehouse.{table}) + SQL routing detection (postgres/warehouse/mixed).
- SQL editor: a "Source: Warehouse / Postgres + Warehouse" pill (DatabaseSelector)
  and a results-footer lag indicator when a query reads *_warehouse schemas. Lag now
  comes from a real hook (useSqlWarehouseLagSeconds over the linked-tables query)
  instead of the demo store, and the whole indicator is gated behind the warehouse flag.
- Storage panel: "Query in Warehouse" split button (opens the SQL editor with a
  sample query) + Postgres/Warehouse table rows; names use the qualified
  {schema}_warehouse.{table} convention.
- Enablement modal copy + plan doc copy_name updated to the new convention.

Skips the demo-store-only mechanics (superseded by the real hooks here).
2026-07-20 09:27:10 +00:00
..
2026-07-16 14:06:40 +01:00