Commit Graph
2745 Commits
Author SHA1 Message Date
Joshen Lim 53eaab0f71 Show all cron jobs even those with no names (#32765) 2025-01-14 22:09:03 +08:00
34424881a1 Revert "Temporarily disable enabling of queues exposure via postgrest" (#32753)
* Revert "Temporarily disable enabling of queues exposure via postgrest (#32699)"

This reverts commit 506fcf5da2.

* bugfix: sequence permissions for pgmq_public

* Update apps/studio/data/database-queues/database-queues-toggle-postgrest-mutation.ts

* enable service role

* Smol fix

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-14 10:59:24 +08:00
Joshen LimandAlaister Young c388cbe9d2 Add disk autoscale configuration parameters in compute and disk settings (#32628)
* Add disk autoscale configuration parameters in compute and disk settings

* TS fix

* Fix

* Fixes based on comments

* Address all feedbacks

* Small tweak

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-01-14 10:32:22 +08:00
Joshen Lim 559236dbd0 Chore/query performance fixes and improvements (#32747)
* Show tab max value in seconds if > 1000ms

* Fix incorrect sort option in initial state with no URL state

* Fix trim of undefined in Query Performance when retrieving index
2025-01-13 23:29:28 +08:00
Joshen Lim ef2ba4a1fc Add null placeholder to RowEditor foreign key input field (#32744) 2025-01-13 23:19:10 +08:00
Ivan Vasilov 6e0b0237f5 fix: Remove /members/invite API calls (#32707)
Remove /invite API calls.
2025-01-13 14:01:03 +01:00
Joshen Lim 5c969f973d Fix view connection string (#32683) 2025-01-13 19:22:35 +08:00
Kevin Grüneberg 14ea7a608e docs: credit balance top up / slight copy changes (#32737) 2025-01-13 18:20:51 +08:00
hallidayo 39f0b5823d deprecated: alerts - usage constant (#32661)
switch to admonition
2025-01-13 16:10:42 +08:00
Joshen Lim 506fcf5da2 Temporarily disable enabling of queues exposure via postgrest (#32699) 2025-01-10 22:41:27 +08:00
Jordi EnricandIvan Vasilov 0e930cf940 r2np: new cost (#32632)
* add new cost estimate

* fix api types

* update api types

* restore api.d.ts

* fix types

* fix utils

* clean utils getComputeHourlyPrice

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-10 13:21:53 +01:00
Joshen Lim 2781fb9285 Only show Connect UI in layout header if project is active healthy (#32698)
* Only show Connect UI and branching UI in layout header if project is active healthy

* Only hide connect UI

* Opt for disabled state with tooltip instead
2025-01-10 16:28:26 +08:00
Kevin Grüneberg c791dd9e29 feat: credit top up (#32680) 2025-01-10 10:20:35 +08:00
Stojan DimitrovskiandIvan Vasilov 3122efc7b7 feat: make firebase tpa generally available (#32573)
* feat: make firebase tpa generally available

* Simplify the dropdown menu label.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-09 13:27:02 +01:00
Marc Köhler 724f046170 fix(studio): auth email hook sheet padding (#32569) 2025-01-09 11:47:14 +00:00
Saxon FletcherandIvan Vasilov 3d8c0246f5 add assistant to advisor (#32665)
* add assistant to advisor

* Fix the cursor on the last line to not end in the middle of the textbox.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-01-09 20:30:37 +10:00
Joshen Lim 9d6cf3ee51 Add contextual invalidation in SQL Editor (#32675) 2025-01-09 18:06:31 +08:00
Joshen Lim eb867734fb Show MFA warning when field is updated, not until the form is saved (#32673) 2025-01-09 16:39:27 +08:00
Joshen Lim eb42b2c241 Persist last selected database only for sql editor via local storage (#32598)
* Persist last selected database only for sql editor via local storage

* Add missing useEffect
2025-01-09 10:55:14 +08:00
Alaister Young c26a1a7e63 chore(studio): remove unused files (#32623) 2025-01-08 12:39:00 +08:00
Stojan Dimitrovski 7bf5825bb5 fix: mfa phone alert fixed to show up only if phone is not configured (#32620) 2025-01-07 22:53:23 +08:00
Long Hoang 038c52dd9a feat: enforce event type defs (#32595)
* feat: enforce event type defs

* fix: correct typedefs for cron events

* fix: correct typedefs for assistant events
2025-01-07 17:08:07 +08: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
Jordi Enric c76f9e682d Log Explorer: Log Detail Overhaul (#31684)
* wip

* use flag
2025-01-07 08:16:17 +01:00
Kevin Grüneberg c9f1827f82 fix: do not block project/replica creation with due invoices on team/enterprise (#32612)
Just setting `enabled` flag on react-query is not sufficient, as the data may be preloaded already. To ensure we're not blocking team/enterprise customers with outstanding invoices from launching new projects or replicas, we have to add an additional check.

Backend is already validating this properly, only a frontend issue.
2025-01-07 11:29:43 +08:00
Alaister YoungandCharis Lam 6d732a2a4b chore: remove auth-helpers (deprecated) (#32541)
* chore: remove auth-helpers (deprecated)

* type supabase client in feedback

* small adjustments to error and loading state handling for docs search

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-01-06 18:08:44 +08:00
Kamil Ogórek 06c3a3ec2b Enable branching for vercel marketplace (#32396)
* feat: Add support for branching for Vercel Marketplace resources

* docs: Remove Vercel Marketplace branching support note
2025-01-06 10:15:02 +01:00
Joshen Lim c4e64f1746 Refactor/use shadcn tooltip (#31320)
* Refactor LogsExplorerHeader

* Refactor HelpPopover

* Refactor PreviewPane

* Deprecate SettingsButton, not used

* Refactor HookList

* Refactor AuditLogs

* Refactor InvoiceStatusBadge

* Refactor RoleRow

* Refactor ProductEmptyState

* Refactor BranchPanels

* Refactor JsonEditor

* Refactor UpgradingState

* Refactor ColumnManagement
2025-01-06 15:11:23 +07:00
Joshen Lim d6f7ab9a44 Fix next run data for cron job not using UTC (#32592)
* Fix next run data for cron job not using UTC

* Remove console log
2025-01-06 14:31:44 +07:00
Joshen Lim 1473517b4a Fix using camel case enum from public schema erroring out in ColumnEditor (#31303)
* Fix using camel case enum from public schema erroring out in ColumnEdiotr

* Update Table editor sql query to prefix the enum type schema if not from public schema

* Remove conosle log
2025-01-06 13:59:23 +07:00
Joshen Lim ffde1dc841 Dynamically render S3 protocol settings (#32589)
* Dynamically render S3 protocol settings

* Fix

* Fix double border on RestartProject button
2025-01-06 13:05:09 +07:00
Jordi Enric ef3da0d9f3 Hide r2np for fly hosted projects (#31304)
* hide r2np for fly hosted projects

* rm unnecessary fly warning

* fix missing default value

* fix type err
2025-01-04 12:41:16 +01:00
Jordi Enric b447ef62d1 fillTimeseries: Skip filling if theres a minimum of datapoints (#31311)
* allow fillTimeseries to skip filling if theres a minimum of datapoints

* rm empty string

* allow strings in fillTimeseries defaultValue

* fix header, reduce min data points to do fill

* rm comment
2025-01-04 12:21:19 +01:00
Hieu a069a1e836 feat: expose analytics OAuth scopes (#32543)
feat: expose analytics Oauth scopes
2025-01-03 15:14:46 +07:00
hallidayo 9567740566 deprecated: alert - disk io bandwidth (#30703)
* changed to shadcn alert

* changed to use admonition

* removed unused imports

* removed blank strings
2025-01-02 23:49:19 +00:00
Filipe Cabaço fb92efb805 fix: handle typos (#31226) 2025-01-03 06:45:30 +08:00
Monica KhouryandAlaister Young 91371a3d8f Fix: change the colour of the 'failed' badge for the cron UI (#32533)
* Fix: change the colour of the 'failed' badge for the cron UI

* simplify implementation

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-01-03 06:34:47 +08:00
Pamela Chia 35286ed464 chore: add ai assistant event docs (#32394)
* chore: add ai assistant event docs

* fix: added more details on ai assistant suggestion events

* fix: clarify page in description

* fix: rename and re specify the events
2025-01-02 20:01:21 +08:00
Alaister Young a6776a0fbe fix: use v2 endpoints for snippets (#32521)
* fix: use v2 endpoints for snippets

* restore v2 header for content delete
2025-01-02 13:54:55 +08:00
Supun Sudaraka c53ddbcb12 fix: fixed the broken external link for "view access control docs" in auth settings (#32421)
fixed the broken external link for "view access control docs" in auth settings page
2024-12-31 10:33:53 +00:00
Joshen Lim 1aa371a9d7 Add sign in event for email password login (#31395)
* Add sign in event for email password login

* Also add event track for sign in with SSO

* Remove unused variable
2024-12-28 10:51:04 +08:00
Jordi Enric d3b5f866d0 logs explorer: add copy as CSV & rename copy as JSON (#31625)
* add copy as json btn

* separate copy csv and json
2024-12-27 17:24:35 +01:00
Pamela ChiaandLong Hoang 65050e202b chore: add sql editor telemetry docs (#31239)
* chore: add sql editor telemetry docs

* fix: quickstartName

---------

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2024-12-26 15:56:09 +08:00
Alaister Young 9dc05df310 fix: nodejs and golang direct connection strings (#31390) 2024-12-26 10:16:37 +08:00
Joshen Lim 6f1ccc5d21 Chore/edge functions fixes (#31317)
* Add clear search CTA for logs input

* Fix searching in pg cron logs + unselect selected log when search input changes

* Fix updating search to clear selected row

* Fix alignment of function name

* Fix spacing for LogsPreviewer used in functions

* Reorder edge functions nav + clean up
2024-12-24 21:46:14 +08:00
Joshen Lim 4e5d4b2cbb Add last and next run in CronJobCard (#31305)
* Add last and next run in CronJobCard

* Remove unnecessary query

* Refactor

* Remove unused file

* Refactor
2024-12-24 10:31:28 +08:00
hallidayo a8d3479f17 deprecated: alert - new access token (#30531)
* switch to shadcn alert

* removed Alert import

* changed to admonition
2024-12-23 13:41:08 -03:30
hallidayo 9c31325d0f deprecated: alert - provider form (#30532)
* provider form alert switch

* changed to admonition
2024-12-23 13:27:25 -03:30
hallidayo 0cbc3d0134 deprecated: alert - migrations (#30725)
* changed to use shadcn alert

* switch to admonition

* deleted unused imports
2024-12-23 13:15:40 -03:30
hallidayo ae38375b6b deprecated: alert - encryption-keys-management (#30726)
* changed to use shadcn alert

* switched to admonition
2024-12-23 11:02:43 -03:30