Commit Graph
50 Commits
Author SHA1 Message Date
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
Ivan Vasilov ae4a06f715 Change all occurences of text with text-foreground (#17890)
* Change all occurences of text with text-foreground.

* Minor fix.
2023-10-09 16:11:18 +00:00
Ivan Vasilov 7dea89cc35 Drop the _shadcn_ suffix from the the Dropdown component (#17804)
Replaced all occurrences of _shadcn_ for the Dropdown component.
2023-10-03 13:12:34 +02:00
Joshen Lim 32dda1bb23 Feat/UI feature previews (#17775)
* Break me.tsx into smaller components

* Deprecate duplicate app valtio state

* Initialize feature preview modal

* Add telemetry

* Address comments
2023-09-29 13:20:30 +08:00
Ivan Vasilov 76db9f27b3 Migrate dropdowns to use the new Dropdown component (#17427)
* 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.
2023-09-26 15:29:07 +02:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* 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.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Joshen Lim afa6ebbc24 Small change 2023-09-08 14:13:39 +08:00
Joshen Lim eff4373b6b Small refactor 2023-09-08 14:04:06 +08:00
Ivan Vasilov aa8dc9a762 Add missing import. 2023-09-07 11:16:38 +02:00
Ivan Vasilov b501faed83 Clean duplicate files. 2023-09-07 10:50:20 +02:00
Ivan Vasilov ba40f7d88b Add fix for the sliding log dates. 2023-09-07 10:50:19 +02:00
Ivan Vasilov 2d73c28b13 Remove leftovers from organization audit logs. 2023-09-07 10:50:19 +02:00
Ivan Vasilov 655fffe5f7 Rename the account audit logs file. 2023-09-07 10:50:19 +02:00
Ivan Vasilov 24820c5f3f Add profile audit logs page. 2023-09-07 10:50:19 +02:00
Ivan Vasilov dc1db5b8e3 Minor fixes. 2023-09-06 13:42:02 +02:00
Joshen Lim 764005f735 Remove unused impoort 2023-09-06 15:01:44 +08:00
Joshen Lim ae6f987647 Small style fixes 2023-09-06 15:01:03 +08:00
Ivan Vasilov bb1b6fb68b Minor UI improvement. 2023-09-05 10:24:56 +02:00
Ivan Vasilov 24a245a228 Fix build errors. 2023-09-04 17:44:41 +02:00
Ivan Vasilov fd10624fbf Refactor the modals to use visible prop. 2023-08-31 17:42:04 +02:00
Ivan Vasilov 27dad886ef Minor nit. 2023-08-31 14:40:13 +02:00
Joshen Lim 30412056f1 Add CTA for support form 2023-08-31 16:27:42 +08:00
Joshen Lim 6ab4daa5ac Small style fixes and fix unenrolling when cancelling 2023-08-31 16:20:55 +08:00
Ivan Vasilov b84aa9254a Address all comments from the PR. 2023-08-30 15:43:43 +02:00
Ivan Vasilov 777c5b407a Add a modal for adding new factor. 2023-08-29 09:11:34 +02:00
Joshen Lim f3008f17d1 Fix access tokens max width 2023-07-25 14:15:43 +08:00
Joshen Lim a07b762cab Refactor to change mutateAsync to mutate 2023-07-17 17:21:18 +08:00
Joshen Lim 0e4f2e5913 Fix 2023-07-10 15:03:08 +08:00
Joshen Lim 9e8c75be1c Initialize error handling changes with access tokens 2023-07-10 15:02:00 +08:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Joshen Lim aac25c5ab5 Fix eslint errors 2023-04-20 17:56:06 +07:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Joshen Lim b32d9bd365 One more UI update 2023-03-22 17:10:42 +08:00
Joshen Lim 361f9c374d Update UI for access tokens 2023-03-22 17:10:42 +08:00
phamhieu 1ca102b9ac chore: clean up 2023-03-22 17:10:42 +08:00
phamhieu 0d7e59d666 feat: generate experimental api token 2023-03-22 17:10:42 +08:00
Alaister Young 09218cafea move useAccessTokens to react-query 2023-01-03 19:48:58 +00:00
Sara Tavaresandgithub-actions[bot] 80d0624262 fix(typos): add github action to prevent typos + fix typos (#9598)
* feat(ci): fix typos

* [create-pull-request] automated change

* Update index.tsx

* Update README.fr.md

* Create .misspell-fixer.ignore

* Update constant.dart

* [create-pull-request] automated change

* Update database.tsx

* [create-pull-request] automated change

* [create-pull-request] automated change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-27 23:32:02 -03:00
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir a4d37836a5 update all imports 2022-09-19 12:24:59 +02:00
Jonathan Summers-Muir bc73301b8e revert 2022-09-16 12:57:56 +02:00
Jonathan Summers-Muir e122dd0983 update import paths 2022-09-14 17:49:53 +02:00
Joshen Lim 7cb722dff0 Small refactor in Access token and add guard in useAccessToken hook 2022-09-12 10:04:15 +08:00
Joshen Lim 76ce1bcc57 Broad refactor to deprecate use of Typography 2022-08-30 12:23:14 +08:00
Joshen Lim 78fad0c5c1 Access tokens updated to be font mono 2022-03-31 17:38:12 +08:00
Joshen Lim 6b31e8d15a Expose access tokens page on dashboard and update a bit of styling 2022-03-28 16:59:10 +08:00
Joshen Lim 9dc699a8a9 Styling issues and remove console logs 2022-03-14 14:56:41 +01:00
phamhieu 67d66c8c75 fix: reset on showing new token modal 2022-03-14 13:53:15 +07:00
phamhieu ca78c1f603 chore: clean up 2022-03-14 13:53:15 +07:00