* fix clicking on sidebar item opening it
* update filters after curl is used
* fix refresh not using latest date
* add fallback when result is empty
* fix not showing latest results when pressing refresh
* cleanup
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseCollectionDetail.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* simplify copy, comment out search temporarily
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
* chore(docs): preprocess management api specs
In preparation for App Router migration of Management API reference,
preprocess the Management API spec (both OpenAPI spec and common
sections), and write the processed data to file, in the style of the
other pregenerated reference data.
Details:
- Split reference section generation into separate functions for SDK, CLI, and API
- Add new function to generate API reference sections from OpenAPI spec
- Introduce mapEndpointsById function to create a map of API endpoints
- Update run function to execute all reference generation tasks in parallel
- Import necessary new dependencies and types
* refactor(docs): migrate management api reference to app router
* fix(docs): statically build management api reference page
* fix(docs): minor styling issues
* feat: update email rate-limit notice to inform about template change restrictions
* apply suggestion from @J0
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
---------
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
* Add RLS policy template to "Enable users to view their own data only"
* fix: sql definition for policy
* Update apps/studio/components/interfaces/Auth/Policies/PolicyEditorModal/PolicyEditorModal.constants.ts
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Add validation for same folder name
* Add validation in move query modal for folder name
* Add validation in move query modal for folder name min length 1
* Handle rename folder failed due to duplicate folder name
* Fix renaming folder to a name that already exists
* Fix weird wide resizeable panel if load table editor or sql editor from a fresh browser session
* Update apps/studio/components/layouts/ProjectLayout/ProjectLayout.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
* Allow access to the database backups page irregardless of project status
* Remove access to backups page for pause, pause failed and pausing states
* Remove access to backups page for pause, pause failed and pausing states
* Restoring state show PITR
* Add state to handle project offline for PITR page
* Convert auth users page to use data grid
* Deprecate old components for auth users
* Remove unused state
* Remove unnecessary file
* Add copy cell value
* Reload -> Refresh
* Fix spelling
* Adjust sizing of search and dropdown
* Add feature flag and reinstate original auth/users UI
* Remove font mono on auth users data grid header and row cells
* Address comments
* feat: add switch org command
* fix: change switch org to configure org
The org doesn't really get globally switched, you just land on the
settings page, so this seems more accurate.
* fix: allow cjk ime input on commandinput component
* fix metadata not showing in Raw tab in log detail
* fix rows not filling up horizontal space
* show collection loader only when fetching collections, since the query can be disabled
* simplify language in create collection modal
* fix create collection modal copy in cta
* rm typecast, add tooltip on collection creation
* improve copy on empty collection
* improve copy on colelction empty state
* rm unused code
* prompt users to refresh, add button to refresh, after sending first events to a collection
* use generic mr skelington instead of supalogo
* add template for search in event message
* hide field reference when source is warehouse
* rm font bold on selected log
* update curl example
* add focusable prop to codeblock
* change focus border color in codeblock
* make codeblock focusable by default
* move refresh btn
* rm unnecessary focusable i codeblcok
* fix raw log rendering
* add search
* update plceholder
* add timerange search
* improve empty state copy in wh
* add open in warehouse explorer button
* update test conection dialog ui
* Update apps/studio/components/interfaces/DataWarehouse/TestCollectionDialog.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseCollectionDetail.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseCollectionDetail.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* rm clog
* Update apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* fix loading state in collections sidebar
* fix test collection sheet layout
* add some keyboard shortcuts to filters
* use isLoading in wh log detail to prevent double loaders
* make search input longr
* truncate titles
* truncat sidebar names
* rename dayjs
* update copy from warehouse to collections
* update remove collection copy
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Start implementing the new troubleshooting entries organization.
Adds:
- A template for structured troubleshooting entries
- Validation for the template
AI edge functions error if Vercel runs them in a region that is not
supported by OpenAI. To prevent this, restrict the Edge Function regions
to the OpenAI-supported regions.