Commit Graph
35 Commits
Author SHA1 Message Date
Joshen LimandAlaister Young 285f19b304 Fix table editor clone column utils (#18608)
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2023-10-31 07:42:36 +00:00
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Kishan KumarandIvan Vasilov 6169977cbf feat: add editing support for citext data type in table editor (#17666)
* feat: add editing support for `citext` data type in table editor

* chore: minor refactoring

* feat: add citext in `ColumnType`

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-09-29 10:47:35 +00:00
Joshen Lim e474839a9a Improve support for viewing data in table editor for readonly entities 2023-09-15 15:04:55 +08:00
Nick Rayburn a7e0f65948 Add JsonFormatter for json columns 2023-05-29 21:17:02 -05:00
Joshen Lim a26a51f2a2 Use papaparse for CSV export in table editor 2023-04-04 16:44:47 +08:00
Joshen Lim a62a857c01 Update boolean selector in grid 2023-03-16 14:50:19 +08:00
Joshen Lim dcb8c8aeca Merge branch 'master' into chore/support-setting-to-null-in-table-editor 2023-03-16 09:49:07 +08:00
Joshen Lim 6ee5f9ccf6 Apply dynamic width to foreign row selector grid 2023-03-15 15:24:16 +08:00
Joshen Lim 4962b4e78e Only show set to null action if column is nullable 2023-03-10 16:18:14 +08:00
Joshen Lim 4855bfe459 Add tooltips for grid column foreign key 2023-03-09 16:02:45 +08:00
Joshen Lim 9d39338b31 Allow json editor in grid to expand to json side panel editor 2023-02-07 12:54:05 +08:00
Joshen Lim 9e9cb3848e Update vault toggle + show lock icon in table editor for encyrpted columns 2022-11-30 16:55:42 +08:00
Joshen Lim 6ae440c136 Fix table editor infinite loading when sorting or filtering on view 2022-11-15 16:27:12 +08:00
Joshen Lim 79356ff126 Fix uuid cells not being edittable directly through grid 2022-10-11 15:25:27 +08:00
Joshen Lim 069e7b366f Cast enum arrays as text arrays when fetching page in table editor 2022-10-07 14:16:43 +08:00
Joshen Lim a79cdec537 Use TextEditor only for enum arrays 2022-10-06 18:32:37 +08:00
Joshen Lim 22d3358ab9 Use TextEditor for arrays instead of JsonEditor for grid 2022-10-06 18:29:42 +08:00
Joshen Lim d972cb8c57 Remove MultiSelectEditor, try to improve array editing in table editor 2022-10-06 13:00:35 +08:00
Joshen Lim 105833d622 Implement MultiSelectEditor for grid, for an enum array column 2022-09-28 17:40:54 +08:00
Joshen Lim 0df9a7a39d Midway implementing MultiSelectEditor 2022-09-28 15:36:35 +08:00
Joshen Lim 49ba2b0f69 Update SelectEditor to use Listbox component from Ui library 2022-09-28 12:32:06 +08:00
Joshen Lim 1a957b9ce1 Add logic to ensure that column widths in table editor is at least the length of the column name 2022-08-22 12:45:01 +08:00
Inian 8f217deeb6 add prettier to studio (#7615) 2022-07-08 12:46:46 +08:00
Joshen Lim 9d856dfa3e Implement export all rows to CSV in table editor 2022-07-06 13:29:26 +08:00
Joshen Lim 98e6302922 Remove console logs 2022-06-30 12:15:38 +08:00
Joshen Lim b3c588eaa8 Clear through remaining todos 2022-06-28 15:10:36 +08:00
Joshen Lim 060c71d2b5 Add unit tests for grid utils format sort/filter url params 2022-06-28 12:20:31 +08:00
Joshen Lim de6231198d Refactor table editor filter state to store as URL params 2022-06-27 16:59:12 +08:00
Joshen Lim d960037708 Midway implementing sort filter through URL state 2022-06-27 13:00:38 +08:00
Joshen Lim d91cf6bd4c Disable pagination buttons while rows are being fetched 2022-06-21 17:14:07 +08:00
Joshen Lim 7ca9b91693 Pass rows as props into Grid component instead to ensure that component re-renders 2022-06-21 17:14:07 +08:00
Joshen Lim 84262d36e4 Midway: Fix for pagination not clearing selected rows 2022-06-21 17:14:07 +08:00
Joshen Lim 36b70428d4 Assign each filter on the grid editor a uuid 2022-06-14 15:56:35 +08:00
Terry Sutton 639214f13e Move grid files 2022-05-25 16:50:33 -02:30