Commit Graph
3481 Commits
Author SHA1 Message Date
Danny White 41afe37e27 feat(studio): clearer table row actions (#40170)
* files

* TableLink component

* triggers

* shared style instead

* remove bold

* revert medium on trigger
2025-11-06 08:56:34 +11:00
Danny White 5305a7b245 chore(studio): auth email template copywriting improvements (#40163)
* misc typo

* improve copywriting
2025-11-06 08:52:35 +11:00
Kalleby Santos 4d31c857cc fix(studio): fix column drag in empty table triggers file drop behaviour (#40189)
* fix: togling csv import only when draging files

* stamp: improve invalid file feeback

* stamp: format
2025-11-05 13:58:50 -07:00
Ali WaseemandCharis 0ec1c3810f Fix: Update sentry to ignore events that are causing noise (#40190)
* updated sentry client to support deny urls

* Update apps/studio/instrumentation-client.ts

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* updated formatting

* removed unneed extensions

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-11-05 13:50:04 -07:00
kemal.earth 817b9deeaa feat(studio): adding log drains mention to plan features (#40136)
* feat: add mention of log drains to team plan in plan selection

Adds an additional feature row to the Team Plan to mention log drains can be added for another 60 dollars

* feat: experiment with highlighing team plan

* style: minor ring adjustment
2025-11-05 16:14:04 +00:00
Ignacio Dobronich 89d556c57e chore: entitlement log retention in new interface (#40040) 2025-11-05 14:13:53 +00:00
Joshen Lim ab211a4178 Smol fix files bucket (#40179) 2025-11-05 13:56:22 +00:00
Ignacio Dobronich 0c0314662c chore: entitlement audit logs (#40022) 2025-11-05 10:11:50 -03:00
Charis a0afa9eef2 fix(table editor): request fired per column when updating table (#40160)
When updating a table with many columns, a request is fired per column,
causing potential rate-limiting.

The biggest contributor is a bug in the `comment` config of each column.
If columns have no comment, we coerce the comment to an empty string,
but our column payload diff function sees this as a difference, thus
tries to set a new comment on every column. Unfortunately this is not a
one-time issue, because Postgres considers an empty comment to be null,
and corces it back to null, and on and on we go in a giant circle.

The fix is just to not coerce to empty strings on our end.

There are a few other requests that we might be able to shave, but this
is by far the noisiest one.
2025-11-05 11:57:49 +00:00
kemal.earth 5a0e1cb1cc feat(studio): log drains entry point from logs (#40095)
* fix: field reference button padding

* fix: remove overriding button style on field ref button

* fix: tidy up the asChild stuff on side panel trigger element

* fix: bunch of type errors on logs sidebar

Theres a temp any fix in there dont kill me frontend team :D

* feat: add to new logs sidebar too

* feat: add to download dropdown menus

* chore: alphabetical order on new logs dropdown

* chore: add target blank to sheet footer

* fix: gap between buttons on old logs toolbar

* feat: add a separator on old logs

* style: new logs top buttons correct types
2025-11-05 11:19:50 +00:00
Luca Forstner d23f08e561 feat: Add possibility to remove and reauthorize GitHub connections (#40126) 2025-11-05 11:58:37 +01:00
Danny WhiteandJoshen Lim abd35216f7 chore(studio): clean up storage UI (#40164)
* copywriting updates

* remove unused file and comment

* copy tweaks

* remove stickySidebarBottom

* extraneous comment

* remove unused components

* unused image

* files policies redirect

* Update redirects for storage settings

* Fix loader for storage policies

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-05 14:57:19 +11:00
Joshen Lim 2296d747a2 Fix links in analytics buckets connection details (#40167)
* Fix links in analytics buckets connection details

* Nit lint
2025-11-05 03:01:29 +00:00
Charis c474d3dbbd fix(table row context menu): hide actions and separators on protected schemas (#40159)
Protected schemas shouldn't have the "Edit row" and "Delete row"
actions.
2025-11-04 16:23:39 -05:00
Charis 297822b0b7 fix(logout): don't use returnTo on sign-in page if user intentionally logs out (#40155)
When user logs out from the user dropdown, they're redirected to the
sign-in page via the withAuth redirect, which means that the returnTo
param is used -- but if the user _intentionally_ logged out, this might
not be the right behavior, i.e., if they want to log in to another
account. Instead, if they chose to log out, we shouldn't use the
returnTo param.

Since the /logout page already implements this behavior, I changed "Log
out" button to just route to the /logout page.
2025-11-04 14:25:08 -05:00
kemal.earth da6beb7860 fix(studio): add more robust validation check for log drain endpoints (#40132)
* feat: add check for http and https on endpoint url

* feat: add for loki url as well

* feat: add for sentry dsn as well
2025-11-04 18:14:33 +00:00
Joshen Lim a00fdc1c71 Fix connection details analytics buckets, remove go to vault CTA for fields that aren't in vault (#40138)
Fix connection details analytics buckets, remove go to vault CTA for non secure fields
2025-11-05 00:37:03 +08:00
47e1134a1d feat: Vector buckets - initial work (#39597)
* Initial work on vector buckets.

* Add more queries and UI.

* chore(studio): vector buckets contents (#39705)

* language

* match analytics buckets

* shared empty state

* proper loading state

* create dialog cleanup

* simplify copywriting

* proper details

* filtering

* use real data

* chore(studio): vector buckets polish A (#39759)

* empty state

* better checks

* bucket name in sheet

* fix typo

* sheet improvements

* rename vector index to vector table

* cleanup

* More work on the vector indexes.

* Add delete for bucket and indexes. Create index should now work.

* chore(studio): vector buckets polish B (#39794)

* loading

* delete modal

* fix modal behaviour

* Add modal for deleting vector buckets.

* Bring back the shimmering loader.

* chore(studio): vector buckets polish C (#39887)

* fix bucketname on deletion dialog

* empty states

* remove extraneous padding

* proper loading and not-found cases

* Minor fixes.

* Minor updates to the vector components.

* Add more instructions to the cursor rules.

* Some refactors and shifting files around

* Refactor analytics buckets detial to improve time to fcp

* Fix

* Refactors + simplify

* Last few nits, just leaving comments

* If the bucket is not empty, delete all indexes first.

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-04 15:25:46 +01:00
Ali Waseem 6a2fb0f278 Fix: updated monaco editor to not eat up CMD + i (#40111)
* fix: updated monaco editor to not eat up cmd + i

* toggle between other sql editor
2025-11-04 07:04:07 -07:00
Jordi Enric d822de064c feat: add min calls filter to Query Performance FE-2071 (#40125)
* update filter bar ui

* add minCalls to params

* fix type error
2025-11-04 14:24:54 +01:00
Ivan Vasilov 4da5d019ae chore: Migrate some stray queryKeys to the RQ 5 syntax (#40086)
Fix some stray queryKeys.
2025-11-04 09:33:49 +01:00
Joshen Lim 2f0ee34e12 Fix branch merge request link (#40117) 2025-11-04 16:22:10 +08:00
Joshen Lim df3cb0953a Tiny fix (#40119)
* Tiny fix

* Smol fix
2025-11-04 16:06:35 +08:00
Ali WaseemandAlaister Young 23224301f2 updated to override pg vars (#40093)
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2025-11-04 16:02:12 +08:00
Danny WhiteandJoshen Lim b3852a391b chore(studio): clarify smart region selector (#39918)
* basics

* draft docs

* copywriting improvements

* remove quote

* remapping on frontend

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-04 18:56:27 +11:00
Joshen LimandDanny White 1f9906aab3 Use new Storage UI layout (#40076)
* First pass of deprecating old storage UI components

* Clean up local-storage flag for new storage UI

* Add coming soon UI for analytics and vector buckets pages

* Set up warning states for analytics buckets

* fix spelling and margin

* Smol fix

* nit

* Surface wrappers upgrade check in UI instead of toast

* Nit clean up

* update tests

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2025-11-04 15:37:30 +08:00
Joshen Lim faf1167bf4 Remove ts nochecks and any typecasts, and have CreateBucketModal use POST analytics-buckets endpoint (#40031)
* Remove ts nochecks and any typecasts, and have CreateBucketModal use POST analytics-buckets endpoint

* Smol fix

* Smol fix

* nit

* Nit

* Nit
2025-11-04 11:43:44 +08:00
Danny White 346d6b18e7 studio(fix):don’t presume organization on API authorize step (#39923)
* do not automatically select first org

* placeholder

* use form validation

* default to org if only one

* better handle decline

* simplify decline

* clearer label when org is preselected
2025-11-04 01:54:54 +00:00
Charis a219d6b04e fix(integrations page): overflow on integrations card loading states (#40110) 2025-11-03 21:59:31 +00:00
Charis 04c2fd3103 fix(support link): auto-fill organization when on org page (#40108)
* fix(support link): auto-fill organization when on org page

If user clicks the Support Link from an org page (not a project page),
pass along the organization slug in the query params to auto-fill the
Support Form.

* fix(date picker test)

The new UI for range picking is a little different, and requires
double-clicking to start a new range.
2025-11-03 16:41:50 -05:00
Charis 0c501d7889 chore: consolidate calendar pickers (#40052)
* chore: update react-day-picker

* fix(design system): date picker demos

* refactor(date picker): change logs date picker to use react-day-picker

* refactor(date pickers): change remaining date pickers to use react-day-picker

* cleanup(date pickers): minor code cleanup

* fix(date picker): fix behavior for single day selection
2025-11-03 10:10:19 -05:00
kemal.earth 74486d3a0a feat(studio): log drains tidy up sheet footer (#40085)
* feat: log drain add sheet footer revamp

* chore: remove commented elements and unused imports

* fix: correct docs link for pricing
2025-11-03 15:08:44 +00:00
Ali Waseem e42288156f Fix: overflow warnings were being cut off in the editor for edge functions (#40054)
added overflow warnings
2025-11-03 07:27:21 -07:00
kemal.earth f1eb1dc4c5 feat(studio): log drains list brush up (#40020)
* feat: log drains card

A little more control over our card and isolated so we can include pricing information

* feat: separate vote link

* feat: get the right page layout components

* feat: tidy up table

* feat: quick pick dropdown

* feat: prettify name of destination

* fix: checks for button and header

* feat: rename http endpoint to custom

* chore: copy update and remove github icon on vote

* feat: add confirmation modal for when adding log drains

* feat: sort table by name

We dont have create_at for log drains so sorting the table by names

* chore: sort by id instead

* fix: mobile scaling of table

* chore: clean up commented elements
2025-11-03 12:48:55 +00:00
Ivan Vasilov 8b657165b5 chore: Migrate to use custom type for ReactQuery queries and mutations (#40073)
* Add custom types for queries, mutations and infinite queries.

* Migrate all queries to use the new type.

* Migrate all infinite queries to useCustomInfiniteQueryOptions.

* Migrate all mutations to use useCustomMutationOptions.

* Add type to all imports in `types` folder.
2025-11-03 13:18:13 +01:00
Jordi Enric cf6ddaee74 fix: dont render header in realtime grid (#40075)
dont render header
2025-11-03 10:51:35 +01:00
CharisandJoshen Lim 853672af18 fix(storage ui v2): virtualize files buckets table (#40021)
* refactor(infinite list): use @tanstack/react-virtual for virtualization

Swapping virtualization libraries from `react-window` to
`@tanstack/react-virtual`.

Motivation: we need a completely headless library for maximum
flexibility. `react-window` injects extra DOM elements which makes it
hard to customize styling and placement on elements that are very picky
about their DOM structure, like tables.

* refactor(table editor menu): use new infinite list

* refactor(notifications): use new infinite list

* cleanup(infinite list): remove old infinite list

* refactor(storage menu): use new infinite list & remove react-window deps

* fix(storage ui v2): virtualize files buckets table

* refactor(virtualized table): make virtualized table a general ui component

Make virtualized table a general UI component and refactor FilesBuckets
to use VirtualizedTable.

* Fix header bg color, add sort to files buckets, sort bucket list

* Smol fix

* nit

* fix(storage buckets list): keep unvirtualized if user has <= 50 buckets

* Break up FilesBuckets into smaller components

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-03 15:18:57 +08:00
Saxon FletcherandJoshen Lim ddedae58b8 Add link to function and table editor (#40068)
* add link to function and table editor

* Tiny refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-11-03 03:37:22 +00:00
Saxon Fletcher bf9c99677c switch to default (#40070) 2025-11-03 13:33:58 +10:00
Joshen LimandAli Waseem 0d44090aac Update lints for self-hosted (#40043)
* Update lints for self-hosted

* update comment

* Update apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx

Co-authored-by: Ali Waseem <waseema393@gmail.com>

* revert

* Fix

* update comment

---------

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2025-11-01 01:28:05 +08:00
Joshen Lim dad5f01140 Revert form layout changes (#40048) 2025-11-01 01:16:42 +08:00
Ali WaseemandIvan Vasilov 922780fcc1 Fix/enable queue rest management pqmq versions (#40023)
* added queues and keys to fetch version

* updated to support postREST queue management

* updated to use existing hook

* removed unused keys

* - added semvar lib
- updated logic to use semvar lib

* The conditional read was added in 1.5.0.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-10-31 17:55:37 +01:00
Ali Waseem 592f03f774 Fix: updated logic to respect retry-after header (#40046)
updated logic to respect try after header
2025-10-31 10:20:27 -06:00
Jordi Enric 474a78721e feat: make log table scrollable FE-2060 (#40044)
make scrollable
2025-10-31 16:30:07 +01:00
Joshen Lim 2c0b2ba079 Smol feex (#40041)
* Smol feex

* Small fix
2025-10-31 22:35:02 +08:00
Riccardo Busetti 3182df1c76 feat(etl): Improve destination panel UI (#40001) 2025-10-31 15:34:10 +01:00
Ali Waseemandkemal f88277a7c8 Fix: Bring back roles filter in Query performance (#40025)
* brought back roles filter

* feat: hide roles on with monitor

---------

Co-authored-by: kemal <hello@kemal.earth>
2025-10-31 07:20:11 -06:00
Saxon Fletcher d66307f98b fix responsive issues (#40029)
* fix responsive issues

* sidebar width
2025-10-31 19:25:41 +10:00
Joshen Lim 64e3e047eb Final final cleaning up barrel files (#40018)
* Final final cleaning up barrel files

* Fix merge conflict
2025-10-31 14:02:59 +08:00
Joshen Lim b4d38fabd0 Chore/barrel files bye part 05 (#40016)
* Clean up barrel files part 4

* nit

* Part 5 of cleaning up barrel files

* Revert changes for types

* Nit
2025-10-31 13:15:31 +08:00