* Only show new disk billing UI for AWS provider projects
* Fix DiskSpaceBar autoscaling should be fixed at 90%
* Change all MiB to MB and GiB to GB
* Prettier
* fix(cmdk): empty state shows up when it shouldn't
Can't remember why on earth I put this in a useMemo instead of a
useEffect...
* fix(command menu): switch branch command not showing up
* Add note regarding final usable IOPS
* Ensure that its GiB and not GB for disk mgt ui
* Adjust language of IOPS and throughput fields, use GiB and not TiB
* PRettier
* Add note for max throughput based on compute size
* Prettier
* Small fix
* feat: prefill first org name and first project name
* chore: move prefill logic to new page
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
The end of the Great Migration is here!!!
Moves the last pages over, deleting pages like the FAQ that we don't use
and that contain duplicated information anyway.
Dev secret auth page URL had to change as App Router doesn't like the
leading underscores in the path.
Also fixes the not-found recommendations to use the proper Next.js
not-found page so it will return a 404 as it should. (I was under the
erroneous impression that I couldn't get the pathname in not-found.tsx,
that is not true, so this works better.)
* chore(docs,refs): prebuild self-hosted ref data
Pregenerate self-hosted ref data files, in the style of the client lib,
Management API, and CLI references. Preparatory step for migrating the
self-hosted references to App Router.
* refactor(docs): convert self-hosting to app router
Convert self-hosting reference pages to App Router.
* fix(docs,sitemap)
* Chore: Add links to documentation to the Auth Providers page
* Update position of documentation button in provider form
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
* init
* moar
* moat
* moar
* add read replica bar
* moar
* Update DiskMangementPanelForm.tsx
* added temp state mang to test
* moar
* Prepare react queries + data from API for disk mgt
* moat
* moat
* moar
* Update DiskMangementReviewAndSubmitDialog.tsx
* badge updates
* Hook up actual endpoints for E2E testing, but commented out for now for local dev
* Hook up real data + clean up files and add tests
* Update APi types
* Hook up E2E and fix all validation logic
* Only show new disk mgt UI for orb billing
* Add note on RRs 25% more disk size
* Add state to handle free plan for disk mgt
* Update increase disk size CTA in reports/database
* Fix file spelling errors
* Address feedback
* Fix missing framer motion package in ui
* Address comments
* Address feedabck
* Minor fix
* Use new disk util endpoint
* Remove unused import
* Address feedback
* More addressing of feedback
* Update pricing details for IO2 - no included disk size
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Add a DB table for troubleshooting entries. This will be used to support
persistent relationships between GitHub troubleshooting entries and docs
site troubleshooting entries.
We were hacking around force-mount behavior because it wasn't working in
a previous version of cmdk. cmdk version was bumped a few weeks ago
which fixes force-mount.
* 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>