Danny White and Joshen Lim
031b227165
studio(chore): badge component defrag ( #40118 )
...
* component clean up
* optically center
* docs and type size
* code badge variant
* sensible defaults
* fix product menu flex
* badge sweep
* new project badges
* logs
* compute badge
* studio badge sweep
* www sweep
* docs sweep
* clean up
* fixes
* cleanup
* fixes
* better docs
* fixes
* misc fixes
* consistency
* Minor fixes for issues i found
* simplify mt-0
* mt simplification
* remaining optical alignment
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-12-02 11:15:50 +11:00
Joshen Lim
b6c57fb2ed
Hide cmd k keyboard shortcut if disabled in account pref ( #40332 )
2025-11-12 19:58:54 +08:00
Francesco Sansalvadore
ddd1dbc09f
Studio: add CommandMenu trigger in top nav ( #40011 )
...
* add CommandMenuTriggerInput in top nav in studio
* uniform command trigger in top nav
2025-11-10 11:43:50 +01:00
c63d2a92a0
Unify Inbox and Advisor ( #40026 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* advisor sidebar manager
* empty state and notice
* event tracking
* remove variable
* remove use effect
* open in sidebar
* use sidebar old home
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* fix
* initial prompt
* fix(inline editor button): only show keyboard shortcut if hotkey active
* cleanup(advisor panel): minor code cleanup
* fix(advisor panel): misplaced key on list
* fix(advisor panel): add error state
* fix(advisor panel): improve a11y
* fix(advisor panel): cannot find selected item
* fix
* fix
* tooltip
* link
* sidebar move up
* merge inbox
* project/org sidebars
* panels
* clean
* fix use effect
* layoutheader export
* fix
* ts
* prettier
* tests
* remove markdown
* remove org and project filters from state
* text link
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix
* prettier
* remove files
* bump limit
* noop
* format
* remove notifications on self hosted
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-11-07 15:01:53 +10:00
Joshen Lim
75e1717a02
Remove barrel files part 02 ( #39956 )
...
* Remove barrel files part 02
* Clean up
2025-10-30 23:50:14 +08:00
d10001b7a7
Advisor sidebar manager ( #39889 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* advisor sidebar manager
* empty state and notice
* event tracking
* remove variable
* remove use effect
* open in sidebar
* use sidebar old home
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* fix
* initial prompt
* fix(inline editor button): only show keyboard shortcut if hotkey active
* cleanup(advisor panel): minor code cleanup
* fix(advisor panel): misplaced key on list
* fix(advisor panel): add error state
* fix(advisor panel): improve a11y
* fix(advisor panel): cannot find selected item
* fix
* fix
* tooltip
* link
* sidebar move up
* LayoutSidebarProvider to only sendEvent if in a project
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-30 17:43:02 +10:00
e27602f629
Editor sidebar manager ( #39834 )
...
* sidebar-manager
* storage keys
* tests
* more ai spots
* test fix
* revert to default
* remove ref
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix ts
* fix
* fux
* fux query param
* clean
* fix
* more
* mock local storage
* simplify
* remove provider test
* remve useopensidebar
* fix(new homepage): open ai assistant on advisor card button clicks
* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* refine
* editor sidebar manager
* reset results
* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* connect hotkey
* initial prompt
* fix(editor sidebar): disable hotkey based on user preference
* cleanup(inline editor): add migration for hotkey local storage key
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2025-10-29 08:45:07 +10:00
Charis and Joshen Lim
3eb7da7766
feat(preferences): allow disable hotkeys ( #39573 )
...
* feat(preferences): allow disable hotkeys
Add a section in /account/me for disabling hotkeys. Only added one
hotkey for now (Cmd + E for toggling editor side panel) but we can add
more with the same pattern.
* refactor: remove default export on ProjectLayout
* feat(hotkeys): allow toggling of command menu and ai assistant hotkeys
* Nit
* PRettier lint
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-17 08:09:38 -04:00
Charis and Joshen Lim
1b8c8b7398
fix(feedback): generate image urls on backend ( #39559 )
...
* fix(feedback): generate image urls on backend
* Fix support form skip generate attachment urls if no attachments
* Refactor to use useLocalStorageQuery
* Nit
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-16 12:52:05 +08:00
Joshen Lim
0f4fc7eee9
Chore/projects pagination part 04 ( #39348 )
...
* CmdK OrgProjectSwitcher to swap useProjectsQuery with useProjectsInfiniteQuery
* Remove usage of useProjectsQuery in ProjectDropdown
* Remove usage of useProjectsQuery in NotificationsPopover
* Remove usage of useProjectsQuery in NotificationsFilter
* Remove usage of useProjectsQuery from LoadingState
* Clean
* Remove usage of getProjects from org-ai-details and fix missing key props in AIOnboarding
* Remove useAutoProjectsPrefetch from org/[slug]/index
* Fix TS + clean up
* Clean
* Remove usage of useProjectsQuery in NewOrgForm
2025-10-08 21:42:49 +08:00
kemal.earth
0fadb11560
feat(studio): account area ui updates ( #38006 )
...
* feat: quick prototype of account area
Update to the layout of the account area. Small prototype yolo.
* fix: prettier warnings
* feat: fix back button to bottom of sidebar
* feat: handle back button on desktop and mobile
* chore: run prettier
2025-08-21 13:40:02 +01:00
Saxon Fletcher and Joshen Lim
a224598f1e
Decouple editor panel ( #37707 )
...
* decouple editor panel from global state
* refactor again
* dont close assistant
* remove async
* onsave props
* Fix TS errors
* Remove editorPanel state from app-state, use useHotKey hooks for keyboard shortcuts
* Minor UX improvements to EditorPanel
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-08-06 15:03:53 +07:00
Joshen Lim
cab0585533
Fe 1799/consolidate to useselectedprojectquery and ( #37684 )
...
* Replace all usage of useProjectContext with useSelectedProjectQuery
* Replace all usage of useSelectedProject with useSelectedProjectQuery
* Replace all usage of useProjectByRef with useProjectByRefQuery
* Replace all usage of useSelectedOrganization with useSelectedOrganizationQuery
* Deprecate useSelectedProject, useSelectedOrganization, and useProjectByRef hooks
* Deprecate ProjecContext
2025-08-06 10:53:10 +07:00
Saxon Fletcher and Joshen Lim
c9458e33a3
add merge request button to header ( #37188 )
...
* add merge request button to header
* hide merge button behind branching 2 enabled flag
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-07-16 14:00:50 +08:00
Joshen Lim
b4717e1787
Some fixes for local studio ( #37147 )
2025-07-15 17:22:23 +08:00
3f3ed433fc
Remove enable branching modal ( #36458 )
...
* remove enable branching modal
* re-add github linker
* abstract away enable and disable
* toggle fixes
* update logic to lean on connection status
* update form logic
* sheet layout
* gitless flag
* fix side panel size
* copy changes
* remove import
* add cost
* allow connection details on create
* Fix TS issues
* Fix TS issues
* Couple of clean ups
* Revert hardcode in useFlag
* Fix TS
* layout issues and github check
* refactor
* refactor to use new field
* cleanup
* style
* clarification with github integration
* replace branch dropdown button
* update repo picker
* remove modal
* change defaults
* disable if not gitless and no connection
* fixes
* prevent editing on child branch
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-07-02 21:58:45 +10:00
Joshen Lim
eec376d1c6
Reinstate inline editor and assistant for local CLI and self host ( #36335 )
2025-06-12 02:01:08 +08:00
Saxon Fletcher and Alaister Young
c4cb660903
Slight tweaks to toolbar icons ( #36269 )
...
* layout header icon styles
* Update packages/ui/src/layout/ai-icon-animation/ai-icon-animation.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2025-06-09 21:54:27 +10:00
Joshen Lim
fd98a08a4f
Chore/default to new organization layout ( #35515 )
...
* Default to new organization layout + remove feature preview
* Remove feature preview
* Clean up LayoutUpdateBanner
* Clean up
* Fix
* Fixy fix
* Update comment
* Nit to fix layout shift
2025-05-13 11:25:35 +08:00
Jonathan Summers-Muir and Joshen Lim
08e5abc64a
Chore: Support form | support access true as default ( #35066 )
...
* Update SupportFormV2.tsx
* Fix TS
* Update SupportFormV2.tsx
* Update SupportFormV2.tsx
* Small refactor after checking preview
* Clean up
* remove div
* Fix after merging master
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-16 21:10:47 +08:00
Francesco Sansalvadore
be2c3ccaf8
restore mobile sub navigation ( #35058 )
2025-04-16 10:16:23 -02:30
Joshen Lim
fd10704cc1
Make feature preview available + Fix up Connect UI for local self-host ( #35060 )
...
* Make feature preview available for local self-host
* Fix up Connect UI for local / self-host
* Fix
* Fix
* Fix
2025-04-16 19:35:09 +08:00
Kevin Grüneberg
d05bbb669f
perf: use subscription plan from org response ( #34993 )
2025-04-14 20:37:19 +08:00
Han Qiao and Joshen Lim
698e585a65
feat: fetch beta cli release version ( #34923 )
...
* feat: fetch beta cli release version
* Small refactors
* Fix
* Fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-14 16:20:03 +08:00
Joshen Lim
f7fbd6a4ca
Fix mobile nav menu for org nav layout ( #34990 )
2025-04-14 15:58:27 +08:00
Saxon Fletcher and Joshen Lim
c7378b0bf5
remove flag for just accessing inline editor ( #34849 )
...
* remove flag for just accessing inline editor
* remove feature flag in header
* clean up
* fix
* Tiny tiny style fix
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-09 14:42:15 +08:00
Joshen Lim
ec7e80bbef
Add studio version in header for local self host ( #34018 )
...
* Add studio version in header for local self host
* Fix
* Address feedback
* Fix
* Remove Docker Hub context, everything is CLI
* Update to use CLI version as the comparator instead of docker image version
* Fix
2025-04-08 18:06:48 +08:00
fb24d91305
Feat/ Org layout ( #33150 )
...
* update test
* move back button, fix width issues on sidebar
* update sidebar logic
* Update ProjectLayout.tsx
* lots of updates. layouts now streamlined. localstorage for tabs in use
* moar
* bunch of new tab logic
* fix empty tab issue
* Update tabs.ts
* layouts switched
* new pages now have fixed layouts
* fix tabs
* fix code bg
* add tabs support for multiple project refs
* intialization issue
* update ID handling
* fixed isOpened state for SQL snippets
* remove old assistant because its bugging up panels
* preview style works in sql editor
* fix border
* removes preview tab if there is one
* fix background of loading skeleton
* lots of issues with types/icons/redirect
* new tab cards
* snippets in empty state now work
* moar stuff
* tabs now in feature flags
* Update tabs.ts
* Update tabs.ts
* moar
* add feature previews
* remove code not needed
* Update next-env.d.ts
* Delete FeaturePreviewModal.tsx
* fix typescript errors. remove more explorer stuff
* remove explorer files
* fixed issues with templates and quickstarts tab
* fixed active state when tabs are not opted in
* logic error
* fix open/highlight issue when opted out of tabs
* templates/quickstarts now displayed with new cards
* Update recent-items.tsx
* Update new-tab.tsx
* add icon back in
* add old empty state back in
* recent items updated to respect project ref
* localstorage cleanup on deletion
* moar
* overflow tabs now working
* correct tab names used for new sql templates/quickstarts
* ongoing queries fix
* cleanup
* update images
* Update RouteValidationWrapper.tsx
* Update AppLayout.tsx
* Update NavigationBar.tsx
* add headers back into side panels
* improve writing
* tabs now drag and drop a billion times better
* Update tabs.tsx
* Update tabs.tsx
* init issues on stores, which caused a race condition.
* fix hydration error
* init
* init sidebars
* init
* Update app-default-navigation.tsx
* user dropdown updates
* moar layouts
* init
* moar
* moar
* updat
* reverse top bar
* some banners
* moar
* start adding account page
* change styling of dropdowns
* Update sidebar.tsx
* fix new tab issue in sql
* Update ProjectLayout.tsx
* Update pnpm-lock.yaml
* latest
* Update pnpm-lock.yaml
* moar layouts on account
* getLayout updates
* more fixes
* force a cache build
* moar
* Update app-default-navigation.tsx
* fix AI button animation
* moar layout
* account pages refactored
* Update user-dropdown.tsx
* Update new-tab.tsx
* move EditorMenuListSkeleton
* Fix type issues
* fixes: DESIGN-87
fixes: DESIGN-87
* refactor sort/filter components
* Update rules-set-button-text.tsx
* remove discussions for now
* small styling fixes
* Update FeaturePreviewModal.tsx
* Update FeaturePreviewModal.tsx
* Update RouteValidationWrapper.tsx
* revert
* revert
* revert
* revert
* revert
* more revert
* Update collapse-button.tsx
* Update SQLEditorTreeViewItem.tsx
* revert
* Update SchemaGraph.tsx
* Delete new-upcoming.tsx
* revert
* Update ProjectLayout.tsx
* fix home link
* Update table-editor.spec.ts
* test update
* Update projects.tsx
* remove
* Delete sidebar-open-top-banner.tsx
* add organizations page
* Update table-editor.spec.ts
* Fix the playwright tests.
* layout fixes
* layout fix
* revert sort/filter
* Update LastSignInWrapper.tsx
* revert
* revert
* remove
* update file names
* revert
* revert
* revert
* advisor lint page tabs revert
* revert
* revert
* revert
* revert
* revert
* revert tabs
* remove packages
* add sidebar
* sidebar docs added
* add sidebar
* fixed issues
* fix mobile
* fixes
* add org side bar in
* redirect updated
* fix more layouts
* move settings icon back down
* remove old stuff
* Delete SideBar.tsx
* use ProfileImage component
* spelling
* Update ThemeSettings.tsx
* Update ThemeSettings.tsx
* Update Sidebar.tsx
* layout udpate
* Update Sidebar.tsx
* fixes
* Minor lints
* Update Sidebar.tsx
* create a alt user dropdown for self hosting and local
* add fragment back in
* Adds Theme Selector for local/self hosting
* Update UserDropdown.tsx
* fix theme selector for local self host
* Update index.ts
* Update DefaultLayout.tsx
* now supports feature preview
* remove old files
* rename files
* revert
* Update LayoutHeader.tsx
* clean
* revert
* revert
* Update resource-banner.tsx
* remove redundant side bar stuff
* organizations action bar updated. removed hardcoded value
* fix type errors
* fix tests
* Undo test changes
* Fix account pages for when feature preview is off
* Bug fixes 1
* Missing key in map of EmailTemplates
* Fix missing border in StorageExplorer
* fix missing header in performance advisor
* Final clean up
* Fix DefaultLayout re-rendering issue on auth pages
* A couple of fixes
* Redirect to /organizations if land on /projects with feature preview on
* Route back to /projects if toggling preview off on /organizations
* Add HomePageActions to /org/slug
* make re-routing nicer
* Moar fixes
* Fix logging in redirect to /organizations irregardless of feature preview
* Fix missing withAuth in OrganizationLayout
* Minor clean upo
* Fix branch dropdown not aligned
* Add feature preview for update layout
* update dropdowns to only be chevron triggered in new layout
* Update content-query.ts
* Update entity-types-infinite-query.ts
* add IS_PLATFORM for org dropdown
* Add IS_PLATFORM check for EnableBranchingDropdown in LayoutHeader
* Midway fixing mobile nav
* Mobile nav fixes
* Address feedbacks
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-04-08 11:32:29 +08:00
Jonathan Summers-Muir and Joshen Lim
5816d6fd0a
Feat/sidebar studio ( #33612 )
...
* add sidebar
* sidebar docs added
* add sidebar
* fixed issues
* fix mobile
* move settings icon back down
* remove old stuff
* Delete SideBar.tsx
* use ProfileImage component
* spelling
* Update ThemeSettings.tsx
* Update ThemeSettings.tsx
* Update Sidebar.tsx
* layout udpate
* Update Sidebar.tsx
* fixes
* Minor lints
* Update Sidebar.tsx
* create a alt user dropdown for self hosting and local
* add fragment back in
* Adds Theme Selector for local/self hosting
* Update UserDropdown.tsx
* fix theme selector for local self host
* Update index.ts
* move dropdown and fix
* Update LayoutHeader.tsx
* update const
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-25 07:28:03 +00:00
Saxon Fletcher and Joshen Lim
28fe5811de
Inline editor feature preview ( #33541 )
...
* add edge function knowledge
* deploy edge function mutaton
* add edge function block with deploy
* update function url
* update tools
* editor sql
* add templates
* use monaco editor
* hook up templates
* fixes
* add behind feature flag
* preview docs
* move editor
* initialPrompt
* consolidate widgets
* remove generic editor
* move logic
* fix ts
* include schema metadata
* Fix width of save snippet button
* Set tooltip position
* Use inlineLink component
* Remove unnecessary z index
* Lint
* Lint import statements in EditorPanel
* fixes
* fix keyboard shortcut
* show/hide results and invalidation
* fix focus issues in widget
* fixes
* fix ts
* Support cmd enter shortcut to run query in InlineEditor
* Update InlineEditorPreview to use admonition
* prompt updates
* add discussion url to preview
* schemas array
* One last clean up
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-19 14:58:58 +10:00
Jonathan Summers-Muir
0795ca97c1
fix: header logo in org pages ( #33681 )
...
Update LayoutHeader.tsx
2025-02-18 19:23:53 +08:00
dff6c817ae
Chore/assistant in self hosted ( #33422 )
...
* Add layoutheader to self-hosted to allow showing assistant
* Fix layout
* Remove debug checks
* Check for key
* Dont load tables
* Fix assistant error handling
* Yeet
* Update turbo.json
* Another one
* god
* Fix
* Add fallback
* last attempt to fix
* Clean up
* take the wheel
* Tiny fix
* Skip enrich query for local, to match prod
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-18 17:37:53 +08:00
Jonathan Summers-Muir and Ivan Vasilov
a09ffd0104
Feat/get layout - Project pages updated to use getLayout ( #33365 )
...
* Update AppBannerWrapper.tsx
* full width header layout
* layout fixing for sign in pages
* update
* init
* Update app-state.ts
* Update ProjectLayout.tsx
* init project pages
* Update LayoutHeader.tsx
* sign in layout fixed
* Update AppBannerWrapper.tsx
* Update AppBannerWrapper.tsx
* update
* Update DefaultLayout.tsx
* Update WithSidebar.tsx
* Update ProjectLayout.tsx
* Update DefaultLayout.tsx
* layout header updatefix header
* add fragment back in
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
* Remove ProjectContextFromParams component (duplicate to ProjectContextProvider).
* Fix the loading state of SignInMfa page.
* Update sign-in-fly-tos.tsx
* Update ProjectLayout.tsx
* Update ProjectLayout.tsx
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2025-02-07 15:00:02 +08:00
Jonathan Summers-Muir and Joshen Lim
dc9376106e
Feat/header bar ( #33353 )
...
* Update AppBannerWrapper.tsx
* full width header layout
* layout fixing for sign in pages
* update
* Fix
* Add defaultSize prop to resizablePanel
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-02-06 15:46:39 +08:00
Jonathan Summers-Muir
3dd5bd8b25
Chore/mobile sheet app state ( #33361 )
...
* init
* Update app-state.ts
* Update ProjectLayout.tsx
2025-02-06 15:10:35 +08:00
Francesco Sansalvadore
ecd181bcd9
studio mobile v2 ( #32630 )
...
* improve some studio mobile layouts
* improve some studio mobile layouts
* improve settings
* assistant mobile
* assistant mobile
* assistant mobile
* responsive formlayout and new project layout
* improve dashboard pages headers
* improve dashboard auth pages
* mobile org settings
* mobile billing fixes
* adjust paused project container height
* remove comments
* triggers
* leftovers
* ai assistant
* fix errors
* remove 16px input size
* fix test
* merge access tokens settings page conflicsts
* smol integrations here and there
2025-01-17 19:07:35 +01:00
Joshen Lim
1331cc8b63
Remove connectDialogUpdate flag and clean up old connection string components ( #32613 )
...
* Remove connectDialogUpdate flag and clean up old connection string components
* Fix
2025-01-07 15:19:39 +07:00
Alaister Young
dacdddc257
fix: overflow-x-auto ( #31391 )
2024-12-28 06:23:28 +08:00
Francesco Sansalvadore
0035920bf1
feat: studio mobile nav ( #31080 )
...
* SheetProvider in studio
* mobile global nav
* view sub navigation
* fix ProjectLayout conditional
* Account mobile layout
* width
* hide
* layout
* overflow
* responsive button
* overflow
* fix mobile nav if IS_PLATFORM
* refactor
* hide if no content
* show command menu item on mobile
* ui-patterns sheet provider
* use client
* show if productMenu
* show if productMenu
* drag to close
* drag to close
* 16px input fontsize on inputs to avoid zoom on mobile
* offscreen test element
* offscreen test element
* offscreen test element
* update test
* update test
* update test
* pb
* test?
* test
* test
* test
* spec-click-target
* remove console
* remove unused import
* add dependency to sheet content
* close sheet on router.asPath change
* remove provider and use simple Sheet
* update sidebar mobile
* align labels
* avoid input zoom on mobile
* remove yo
2024-12-16 10:49:17 -04:00
Jonathan Summers-Muir
c05123a9c0
move button ( #31036 )
2024-12-10 14:29:56 +08:00
f650b5ae67
Feat/connection string revamp ( #30572 )
...
* add new page
* moar
* moar
* added icons
* improve icons
* moved connect dialog to main header
* update text
* smaller screen support
* moar
* add python and sqlalchemyString
* moar
* add IPv4 warning
* moar
* Delete pooler-icons-v2.tsx
* tidy
* Delete DatabaseSettings.tsx
* tidy
* tidy
* moar. Session pooler is de-prioritized
* Update DatabaseConnectionString.tsx
* type issue
* moar
* Update DatabaseConnectionString.tsx
* Spelling
* Clean up LayoutHeader
* Clean up ConnectionPanel
* Clean up ConnectionParameters
* Last batch of clean up
* Fix loading state padding
* Shift old Connect files to new Connect folder outside of Home
* Final clean up
* Smol fix
* FIX
* Fix button link
* Fixes
* Lint
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-12-05 17:23:14 +08:00
Joshen Lim
d88cb12794
Remove assistant V2 from feature preview ( #30779 )
...
* Remove assistant V2 from feature preview
* Hide fix with assistant button in rls editor
2024-12-02 22:03:31 +08:00
Saxon Fletcher and Joshen Lim
fcfc1cf38f
Assistant refinements ( #30759 )
...
* message enter
* auth prompt
* style changes to message
* header assistant button
* more auth prompt
* prompt
* prompt user refine
* iteration of read only
* Add basic tests for AIAssistant.utils
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-12-02 14:46:11 +08:00
Joshen Lim and Saxon Fletcher
12d92aed99
Assistant V2 ( #30523 )
...
* start
* added panels
* remove stuff
* fixes and refinements
* clean up
* remove old assistant panel
* resizable assistant kinda
* use icon
* Add missing package
* remove canvas
* add suggestions
* updated empty state if no tables exist
* fix table condition
* Implement diffing if using assistant in sql editor
* Reinstate old assistant in SQL editor if feature preview is off
* pane size adjustment
* assistant button corners
* Add SQL snippet content to assistant if opening assistant in sql editor
* Add the necessary checks for opt in and hipaa
* revert adding snippet to assistant when opening assistant in sql editor
* Add cmd i shortcut
* Add admonitions for when disablePrompt is toggled on, and if no api key is set. Add footer note RE rate limitation
* Bump ai package in packages
* some fixes for backwards compability depending on feature preview toggled
* Rename feature preview property for new assistant
* Smol fix
* Prevent SQL snippet from running until message is finished
* only loading last message
* fix z-index
* save chat state to global state
* add debug to failed ai queries
* Add basic contextual invalidation
* Add explain code action to SQL editor
* Add link to abort ongoing queries from SqlSnippet
* Update feature preview content
* Fix
* Fix
* Fix
* Te4st
* Fix tests
* ONly show ai button within a project
* Fix PH tracking
* Beef up a bit more event tracking
* Rough fix to padding when assistant is open
* A bit more telemetry stuff
* Update prompts
* fix rls editing via assistant
* Update generate-v3.ts
prompt to get auth schema too
* Add policy satement to assistant when editing
* Address all comments
* fixc
* Fix SqlSnippet not taking full width on larger viewports
* Adjust max width
---------
Co-authored-by: Saxon Fletcher <saxonafletcher@gmail.com >
2024-11-25 18:50:56 +08:00
Kevin Grüneberg
48d4ae0323
chore: avoid querying usage endpoint unnecessarily ( #29423 )
...
For plans with usage-based billing enabled we don't need to check whether they exceeded their quotas. We can save us that network call.
2024-09-23 15:53:51 +08:00
Jordi Enric
00385657e8
fix layout header height ( #28517 )
...
fix height
2024-08-09 22:04:01 +02:00
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
Joshen Lim
8b43a2b564
Add trims to table and column names ( #22170 )
2024-03-22 14:47:45 +07:00
Jonathan Summers-Muir
a4a4a7e26d
Deprecate old Badge component ( #22037 )
...
* Update Badge.tsx
* refactor apps with new props
* Update APIKeys.tsx
* format
* remove old code
2024-03-19 10:33:12 +01:00