Commit Graph
45 Commits
Author SHA1 Message Date
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
Kevin Grüneberg c4b20e114a feat: partner billing (#18386) 2023-10-24 11:33:53 +02: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
Kevin Grüneberg a77e639013 chore: improve copy for cumulative usage metrics (#18121) 2023-10-12 13:27:06 +02:00
Kevin GrünebergandJoshen Lim 780209440a fix: misleading CTA / current billing cycle check (#18024)
* fix: misleading CTA / current billing cycle check

* Update studio/components/interfaces/Organization/Usage/Usage.tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-09 10:50:43 +08: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
Kevin Grüneberg 4bd241af27 feat: over-usage banners for orgs 2023-09-13 00:21:53 +02:00
Kevin Grüneberg 48b6538409 docs: org-based billing 2023-08-31 08:09:20 +02:00
Kevin Grüneberg 55c2afdb76 fix(billing): storage size should be avg not max 2023-08-24 15:36:42 +02:00
Kevin Grüneberg b86849da56 chore: slight improvements for org-billing 2023-08-17 21:05:16 +02:00
Kevin Grüneberg 851596e4d7 Merge pull request #16224 from supabase/chore/improve-project-nav-org-billing
chore: improve project nav with org-billing
2023-08-07 20:13:10 +02:00
Kevin Grüneberg 6ac61fc0f2 fix: hide labels on org usage with project filter 2023-08-07 14:29:34 +02:00
Joshen Lim 7f967e82d6 Add types for DateRangePicker 2023-08-07 17:27:12 +08:00
Kevin Grüneberg 94db3c2d9d Update Usage.tsx 2023-08-05 13:06:28 +02:00
Terry Sutton fb6874afcf Update studio/components/interfaces/Organization/Usage/Usage.tsx 2023-08-04 16:18:56 -02:30
Terry Sutton 5bb01851a0 Update studio/components/interfaces/Organization/Usage/Usage.tsx 2023-08-04 16:18:11 -02:30
Kevin Grüneberg efb3febc45 chore: improve project nav with org-billing 2023-08-04 13:48:44 +02:00
Kevin Grüneberg cdca055270 fix: only show db size warning on capped plans 2023-08-02 00:38:36 +02:00
Kevin Grüneberg 49c7ccd610 chore: filter out empty egress breakdown items 2023-07-20 17:44:10 +02:00
Joshen Lim 363f682a5d Fix 2023-07-10 14:25:55 +08:00
Joshen Lim 74a85175d3 Fix lint 2023-07-10 14:15:10 +08:00
Joshen Lim 6947c86b64 Fix wrong type 2023-07-07 17:29:34 +08:00
Joshen Lim 3faec1d49e Fix wrong type 2023-07-07 16:23:45 +08:00
Joshen Lim 5de9b85119 Address PR comments 2023-07-07 10:50:50 +08:00
Joshen Lim d97bf81f23 Bring out infra activity into its own page for org billing v2 2023-07-06 19:36:03 +08:00
Joshen Lim 2f70479665 Hide included value and overages and sparkbar if project ref selected in org usage 2023-07-06 17:56:20 +08:00
Joshen Lim 7f28e47403 Allow project filtering for org usage 2023-07-06 17:32:06 +08:00
Joshen Lim 197a74cba6 Clean up 2023-07-06 16:21:18 +08:00
Joshen Lim 9affeb7bd0 Remove padding logic from org-daily-stats-query 2023-07-06 16:14:07 +08:00
Joshen Lim 1fa3812389 Remove unnecessary hasNoData property 2023-07-06 16:12:11 +08:00
Joshen Lim d2baa6246d fix 2023-07-05 22:23:23 +08:00
Joshen Lim 776d3f40e1 Address PR comments 2023-07-05 21:44:50 +08:00
Joshen Lim 8d211846f6 Add billing breakdown 2023-07-05 17:03:40 +08:00
Joshen Lim 53182aef4a Address comments from part 1 2023-07-05 16:10:35 +08:00
Joshen Lim abc05d8e56 Update based on new org usage endpoint 2023-07-04 17:54:02 +08:00
Joshen Lim 0c4750338f Bring changes in from part 1 and resolve conflicts 2023-07-04 15:33:26 +08:00
Joshen Lim a7e4784cad Fix usage 2023-07-04 15:04:17 +08:00
Joshen Lim fa740d2118 Midway updating usage 2023-07-04 14:27:34 +08:00
Joshen Lim 6ed4973f42 Have all usage charts on org billing usage use new daily stats endpoint 2023-07-03 16:18:31 +08:00
Joshen Lim 71592b814a A bit of clean up 2023-07-02 18:46:29 +02:00
Joshen Lim 1a360a8e8e midway 2023-07-02 18:46:29 +02:00
Joshen Lim 7d5096d3ca Update UsageBarChart to accept a list of attributes, instead of a single one 2023-07-02 18:46:29 +02:00
Joshen Lim c406268c3d Scaffold new usage tab for org v2 2023-07-02 18:46:29 +02:00