Jordi Enric and Joshen Lim
6e91494b16
Add coveralls integration ( #35424 )
...
* update gh action, update vitest config
* debug
* debug cov
* idk try something different
* test2
* test3
* add base path
* rm debug
* add apiAuthenticate tests
* supabaseClient tests
* apiWrappers tests
* add apiHelpers tests
* add configcat tests
* add formatSql tests
* add github tests
* add cloudprovider utils tests
* add helpers tests
* fix typeerr
* add missing readonly err
* fix typeerrrs
* fix type errors in apiWrapper tests
* fix apiHelpers test
* add packages/ui tests
* add coveralls flags
* try coveralls parallel config
* fix coveralls parallel config
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-05-08 12:23:37 +02:00
Andrew Valleteau
31aad403de
fix(studio): early fail query when x-connection-encrypted is invalid ( #35331 )
...
* fix(studio): early fail query when x-connection-encrypted is invalid
* fix(studio): uniformize readDatabase and projectDetails connString handling
* chore: update api types
* chore: add connectionString null option
* fix: only enforce x-connection-encrypted on platform
* chore: refactor connString check in a single point
* chore: fix guard logic
* chore: fix pgMetaGuard
* chore: fix types
2025-05-08 12:11:03 +02:00
Alaister Young and Kevin Grüneberg
47159cad86
fix: log drain pricing info ( #35514 )
...
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-05-07 12:12:49 +08:00
Charis
badcf17f70
feat(content api): add client library api reference search results ( #35484 )
...
* feat(content api): add client library api reference search results
Allow searchDocs results to also return function references from the
client library APIs
* fix(content api): refine language enum handling
2025-05-06 13:11:29 -04:00
3c588294a6
Improve Integration Test Setup and re-add LogPreviewer tests ( #35358 )
...
* fix logs previewer and msw
* refactor api mocking for better dx
* update readme
* comment out error handler for vitest
* rm unnecessary tests
* fix custom render nuqs type
* add logs search test
* rm unnecessary import
* update readme with customRender and customRednerHook
* rm unnecessary api handler
* Move the NODE_ENV to the studio build command in turbo.json.
* Update apps/studio/tests/README.md
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
* add cursor rule
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-05-06 09:50:56 +02:00
Pamela Chia
ef963356ae
fix: add missing groups to events ( #35437 )
2025-05-06 11:38:50 +08:00
Charis
475beb0524
chore (db): update database types generated from db schema ( #35289 )
2025-05-05 18:17:35 +00:00
Francesco Sansalvadore and Alaister Young
a4cfcd9b2e
global user dropdown in docs and www ( #35063 )
...
* docs: user nav dropdown
* www: user dropdown nav
* update menus
* chore: add complete local storage allowlist
* move all local-storage to common
* reload after logOut
* add local storage key changes from #35175
* fix errors
* add more keys
* fix merge bugs
---------
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-05-05 11:48:06 +02:00
Jonathan Summers-Muir
2ed4ef7cf7
Chore/related items support form ( #35070 )
...
* Update FormLayout.tsx
* Update SupportFormV2.tsx
* Update SupportFormV2.tsx
* Update SupportFormV2.tsx
2025-05-05 13:36:19 +08:00
2b419c70a1
chore: add usercentrics for consent management ( #35384 )
...
* chore: add usercentrics for consent management
* client component to make next.js happy
* address feedback
* move consent state to common
* fix import
* ensure page events are sent correctly
* add feature flag provider to ui library site
* fix ui lib 500 error
* skip in test env
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Jordi Enric <jordi.err@gmail.com >
2025-05-05 13:18:48 +08:00
Kevin Grüneberg
12ba4da4a5
feat: groundwork for larger instance sizes ( #35373 )
2025-05-02 15:45:03 +07:00
Saxon Fletcher
3aadc009e6
feat: billing address, name and tax id for org creation/upgrade ( #34922 )
...
We currently get support requests about adding or amending invoices due to no billing address being set. Changes in this PR:
- Unify tax id and billing address into a single form
- Add ability to set billing name that diverges from org name
- Add ability to set billing address & tax id during org creation (only paid plans)
- Add ability to set billing address & tax id during plan upgrade
2025-05-02 10:10:41 +08:00
Pamela Chia
38173acc34
fix: error when telemetry groups unknown ( #35403 )
2025-05-01 19:24:39 +08:00
Charis
4466b9e262
revert(ui-patterns): admonition link underline ( #35387 )
...
Admonition link underline was added when admonitions were not "prose",
but admonitions are now "prose" again so it is redundant
2025-04-30 13:14:49 -04:00
Jonathan Summers-Muir
36d3847f74
align alert dialog to design syste, ( #35272 )
2025-04-28 19:16:08 +08:00
divit
29fc5a7a82
feat: re enable east US ( #35319 )
2025-04-28 06:16:05 +00:00
divit
634f86d2d6
feat: disable us east and change default to us west ( #35296 )
2025-04-26 07:15:11 +00:00
Charis
30b6af4ff3
fix (docs): non-platform integrations page ( #35285 )
...
There were two bugs when trying to run the integrations page locally
with NEXT_PUBLIC_IS_PLATFORM=false:
1. The IS_PLATFORM check imported from common was not evaluating
correctly to a boolean. This is because I slapped a 'use client' on the
entire common package last year -_-""" which caused all its imports to
be evaluated to functions when used in server components. I have now
moved the 'use client's down to the submodules that actually need it.
2. When the integrations submenu is empty, the navigation menu errors
out because it expects all navigation items to either have children or
have links. Have updated this to gracefully hide empty headers.
2025-04-25 15:22:06 -04:00
Ivan Vasilov and Joshen Lim
a915f3d7e7
fix: Delay the autofocus of the input in a treeview ( #35270 )
...
* Remove leftover resizable group which weren't interactive.
* Put the input focus in a setTimeout.
* Alternative solution
* Small fix
* Bump threshold to 400ms
* Final fix, hopefully.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-25 18:37:41 +02:00
Saxon Fletcher and Jonathan Summers-Muir
98ae279a2b
Add's a filter bar component to design system ( #35238 )
...
* add filter bar component
* update filter bar demo
* add custom component support
* filter bar component
* example filter bar in use
* remove search filter
* reinstate older filter bar
* revert
* update registry
* update example name
* clean up example imports
* Update FilterBar.tsx
---------
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com >
2025-04-25 15:11:28 +08:00
Ivan Vasilov and Greg Richardson
1d2418ee85
chore: Skip building of libpg-query ( #35255 )
...
* Don't build libpg-query package.
* Use the WASM build of libpg-query in ai-commands.
* Fix missing mdast type.
* fix: wasm loading in ai-commands tests
* fix: better polyfill
* Make the sql-to-rest page to be client-side only.
---------
Co-authored-by: Greg Richardson <greg.nmr@gmail.com >
2025-04-24 22:26:19 +02:00
Francesco Sansalvadore
495cff3df0
remove lw14 promos ( #35253 )
...
remove lw14 promo
2025-04-24 10:33:39 -07:00
Ivan Vasilov and Pamela Chia
77304a4c56
chore: Add two new events for the submit form ( #35199 )
...
* Add two new support events and use them in the Studio UI.
* fix: move verb to end
* fix groups instead of properties
* fix groups in event
* Fix the no_project case when sending an event.
* Fix a React warning about setting a prop on Fragment.
* Fix the project ref when sending an event.
---------
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com >
2025-04-24 13:28:55 +02:00
Ivan Vasilov
8a321126ac
chore: Clean dead code in ui package ( #35093 )
...
* Clean up unneeded files and exports in packages/ui.
* Fix references to LogoLoader.
* Import SimpleCodeblock directly from ui package.
2025-04-24 12:24:12 +02:00
Ivan Vasilov
f504436af7
chore: Bump version of monaco editor ( #35207 )
...
* Bump monaco editor to 0.52.2
* Bump the cloudflare loaded instances of monaco.
* Fix the types.
2025-04-23 11:32:44 +07:00
Joshen Lim
6794f4c6eb
Chore/prepare org nav rollout ( #35175 )
...
* Support default opt in feature previews via feature flag
* Add notice banner in /org/[slug] and /organizations if user is opted into the changes by default
* Clean up
* Update copy
2025-04-22 12:41:39 +07:00
Joshen Lim
c53b53a634
Prevent sidebar jitter for expand on hover ( #35171 )
2025-04-21 17:06:25 +07:00
Joshen Lim
566cc3ea75
Fix CodeBlock component allowing users to backspace content when it should be readonly ( #35119 )
...
Fix CodeBlock component allowing users to backspace content when it should be read only
2025-04-21 16:31:41 +07:00
Paul Cioanca and Joshen Lim
80edc92c62
feat: expose database upgrade logs to end-users ( #27924 )
...
* feat: expose pg_upgrade logs to end-users
* chore: don't display database operations group if deployed on the platform
* chore: remove log file from schemas
* chore: bring changes up to date
* Fix layout
* Refactor
* Clean up
* Check if using DefaultPreviewSelectionRenderer is sufficient
* Clean up file
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-21 11:45:48 +07:00
Kevin Grüneberg
173cc56e71
feat: expose project perms to team plan ( #35007 )
2025-04-21 10:05:54 +08:00
hallidayo and Charis Lam
fbc48bf8f2
docs: ionic vue update ( #35103 )
...
* initial app without storage
* code tab typo
* format
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2025-04-17 22:53:28 +00:00
Andrew Valleteau
c0bddbba9a
fix(table-editor): use CTE optimization for table-editor selection ( #35071 )
...
* fix(table-editor): use CTE optimization for table-editor selection
* chore: add comments
2025-04-17 12:47:16 +08:00
Ivan Vasilov
326c7535f6
chore: Bump vulnerable deps. ( #34395 )
...
* Bump all testing libs to force babel to upgrade itself.
* Remove react-hooks package, it's included in @testing-library/react.
* Add await to all useEvent calls.
* Remove duplicate babel/helpers.
* Deduplicate babel/core.
* Bump vite to non-vuln version.
* Bump estree-util-value-to-estree.
2025-04-16 10:02:06 +02:00
Ivan Vasilov
eadff19571
chore: Bump React to 18.3+ ( #35029 )
...
* Bump react and react-dom to 18.3+.
* Add tailwind to ui package to silence a peer dep warning.
2025-04-15 17:07:53 +02:00
Joshen Lim
a4d5af48c8
Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu ( #35027 )
...
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Downgrade and fix radix dialog version to 1.0.5, and remove unnecessary modal props from all usages of DropdownMenu
* Fix PopoverPOrtal
* Fix
2025-04-15 17:29:32 +08:00
Stojan Dimitrovski
2086b5d60f
fix: tweet that says in beta ( #35001 )
2025-04-14 10:30:56 -02:30
Kevin Grüneberg
d05bbb669f
perf: use subscription plan from org response ( #34993 )
2025-04-14 20:37:19 +08:00
Terry Sutton and Joshen Lim
9f6faa65bb
Fix toggling of roles apply to all projects ( #34871 )
...
* Store initial state
* fixes
* Minor
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-11 10:41:07 +08:00
Kamil Ogórek
c3a352331a
ref: Fix all API types after Zod migration ( #34903 )
2025-04-11 10:28:08 +08:00
Lakshan Perera
e4e3668cc9
fix: Update function docs to include platform limits + remove them from pricing page ( #34850 )
...
* fix: add number of functions to pricing page
* fix: move the function limits to docs
2025-04-10 15:27:45 +08:00
Jonathan Summers-Muir
92fd3d7eae
fix: remove cursor-pointer from dropdown-menu ( #34880 )
2025-04-10 14:21:57 +08:00
f07a3947c7
Added Bree case study ( #34834 )
...
* Added Bree case study
* Added an Admonition
* ci: Autofix updates from GitHub workflow
* fix closing tag
* rss
* Replaced links with relative links
* prettify
* Fixed Bree customer logos
* Fixed a typo in Bree company description
---------
Co-authored-by: pamelachia <26612111+pamelachia@users.noreply.github.com >
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com >
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com >
2025-04-09 16:13:53 +01:00
Joshen Lim
09c6f0aa2c
DropdownMenu component modal prop default to false, but allow passing prop value ( #34846 )
...
* DropdownMenu component modal prop default to false, but allow passing prop value
* Smol fix for advisor
2025-04-09 13:59:57 +08:00
Jonathan Summers-Muir
0f9a915092
Revert code style in tailwind ( #34835 )
...
Update tailwind.config.js
2025-04-08 16:19:31 +00:00
Joshen Lim
3ed76f05d1
Remove hard coded modal false in dropdown-menu ( #34829 )
2025-04-08 19:52:05 +08:00
Kevin Grüneberg
4532286e04
fix: align with API types ( #34821 )
...
* fix: align with API types
* Update new-project.constants.ts
2025-04-08 17:17:35 +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
Francesco Sansalvadore
cb30f7be2d
end of lw14 ( #34791 )
...
end lw14
2025-04-07 10:55:41 +00:00
Jonathan Summers-Muir and Joshen Lim
aefb34fd9c
Feat: Adds Oauth client management ( #34591 )
...
* adds Oauth client update
* moar
* Update OAuthSecrets.tsx
* Fix TS issues
* moar
* Minor refactors
* Minor refactors
* Tidy up
* Clean up
* Clean up
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-04-07 17:43:46 +08:00
Kamil Ogórek
85168d86f7
ref: Use update-status endpoint for jwt secret queries ( #34611 )
2025-04-07 17:36:49 +08:00