Commit Graph
423 Commits
Author SHA1 Message Date
Kevin Grüneberg 0ba347ba00 fix: subscription/addons links (#18663) 2023-11-02 20:28:14 +01:00
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01: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
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
Ziinc cdb53688c0 fix: memory issues and speed improvements to generated query (#17808)
* fix: memory issues and speed improvements to generated query

* chore: formatting
2023-10-02 13:27:36 +08: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
TzeYiing cc8ce2218c chore: fix indentation 2023-09-16 03:17:25 +08:00
TzeYiing a96fe6049a chore: add storage cache miss template to logs explorer 2023-09-09 05:04:28 +08:00
Ziinc befabe9cdf Merge pull request #16566 from supabase/fix/logs-counts-query-filter-generation-missing-joins
fix: Add joins into counts sql generation
2023-08-17 13:05:44 +08:00
Joshen Lim a8fe3d04a0 Merge pull request #16545 from supabase/fix/fallback-for-log-renderers
fix: fallback for log renders for log events that are missing data
2023-08-17 11:57:30 +07:00
Joshen Lim 8fe90f4f55 Merge pull request #16546 from supabase/fix/log-explorer-copy-button-not-working
fix: log explorer copy button not working
2023-08-17 11:50:01 +07:00
TzeYiing 4db2c129f4 chore: use cross joins for chart query as well 2023-08-17 03:53:18 +08:00
TzeYiing 176ac13141 chore: remove functuation for consistency 2023-08-17 03:46:12 +08:00
TzeYiing 7c2f5004d0 fix: Add joins into counts sql generation 2023-08-17 03:21:40 +08:00
TzeYiing fe4b4c8015 chore: fix tests 2023-08-17 02:51:27 +08:00
TzeYiing 9e8bd9b728 feat: supavisor logs support 2023-08-16 23:27:00 +08:00
TzeYiing 6c6d9f9183 fix: log explorer copy button not working 2023-08-16 02:48:37 +08:00
TzeYiing f45e57e0d0 fix: fallback for log renders for log events that are missing data 2023-08-16 02:35:13 +08:00
Joshen Lim 894388f5e7 Show warning in pg bouncer logs if supa visor is enabled 2023-08-11 14:21:12 +08:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Greg Richardson 7204ac26fe Merge branch 'master' into chore/update-brand-colors 2023-08-01 16:10:52 -05:00
Jonathan Summers-Muir 8b8e491627 chore: update old brand-1100 and brand-1200 to new brand-600 2023-07-30 17:15:54 +08:00
Ivan Vasilov 14dc996098 Add a copy to clipboard button which copies all currently shown json logs. 2023-07-26 13:50:02 +02:00
Terry Sutton 73b6aff023 Merge pull request #15398 from supabase/fix/log-event-chart-onClick-ticks
Fix/log event chart on click
2023-07-05 16:57:27 -02:30
Joshen Lim c8edaae3e7 Address conflicts 2023-06-28 16:53:51 +08:00
TzeYiing 16f211dda8 fix: functions log event chart not showing data 2023-06-28 03:49:20 +08:00
TzeYiing 6d948f7ed8 fix: LogEventChart onClick handler not firing 2023-06-28 03:36:54 +08:00
Alaister Young f45f5e4e0d adds profile context 2023-06-27 21:31:12 +10:00
Ziinc d2c856cafa Merge pull request #14655 from supabase/fix/prevent-filling-10k-datapoints
fix: prevent accidental filing of large timeseries datasets
2023-06-21 02:20:03 +08:00
ZiincandJoshen Lim b4850b767d Update studio/components/interfaces/Settings/Logs/Logs.utils.ts
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-06-21 02:06:35 +08:00
Kevin Grüneberg f0643d05fa chore: remove old subscription UI / use v2 endpoint 2023-06-19 16:38:26 +02: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
Kevin Grüneberg e3df2f453d feat: add team plan 2023-06-08 10:59:56 +02:00
Qiao Han 2a69308838 fix: disable logs explorer gracefully 2023-06-01 16:26:26 +08:00
Kevin Grüneberg c088132064 chore: change tier <> plan terminology 2023-05-31 12:17:39 +02:00
TzeYiing 2756f3505f fix: prevent accidental filing of large timeseries datasets 2023-05-29 17:20:07 +08:00
Terry Sutton 476bbb472c Merge pull request #14454 from supabase/fix/project-usage-chart-bugfixes
Fix/project usage chart bugfixes
2023-05-23 21:18:45 -02:30
Kevin Grüneberg bd4078b2fd fix differently 2023-05-24 00:09:11 +02:00
Kevin Grüneberg cdef46a1e7 fix endless loop 2023-05-24 00:06:57 +02:00
Ziinc 11cfc3d25c Merge pull request #14062 from supabase/fix/update-auth-logs-sql-filter-template
fix: update auth logs filtering to use metadata keys.
2023-05-22 13:28:32 +08:00
TzeYiing fa96ad246a fix: update truncation detection logic to check all underlying data points provided 2023-05-19 01:04:21 +08:00
phamhieu 2db418d001 Merge branch 'master' into hi/new-profile-apis 2023-05-18 11:03:44 +07:00
Ziinc 5995810a8d Merge pull request #14227 from supabase/fix/logs-hooks-refactor
chore: Refactor reporting/logging hooks
2023-05-17 12:31:46 +08:00
TzeYiing 0e5ed92d21 chore: remove unnecessary export of private function 2023-05-17 12:30:55 +08:00