Commit Graph
43 Commits
Author SHA1 Message Date
b91532f6c7 Migrate to styling tokens (#18314)
* migrate some www components to tokens

* consolidate InteractiveShimmerCard to Panel component

* update tokens in blog

* update tokens in careers page

* update tokens in customers section

* update tokens in open-source section

* update tokens in Realtime page

* update tokens in Storage and Vector

* update tokens in SplitCodeBlockCarousel

* update tokens in PGCharts

* remove unused css files

* update tokens in Card

* update tokens in Pricing page

* clean up priving page imports

* remove hardcoded theme vars

* migrate first half of defaultTheme.ts to tokens

* migrate second half of defaultTheme.ts to tokens

* improve inputs

* add foreground to text-light and text-lighter

* add foreground to text-light and text-lighter

* migrate docs components with styling tokens

* migrate docs components with styling tokens

* fix broken Repos component

* fix broken classes in blog

* update tokens on Button and other components

* update tokens on IconPanel

* update studio main layout base styling tokens

* update tokens across studio, docs and www

* update tokens across studio, docs and www

* update ui/Panel to styling tokens

* update ExampleProject and TableEditorMenu tokens

* www vector page tokens

* update studio UI tokens

* update other studio UI tokens

* update more studio UI tokens

* change tokens here, change tokens there

* finish updating colors with tokens variables

* add gui sandbox for theme experimentation

* use common package for www, docs and studio and fix Command K tokens

* provide light mode default tokens options

* fix conflict leftover

* update loading line

* fix className typo

* fix prettier

* update themeSandbox preset default values

* fix text-background0

* prettier

* update warningBanner with warning color

* switch all border-border with border-default

* improve border-secondary and foreground-muted in light mode

* force ring color on toggle

* fix button bg color and border-muted light token

* fix input bg color

* fix dark button hover

* fix homepage product card

* fix code-hike table header colors

* button dark border

* remove tabIndex leftover from homepage main ctas

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-07 03:40:53 +00:00
Terry SuttonandJoshen Lim d1f175c158 Chore/add security type to functions (#17737)
* Add definer check to functions table

* Remove console log

* Small improvements to db functions UI

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-09-27 13:38:05 +08: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 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 f80d92fd6f Chore/protected schemas in database pages (#17636)
* Fix database tables schema not rendering listbox options + limit tables in triggers page to non excluded schemas

* Fix loading of triggers

* fix

* Only allow creation of functions in non excluded schemas

* Fix hooks empty state
2023-09-26 13:27:48 +08:00
Greg Richardson 75e1f75551 feat(dashboard): header wording on discard modal warnings 2023-09-18 13:04:01 -06:00
Greg Richardson f86fd17e64 feat(dashboard): button wording on discard modal warnings 2023-09-18 12:44:16 -06:00
Alaister Young a9b5880d78 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-11 17:45:34 +10:00
SUMAN KUMAR 4692eb9c6d fix: made the sql editor resizable
issue #16444
2023-08-13 01:41:56 +05:30
Joshen Lim 012b1493be Remove all usage of FC part 2 2023-08-07 10:28:23 +02:00
Greg Richardson 465b83e8e4 fix: SupaResponse type errors 2023-07-19 11:31:49 -06:00
Greg Richardson 6d93727f27 refactor: more isResponseOk updates 2023-07-17 12:25:02 -06:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Jonathan Summers-Muir a2e0b64871 Merge branch 'master' into jsm/design-tokens-poc-2 2023-05-06 18:57:59 +08:00
Alaister Young 8c1e2e082a Merge branch 'master' into chore/eslint-config-next 2023-04-18 22:10:12 +10:00
Jonathan Summers-Muir a90a90e702 Merge branch 'master' into jsm/design-tokens-poc-2 2023-04-18 16:29:47 +08:00
Greg Richardson 066d287fe8 chore: improve types to prevent casting 2023-04-17 11:12:12 -06:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Jonathan Summers-Muir ac6388ae41 remove old tailwind config 2023-03-22 15:01:44 +08:00
Brandon Scott 19d112a06c fix: hide copy about Advanced Settings when editing Database Function 2023-02-16 19:52:04 -05:00
Brandon Scott 1acd21a3b0 fix: add align-items: center style to CreateFunction input rows 2023-02-16 13:54:43 -05:00
Joshen Lim 1b50500c0a Replace select component with listbox in create function side panel 2023-01-03 09:50:24 +07: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 76ce1bcc57 Broad refactor to deprecate use of Typography 2022-08-30 12:23:14 +08:00
Francisco Mazzoni e1fd5fde06 add confirmation modal on form changes for database functions 2022-08-02 14:50:42 -03:00
Nick Rayburn 0a0cdc16a5 Merge remote-tracking branch 'upstream/master' into fix/type-cleanup
# Conflicts:
#	studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
#	studio/components/interfaces/Home/ProjectUsage.tsx
#	studio/components/ui/Usage.tsx
#	studio/pages/project/[ref]/auth/settings.tsx
2022-06-02 22:06:03 -05:00
Terry Sutton 639214f13e Move grid files 2022-05-25 16:50:33 -02:30
Nick Rayburn f0bf08d517 Update SqlEditor types and move file 2022-05-14 15:00:21 -05:00
Nick Rayburn 85241a401b Update Panel types and move file 2022-05-14 15:00:21 -05:00
Tobias Speicher 6e1c756e97 refactor: replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-24 00:05:27 +01:00
Joshen Lim 1748b52e18 Fix functions side panel padding 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir d0dd6f6bd0 chore: Triggers, Functions and Hooks SidePanels updated 2022-03-01 13:58:55 +08:00
Joshen Lim c840d088c3 Add numeric data type and refactor some repeated logic 2022-02-21 15:41:11 +08:00
FatumaA 0b37dbc511 dynamically gets all selected languages 2022-02-08 12:27:40 +08:00
Joshen Lim 44475b6da1 Update a bunch of components to trigger toast from uiStore and fix empty state for function hooks side panel when there are no tables created yet 2021-12-07 08:04:12 +07:00
phamhieu 26de2769e7 chore: tidy up 2021-12-02 09:00:20 +07:00
phamhieu 473eb94d47 fix: function argument onFormArrayChange 2021-12-02 09:00:20 +07:00
Joshen Lim 9373f69220 Studio 🎙 2021-11-26 11:15:00 +05:30