Commit Graph
19 Commits
Author SHA1 Message Date
Jonathan Summers-MuirandIvan Vasilov 8bf07150b8 add deprecate notice to icons (#21937)
* add deprecate notice

* support old icons still

* Remove unused icons.

* Fix the icons in stories.

* Remove console.log

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-03-12 12:14:59 +08:00
Jonathan Summers-MuirandIvan Vasilov 831aefd725 Update Listbox2.tsx (#21811)
* Update Listbox2.tsx

* Add a deprecated note to Alert.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-03-07 13:25:54 +00:00
Ivan Vasilov d07a820440 feat: Pro+ users can choose compute size during project creation (#21292) 2024-02-20 16:19:26 +08:00
Ivan Vasilov a506587a71 fix: Change all imports in the ui package which import via the @ui shortcut. (#20745)
* Change all imports in the ui package which import via the @ui shortcut.

* Fix also all shadcn stories.
2024-01-31 11:29:20 +01:00
Joshen Lim 6f78b4fc2e Fix Listbox not re rendering properly (#19933)
* Fix Listbox not re rendering properly

* Remove console log

* Fix listbox not re rendering properly
2023-12-21 12:38:28 +07:00
Ivan Vasilov e5cd2686f7 chore: Migrate profile information to use react-hook-form (#19675)
* Fix the icon in the theme listbox.

* Remove visible prop on FormSection since it used block which clashes with grid CSS class.

* Migrate the user profile form to use react-hook-form.
2023-12-14 15:08:56 +01:00
Francesco SansalvadoreandJonathan Summers-Muir be9590c890 Multiple themes management (#18871)
* set up multiple themes in studio

* set up multiple themes in studio

* set up multiple themes in docs and www

* update all resolvedTheme to also include deep-dark

* update all resolvedTheme checks to also include deep-dark

* update tailwind.config.js tokens

* update tailwind.config.js tokens

* update leftover scale12 token

* update if resolvedTheme _doesn't_ include 'dark'

* update more styling tokens

* add dynamic themes to CmdK

* fix nav and footer for multi theme

* add data-theme selector output to transformTokens.js

* update code-hike.css to target data-theme css

* update tailwindcss to ^3.3.5

* ThemeImage with light and dark src for www and docs

* add brand-button styling token

* update old dark theme boolean

* update old dark theme boolean

* make homepage product visuals themeable

* update product page themed images

* update badge green with brand

* fix roles list appearance

* fix auth widget in auth page

* update more dark logic

* update more dark logic

* add button default bg and border

* update pricing page theme styling

* clean up Themeimage

* remove forceDark in homepage

* update dark:border-dark occurrences

* update dark:border-dark occurrences

* fix dark mode base colors

* remove foreground-strong

* fix notification badge bg

* remove some dark: selectors

* update dark: selectors

* update code-hike deep dark bg color

* fix comment typo

* update border-button-hover token

* fix customer story logo

* remove some more dark: selectors

* restore forceDark in www homepage

* fix auth react icon

* fix homepage product visuals

* remove theme

* add brand-link token

* fix checkbox bg

* npm install

* more visible EntityListItem active bg

* fix --background-alternative-default css vars

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-16 16:41:53 +00:00
Ivan VasilovandJoshen Lim e02181aba8 feat: Realtime inspector (#17617)
* Initial work.

* Cleanup the listbox component.

* Set the endpoint correctly.

* Add checks for permissions on the realtime inspector.

* Make the select for choosing tokens.

* Make the JWT input work with the toggle.

* Change the icon for broadcast.

* Add a modal for sending an event.

* Fix the events table to use react-data-grid.

* Remove table id.

* Refactor the no-results component.

* Fix the listening state to match the new designs.

* Add a functional no results component.

* Remove unnecessary index page on realtime

* First round of small styling and interaction behaviours fixes

* Another round of small styling fixes

* One more styling fix

* Another style fix

* One last styling fixes

* Add line

* last last fix

* Rename events to messages.

* Rename all files related to realtime messages to use the message wording.

* Update the icon for realtime in the left sidebar.

* Minor fix for the shimmer line.

* Make the Realtime icons use currentColor.

* Listen to all schemas by default.

* Add all schemas option to the schema filter.

* Fix the colors for error rows in the realtime table.

* Fix the system icon to sit in center.

* Use the correct icon for the right bar navigation.

* Remove the realtime icon since it's not used anywhere.

* Fix the filter popover colors.

* Remove the side panel background color.

* Add link to documentation on the filtering panel.

* Refactor the RLS popover to the new design.

* Minor styling fixes.

* Add code editor to the send message modal.

* Update the wording per Terry suggestions.

* Remove default channel + fix filter button styling

* Small styling fixes

* Update messagestable

* Deprecate all schema selector, extend existing schema selector

* remove unnecessary divs

* Last few fixes

* okay last few

* Small padding issue

* Improve label

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-11-06 15:32:20 +08: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
Jonathan Summers-Muir dec542a85a chore: update old brand-500 to new brand-300 2023-07-30 17:01:49 +08:00
Joshen Lim 5279e3796e Small style fix 2023-04-20 14:21:03 +07:00
Joshen Lim 7c0d5056d2 Merge branch 'master' into hf/add-saml-provider 2023-03-30 11:49:15 +08:00
Joshen Lim 0531ec2637 Update helper text 2023-03-27 17:14:04 +08:00
Joshen Lim 4cafd1968a Add support for Supabase Edge Functions 2023-03-24 15:50:09 +08:00
Joshen Lim b82edcac86 Ensure Listbox component doesnt crash if no children 2023-02-13 14:34:31 +08:00
Joshen Lim 21e0465dba Fix: 2023-02-10 17:22:49 +08:00
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir b0233d3e3d remove old package. ready to rename other directory 2022-09-19 13:06:03 +02:00
Jonathan Summers-Muir d1b55da7d2 chore: move UI into main repo 2022-09-14 11:52:10 +02:00