Commit Graph
123 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
Kevin Grüneberg 6ef8195e8b feat: rework database health report disk space (#18023) 2023-10-18 10:51:27 +02:00
Ziinc c4320bd0ae fix: api reports styling (#17739)
* fix: tweak padding of ReportWidget append

* feat: add link to logs explorer for routes tables, add collapsible toggle

* chore: formatting

* chore: remove table padding

* chore: fix padding around report item actions

* chore: formatting
2023-10-17 12:29:41 +08:00
3dca7ff61c feat: disable features (#17553)
* feat: groundwork for disabling features

* update to use profile endpoint & disable features

* fix ts error

* add useIsFeatureEnabled mock

* fix merge conflicts

* fix test

* upgrade to pro

* prettier

* add more billing enabled feature checks

* disable more stuff

* update useIsFeatureEnabled hook

* Fix database reports disk size

* Fix database reports disk size

* disable log sources

* disable moar things

* Tiny fix

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-16 12:59:36 +08: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
Ivan Vasilov 18c11843ee Dropdowns migration followup (#17730)
* 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.
2023-09-29 11:11:33 +00:00
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +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 b7b4ef5763 Improve clarity of input between matches and is comparisons for api report 2023-09-15 14:17:03 +08:00
TzeYiing 0ef21e837d chore: fix failing tests, add test coverage to storage report 2023-09-09 04:34:27 +08:00
TzeYiing 9938efd61a feat: add title to cache misses, add tooltip, adjust widget title 2023-09-09 04:15:45 +08:00
TzeYiing b65ebe8bf9 feat: storage report cache misses 2023-09-09 04:09:54 +08:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Alaister Young f45f5e4e0d adds profile context 2023-06-27 21:31:12 +10:00
Ziinc 6ccf69d6cc Merge pull request #14558 from supabase/feat/network-traffic-charts
feat: add network traffic charting to API reports
2023-06-22 13:13:50 +08:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Alaister Young 13459a711a fix: multiple profile creation 2023-06-12 18:25:58 +10:00
TzeYiing 7cb613e0fd fix: missed out replace 2023-05-26 03:17:52 +08:00
TzeYiing 217793bf31 chore: fix typo in function name 2023-05-25 13:25:40 +08:00
TzeYiing 78f2a3da87 fix: add in more obvious loading state to ReportWidget 2023-05-25 01:01:26 +08:00
TzeYiing de1b0f48d5 fix: compilation check 2023-05-24 15:44:08 +08:00
TzeYiing 68dca39bf5 feat: add network traffic charting 2023-05-24 15:37:05 +08:00
phamhieu 2db418d001 Merge branch 'master' into hi/new-profile-apis 2023-05-18 11:03:44 +07:00
Ziinc 8b05b2ce08 Merge pull request #14228 from supabase/feat/fill-functions-charts-timseries-data
Feat/fill functions charts timseries data
2023-05-17 12:40:08 +08:00
TzeYiing f923ea6da1 fix: chart timestamp filling and data truncation 2023-05-17 12:06:10 +08:00
TzeYiing a18bca75ef chore: refactor useDbQuery and useLogsQuery 2023-05-17 12:03:57 +08:00
Alaister Young 9c4d82c021 adds new useProfile hook 2023-05-15 21:37:38 +10:00
TzeYiing 1c3388acf7 fix: api report filter bar realtime icon should be IconZap 2023-05-04 17:17:16 +09:00
TzeYiing 1122641e28 feat: remove unused imports 2023-05-04 16:41:01 +09:00
TzeYiing 92d23ceb54 fix: Component names of renderers 2023-05-03 19:58:56 +09:00
TzeYiing 34cb626c24 fix: typo 2023-05-02 19:51:18 +09:00
TzeYiing fed58d78a0 feat: fix layout padding 2023-05-02 19:45:55 +09:00
TzeYiing 2387768658 feat: add timestamp filling, handle empty search params 2023-05-02 19:41:46 +09:00
TzeYiing ccd155dd03 chore: add tests for all , fixed some warnings 2023-05-02 19:30:39 +09:00
TzeYiing a70f7e9f32 chore: remove unused median calculation from query and transform 2023-05-02 19:22:04 +09:00
TzeYiing 9855ec07da feat: add slow routes table 2023-05-02 19:06:42 +09:00
TzeYiing ad469edfdd feat: adjust table record number 2023-05-02 18:58:53 +09:00
TzeYiing 3e76fe3fd6 feat: add error routes table 2023-05-02 18:56:23 +09:00
TzeYiing a2e72a503e feat: add append prop to ReportWidget, add top routes table 2023-05-02 18:31:33 +09:00
TzeYiing 10b822d010 feat: add expandable prop to ReportWidget 2023-05-02 03:11:55 +09:00
TzeYiing 8cb84aa7fe fix: refactor edge functions 2023-04-26 00:54:03 +09:00
Alaister Young c12fcc9119 more hooks rule fixes 2023-04-18 18:07:57 +10:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Terry Sutton 5f865e160c Merge branch 'master' into chore/move-useparams-to-packages 2023-03-31 11:51:43 -02:30
Jonathan Summers-Muir 82381a46d1 remove classes 2023-03-29 12:22:53 +08:00
Terry Sutton 67e3d8b1fc Fix api report dropdown 2023-03-28 16:20:50 -02:30
Terry Sutton 35c4226acb Fix checkbox 2023-03-28 11:51:46 -02:30
Terry Sutton 1e6477bf11 Move useParams to common packages 2023-03-24 15:16:44 -02:30