Alaister Young
c59be649a3
chore: prefetch project homepage ( #30317 )
2024-11-07 16:29:07 +08:00
Alaister Young and Joshen Lim
e537cf399d
chore: move storage isFreeTier check to org ( #30154 )
...
* chore: move storage isFreeTier check to org
* Fix isFreeTier check on save button and input
* Add check for form state dirty
* Smol unrelated fix in NavigationBar
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-10-29 18:23:26 +08:00
Joshen Lim
d1d029747f
Ensure commands only show up if assistant is enabled ( #30088 )
2024-10-25 11:26:50 +08:00
Joshen Lim
0070265e6d
Chore/assistant tweaks ( #30074 )
...
* Add cmd i to close the assistant
* Update command in side nav
* Add kill switch for sending assistant prompts
* Add basic telemetry around quick sql editor assistant
* Fix
2024-10-25 09:57:09 +08:00
Terry Sutton
32b9cbf3c1
menu pref ( #29297 )
...
* Add a preference to prevent menu from expanding
* Use FormItemLayout
* Fix bottom padding
* Padding change
* Padding change back
2024-09-17 11:26:23 -02:30
Francesco Sansalvadore
8a1e7e21df
Fix muted text ( #28822 )
...
* fix button icon text
* fix menu toggle bg
* fix more muted text
2024-08-23 13:34:54 +08:00
Joshen Lim
355aee7d76
SQL Editor support opening cell into side panel for read only detailed view ( #28547 )
...
* SQL Editor support opening cell into side panel for detailed view
* Refactor context menu in SQL editor to use ui lib
* Fix
* Fix for NULL values
2024-08-12 17:16:59 +08:00
Jonathan Summers-Muir
cc5cabeadd
fix/ sidebar scroll issues on smaller screens ( #28500 )
...
Update NavigationBar.tsx
2024-08-09 15:24:47 +08:00
Jonathan Summers-Muir
77bc1a4d8b
Revert "Bug Fix - Nav elements overlap" ( #28497 )
...
Revert "Bug Fix - Nav elements overlap (#25966 )"
This reverts commit 77dfed4b7c .
2024-08-09 13:02:16 +08:00
Charis
84732ff44c
feat: add new command menu to studio ( #28432 )
...
Add new command menu to studio. Ports over commands from old menu (with some minor reorganization), then adds:
- Branch switcher
- Project switcher
2024-08-08 16:42:07 -04:00
77dfed4b7c
Bug Fix - Nav elements overlap ( #25966 )
...
* Fix nav elements overlap issue
* Review comment fix - z-50 and above is reserved for dropdown and tooltip, so made z-10
---------
Co-authored-by: Chetan Lohkare <lohhkarec@gmail.com >
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-08-08 14:41:59 -02:30
Terry Sutton
1be7cc4820
Refine lint warning on homepage ( #28424 )
...
* Refine lint warning on homepage
* Remove unused
2024-08-06 16:33:20 -02:30
Terry Sutton and Joshen Lim
fee07c5d36
Chore/show lints on project homepage ( #23424 )
...
* Move auth lints to query
* Add exmaple components
* Cleanup
* Add sidebar badge
* type issue
* Remove home warning
* Add loader state
* Small style changes
* Small lint
* Only show navbar dot if we have lints
* Revalidate the lint query when sql editor snippets run
* Fix imports
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-08-05 10:49:19 -02:30
Jonathan Summers-Muir and Francesco Sansalvadore
6d760a1a99
Feat/deep dark ( #27026 )
...
* chore: move to deeper dark
* tidy up boxes on www
* update deep-dark colors
* fix homepage product cards
* toned down pricing page a little
* update
* lots of color changes
* Update grid.scss
* Update EntityListItem.tsx
* Update EntityListItem.tsx
* fix partners page icon
* fix partners page colors
* update theme
* Update global.css
* combined dark theme so classic-dark does not break on other sites
* Update package-lock.json
* updated color tokens pipeline to support combined dark theme
* smol updates
* Update FeaturedThumb.tsx
* Update BlogFilters.tsx
* Update BlogListItem.tsx
* Update BlogListItem.tsx
* Update UserSettingsDropdown.tsx
* Update NavigationBar.tsx
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
2024-07-30 21:34:28 +08:00
Alaister Young and Kevin Grüneberg
70da0f1d1d
chore: cleanup packages ( #27770 )
...
* chore: cleanup packages
- Avoid circular imports
- Export API-types as types
- pg-format without depending on Node internal Buffer (not browser-compatible)
- Avoid importing from barrel files in ui dir
* chore: avoid barrel file imports in studio (#27771 )
* chore: avoid barrel file imports
- Removes some unused imports
- Avoids barrel file import for faster builds + less memory
* add eslint rule
* type fixes
* delete layouts barrel
* delete components/grid barrel file
* delete components/grid/utils barrel file
* delete components/grid/components/common barrel file
* delete components/grid/components/editor barrel file
* delete components/grid/components/formatter barrel file
* delete components/grid/components/grid barrel file
* delete components/grid/components/header/filter barrel file
* remote components/grid/store barrel file
* remove components/interfaces/Auth/Policies barrel file
* delete components/interfaces/Settings/Logs barrel file
* delete components/ui/CodeEditor barrel file
* delete components/ui/Forms barrel file
* delete components/ui/Shimmers barrel file
* delete data/analytics barrel file
* delete hooks barrel file
* cleanup lib/common/fetch barrel file
* final * barral files cleanup
* global react-data-grid styles
* remove console.log
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
* fix build
---------
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-07-04 14:48:10 +08:00
9fd85e76fb
feature: warehouse ( #23714 )
...
* add event collection ui, queries, routing
* fix alignment issue
* renaming
* wip
* feat: initial data hooks and integration with feature flagging
* update with naming, correct mocks, etc
* feat: add source crud integration
* mock data, fix form, add motion to drawer
* feat: optimize warehouse fetch behaviour
* feat: add in valid query
* chore: ermove collection mocks
* feat: optimize tenant fetching
* cleanup + update openapi client + fix fetch calls
* cleanup imporst
* on delete success, redirect to main logs page
* fix dropdown event propagating to link and opening page
* Refactor code to use useParams and useRouter in CreateWarehouseCollection.tsx, WarehouseCollectionDetail.tsx, and LogsLayout.tsx
* clean warehouse query
* warehouse access tokens create, list
* add warehouse access token revokal
* fix access tokens table, fix access tokens revoke feature
* format date in access tokens table
* fix some state issues and warnings in access tokens forms
* warehouse/feat: introduction when creating event collections (#23244 )
feat: add introduction for event collections
* warehouse/feat: rename headers and nav items (#23243 )
* feat: rename headers
* feat: use feature flag for navigation bar
* move header name flag to component
* fix typeerror in create collection query
---------
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
* ui fixes, rm deprecated icons
* render table with events
* fix typeerror results arr
* add pagination
* some ui fixes
* fix loading states, format dates, test connection dialog
* patch type errors
* Fix access token selection in TestCollectionDialog and update column name in WarehouseAccessTokens
* rm unused querytype
* rm unused querytype in logtable
* patch type errors in warhouse collection mutations
* rm unused component
* mr unused import
* show connection dialog in staging
* fix Run btn now showing up
* fix undef argument
* show pagination only when there are results
* fix issues in connection dialog, improve ux
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseAccessToken.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* fix infinite render loop, adapt component to render log metadata on log selection
* rm unused import, prevent ui from breaking when some data may be missing from an event
* update WAT create mutation to use template
* follow mutation template in delete access token mutation
* refactor naming, improve code in some areas
* rm unused mocks for msw
* skip tests - this will get fixed on the vitest PR
* Update apps/studio/components/interfaces/Settings/Logs/LogsQueryPanel.tsx
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
* fix loading compo
* rm unused import
* use correct alert title
* rm unnecessary div
* fix layout in projectpaused alert
* fix type err, refactor to new method
* rm observer
* rm observer
* refactor warehouse collections update
* use correct get method, comment out so it doesnt err
* use correct method
* fix formatting issues
* ref imports
* ref imports
* clean up imports
* clean imports
* clean imports
* rename props
* destructure props
* cleanup imports
* Update apps/studio/components/interfaces/DataWarehouse/CreateWarehouseCollection.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* ref scale class
* cleanup divs
* Update apps/studio/components/interfaces/DataWarehouse/TestCollectionDialog.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* refactor to rhf
* reuse types, cleanup, refactor to react query hooks instead of el events
* refactor table component to handle empty state
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* Update TestCollectionDialog to use unique keys for SelectItem components
* fix empty state ui
* use destructured queries
* rename query types
* Update apps/studio/components/interfaces/DataWarehouse/WarehouseAccessTokens.tsx
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
* chore: Refactor WarehouseCollectionDetail component
* rm unused imports
* rename loadolder
* rm typcast
* rhf in create token
* improve err handling
* refactor to rhf, refactor queries, use cn utils, cleanup
* fix loading logselection
* add correct type to warehouse access tokens query
* use correct types in err & clean unused types
* toggle token in curl exampel
* use product empty state component in warehouse
* add client side validation of collection name, temp fix
* add New badge
* update testcolldialog
* cleanup unnecessary div and rm double border
* code style fixes
* handle err
* code style fix
* add correct type
* add correct err type
* fix type error
* fix type err
* fix missing type
---------
Co-authored-by: TzeYiing <ty@tzeyiing.com >
Co-authored-by: Ziinc <Ziinc@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-29 10:32:46 +02:00
Joshen Lim
ae046a12f8
Update CTA for manual disk size increase beyond limit ( #23255 )
...
* Update CTA for manual disk size increase beyond limit
* Remove unused imports
* Add error handler for sql editor
* Fix clicking supabase icon button in project not closing the nav bar when entering into another project from the home page
* Update copy
2024-04-25 13:21:46 +07:00
Jonathan Summers-Muir
07a6c5ab4e
Chore/move cmdk ( #21936 )
...
* init
* fix build issues
* move deps over
* Update CommandMenuWrapper.tsx
* build fixes
* Update sitemap_www.xml
* reset
* Update sitemap_www.xml
* Update tsconfig.json
* Update package.json
* Update package.json
* Update package-lock.json
* Update package.json
2024-03-11 18:31:23 +08:00
Ivan Vasilov
5ebdd4aeb7
fix: Fix all errored queries when self-hosting studio ( #21815 )
...
* Hide the logout button in selfhosted version.
* Don't call project-eligibility-query on selfhosted version.
* Add local api handlers for self-hosting version.
* Fix a missing monaco editor file in the self-hosting version.
* Deleted an obsolete api route.
* Import the right get function.
2024-03-08 14:36:42 +01:00
Joshen Lim
5c9ab30902
Close nav bar on click link ( #21686 )
...
* Close nav bar on click link
* Remove onClick for navigationiconbutton
* If user clicked on nav icon thats within the nav bar, dont reopen until mouse left side bar once
* Fix
2024-03-04 15:05:20 +08:00
2901606b08
feat/ add log out button, and user details into user popover ( #21724 )
...
* Update NavigationBar.tsx
* small nits
* only show email if it's different from username
* Update apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-03-04 06:43:41 +00:00
Joshen Lim
7c8786b26c
Minor fixes to collapsible nav ( #21626 )
...
* Minor fixes to collapsible nav
* Revert back to 109
2024-02-28 08:11:03 +00:00
Jonathan Summers-Muir and Joshen Lim
eb5039c5e6
Feat/collapsible nav bar ( #21550 )
...
* Update IconButtons to expose all props and pass ref. Use UI lib tooltip instead.
* start making it collapsible
* Update app-state.ts
* more transition stuff
* add new icons in. add icon size control with constants
* rename component
* wordmark added
* fix up bottom options
* Update NavigationBar.tsx
* Update NavigationBar.tsx
* Update NavigationIconLink.tsx
* Update NavigationBar.tsx
* add button component
* Update NavigationBar.tsx
* Update NavigationIconButton.tsx
* Update NavigationBar.tsx
* Delete supabase-wordmark.svg
* Add key prop
* Lint classname
* Lint
* Small fixes
* Refactor some handleErrors in EQ
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-02-28 15:34:16 +08:00
Jonathan Summers-Muir
7c7b10d83d
chore: nav icons updated ( #21551 )
...
out with the old, in with the new
2024-02-26 18:10:26 +08:00
754ee55cd0
chore: update themes and add dark-new theme set ( #20865 )
...
* chore: update themes and add dark-new theme set
* chore: update
* add deep dark css theme
* fix issue with wrong class
* chore: add `bg-studio` as a custom remapped color for studio background
* updated surface classes to use a surface-75.
* update backgrounds and borders
* Update CardButton.tsx
* Update NavigationIconButton.tsx
* chore: add theme selection
* Update package.json
* Update index.ts
* Update package.json
* update alias
* Update ThemeSettings.tsx
* chore: split up theme support
* remove old code
* Update index.ts
* add back in
* Update ThemeSettingsOld.tsx
* fix issue with system theme leaking through
* reset themes
* update imports
* packagelock updated
* Update ThemeSettingsWithPreferredTheme.tsx
* Update system.svg
* Update NavigationIconButton.tsx
* Update NavigationBar.tsx
* update
* Update light.css
* updated some colors
* light mode updated
* hacked
* prettier
---------
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2024-02-15 16:56:18 +01:00
Joshen Lim
21aa23ceae
Chore/cleanup feature flags 140224 ( #21249 )
...
* Clean up auth related feature flags
* Clean up databaseUpgrades flag
* More flags clean upo
2024-02-14 17:17:18 +08:00
Prajwal Patil and Jordi Enric
4a05713bf6
Fix layout shift caused by scrollbar ( #20164 )
...
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com >
2024-01-04 18:20:02 +00:00
Jordi Enric
eb73abd56d
Fix Navbar unusable in smaller res screens ( #20154 )
...
fix overflow in navbar
2024-01-04 09:48:09 -03:30
Ivan Vasilov
fdfdb5282b
chore: Remove released feature flags ( #19917 )
...
* Remove roleImpersonation flag.
* Remove realtimeDashboard.
* Fix forgotten uses of the role impersonation flag.
2023-12-26 10:35:20 +01:00
Joshen Lim
453c769963
Chore/sql editor ai self host ( #19649 )
...
* Remove feature flag for sqlEditorSupabaseAI
* Skip hipaa addon check for self hosted
2023-12-13 14:27:08 +07:00
Alaister Young
42164183f2
fix: add missing asChild props ( #19456 )
...
* fix: add missing asChild props
* move csvlink outside of dropdown trigger
* fix incorrect merge
2023-12-06 21:11:32 +11:00
Francesco Sansalvadore and Jonathan 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 Vasilov
436bdb10ae
chore: Move the studio app to apps/studio ( #18915 )
...
* Move all studio files from /studio to /apps/studio.
* Move studio specific prettier ignores.
* Fix the ui references from studio.
* Fix the css imports.
* Fix all package.json issues.
* Fix the prettier setup for the studio app.
* Add .turbo folder to prettierignore.
* Fix the github workflows.
2023-11-15 12:38:55 +01:00