* Set up react queries for enumerated types
* Add delete enumerated type RQ
* Implement types UI + deleting types
* Implement create enumerated type
* Implement update enumerated type
* Tidy enumb dropdown in table editor
* Fix default value dropdown for enum in column editor
* Remove unused code
* Add create enum type cta in column editor
* Support updating enum description
* Add learn more URL RE inability to delete a single enum value
* Add sorting when creating enums
* Support updating existing values in an enum type
* Support updating order when editing existing enum
* Address comments part 1
* Address comments part 2
* Use lucide icons
* Update icons
* Address comments part 3
* Refactor enum type forms to use react hook form
* Update studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx
* Update studio/components/interfaces/Database/EnumeratedTypes/EditEnumeratedTypeSidePanel.tsx
* Copy
* Small style fix to API panel
* Use new input components and add alert when creating enum type
* Address comments
* Address comments
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* Demo api side panel
* Add docs for storage and edge functions
* Add content
* fix
* Add scroll to logic
* Add storage docs
* Add docs URLs
* Add connecting to project section in getting started
* Link back to docs site for product + resource specific docs
* Add entry points into API side panel for table editor, auth users and storage
* Add entry points into API side panel for edge functions
* Beef up feature preview modal with content
* Fix asset path
* Address several feedback
* Addressing more feedback
* Shift GraphiQL page to database if new api docs flag enabled
* Spelling
* Wording changes
* Spacing and wording
* Fix small issues
* Fix
* Update key showing toggle button
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com>
* When creating a new row with boolean fields, preselect the default value for those fields.
* When preparing row fields to be sent to the API, omit only fields which are not nullable. The not nullables can be sent to the API and they'll be interpreted correctly.
* Remove text color from all dropdown items. The color was set by a class but it should be left to be decided by the parent.
* Make the text smaller in all dropdown elements.
(cherry picked from commit 9a71b3f987047ad26de6e5d496ccf53bc559f71d)
* Fix mismatched colors.
* Remove obsolete text-xs.
* Fix the button in the AI SQL editor.
* Remove unneeded component.
* Update the dropdown content to support size prop (medium by default). Add space-x-2 to the dropdown item. Add flex to DropdownTrigger so that it's more vertically centered.
* Migrate Insert row dropdown in the TableEditor.
* Refactor UserDropdown to use the new Dropdown from shadcn.
* Migrate the ColumnMenu to use the new dropdown.
* Migrate the rest of the dropdowns.
* Remove the size prop and set the w-64 as default.
* Fix build errors.
* More dropdown fixes.
* More fixes.
* More fixes to various dropdowns.
* Remove the flex from the DropdownTrigger and add it in where it's needed.
* Snapshot.
* Remove keys on dropdown separators.
* Fix the dropdown in the SQL editor.
* Minor type fix.
* Remove space-x-2 from DropdownMenuItem and add it to each item where it's needed.
* Remove the space from the dropdown item.
* Fix a build error.
* Fix the item text in some of the dropdowns.
* Remove duplicate CSS from all dropdown items.
* The SubMenuContent text should be lighter to match MenuContent.
* Fix various CSS issues.
* Revert "Remove unneeded component."
This reverts commit ef606f6695.
* Fix migrated CSS classes.
* Last round of feedback fixes.
* Replace all occurences of text-scale-1100 to text-foreground-light.
* Replace all occurences of text-scale-1000 with text-foreground-light.
* Fix double uses of text-foreground-light.
* deletion of json blob data from table editor's side panel code editor fixed
* ensure null json values are saved and fix ts error
* Fix
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>