Commit Graph
1677 Commits
Author SHA1 Message Date
Alaister Young dacdddc257 fix: overflow-x-auto (#31391) 2024-12-28 06:23:28 +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
Ankit Choudhary 2ce8ff97eb style: align svg icon to the center of the container (#31353)
* style: align svg icon to the center of the container

* style + refactor: fixed parent div style + removed zombie div
2024-12-27 16:02:40 +00:00
hawkcookie 50f9ccb5c7 fix: fix horizontal scroll reset when clicking timestamp cells on the Dashboard (#31624)
* add preventScroll option to ref.current.focus

* add ref props to Input component and remove autoFocus props
2024-12-27 15:45:12 +00:00
Long Hoang ffe9a71f89 chore: document sign up/sign in and realtime events (#31394)
* chore: add event defs for realtime events

* chore: document sign in and sign up events

* chore: update docs to reflect changes on sign in event
2024-12-27 17:19:14 +08: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
Paul Cioanca f2b1586450 chore: temporarily change default region to us-west-1 (#31388) 2024-12-25 22:22:37 +02: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 9e9cfd5fe5 Allow dots in project name (#31262) 2024-12-24 10:58:33 +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
hallidayo 1ac639845c deprecated: alert - delete payment method modal (#31007)
switch to admonition
2024-12-23 10:14:15 -03:30
Joshen Lim 80bdd361c1 Fix API docs introction (#31306) 2024-12-23 20:11:51 +08:00
Joshen Lim 771ff70891 Support bulk deletes in auth users (#31271)
* Support bulk deletes in auth users

* Close overview panel if user was deleted

* Add max select up to 20 users limit, and add cancel selection button
2024-12-23 14:29:18 +08:00
Joshen Lim 29b70f6084 Smol update to api keys notice (#31298) 2024-12-23 14:04:00 +08:00
Wen Bo Xie d611488fef fix: remove restore to another project limitation (#31281) 2024-12-21 01:56:04 +00:00
ed75f15243 deprecated: alert - delete app modal (#31008)
now using admonition

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-12-20 16:50:04 -03:30
hallidayo ccc2adb6a3 deprecated: alert - revoke app modal (#31143)
switch to admonition
2024-12-20 16:27:48 -03:30
hallidayo 0b52e1038f deprecated: alert - ipv4 settings (#31144)
* change to use admonition

* removed unused import
2024-12-20 16:21:37 -03:30
hallidayo 5935c2f356 deprecated: alert - jwt settings (#31145)
changed to admonition
2024-12-20 16:07:58 -03:30
hallidayo 89b3b91341 deprecated: alert - ip restriction removal (#31257)
* switch to admonition

* removed deprecated closable prop
2024-12-20 15:39:30 -03:30
hallidayoandTerry Sutton 90546ddaf0 deprecated: alert - transfer project (#31258)
change to admonition

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-12-20 17:10:49 +00:00
Ivan Vasilov dd572efb0d chore: Switch repo to use pnpm (#29928)
* Fix some missing and duplicate dependencies.

* Fix the types for jest in ai-commands package.

* Replace all npm commands with pnpm. Add pnpm files and workspace links.

* Fix rimraf to work with pnpm.

* Refactor the github actions to work with pnpm.

* Delete package-lock.json.

* Fix the tailwind configs to not include node_modules.

* Fix random files.

* Add preinstall scripts to all packages.

* Fix the Dockerfile to work with pnpm.

* Update the DEVELOPERS documentation.
2024-12-20 13:07:20 +01:00
Joshen Lim bdb956ea0a Show tooltip for deleting a credit card that is currently active (#31242) 2024-12-20 11:12:43 +08:00
Alaister Young 3cc3f1b5d8 fix: increase snippet limit within folders (#31259) 2024-12-20 02:57:01 +00:00
Terry SuttonandIvan Vasilov 05e06673b4 Temp disable count query (#31256)
* Temp disable count query

* Add additional check for number of snippets.

* Another try at a fix.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-19 23:12:55 +01:00
Jordi Enric bbf806de30 R2NP: add 403 permissions or physical backups disabled handler (#31197)
* add 403 err handler

* validate error

* rm retry logic in fvor of enabling the query only if pitr or pb are enabled

* disable queries instead of checking error code
2024-12-19 13:35:21 +01:00
Ivan Vasilov 02ad2661f7 chore: Downgrade prettier to v3 (#31099)
* Bump all versions of prettier to 3.2.4

* Remove obsolete config in prettier.
2024-12-19 11:02:23 +01:00
Joshen LimandIvan Vasilov e648966131 Add URL param support to toggle connect UI (#31241)
* Add URL param support to toggle connect UI

* Fix leaving team redirects to landing page

* Fix leaving team redirects to landing page

* Fix grammar

* Add autocomplete off to team settings search + delete project input modal

* Shift logic to Connect, and clean up param when close

* Use nuqs to manage Connect state instead of valtio

* Fix a failing test.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-19 09:34:28 +00:00
Alaister YoungandJoshen Lim f6d9617413 chore: paginate user content (#30675)
* chore: paginate user content

* progress

* loading states

* add load more buttons to private snippets

* working pagination

* fix some types

* always show snippet counts

* support new api parameters

* favorite snippets

* progress

* searching

* paginate root folder

* fix renaming snippets

* fix ts

* removed unused prop

* Shift sharing/unsharing query logic outside of valtio to leverage on RQ only

* Fix invalidation on an unsaved snippet

* Clean up

* Fix

* Clean up

* Update API type

* Update API

* fix duplicate snippets error after moving a snippet

* add currently selected snippet

* Fix unsharing a snippet that has yet to be opened

* i'm dumb

* fix sharing a snippet

* fix sharing and unsharing

* show favorite or shared snippet in list even if it's in another page

* Fix wrong import for debounce

* Fix false positive toast error when creating custom report

* Update API type

* Change create new snippet CTA to link back to /new with skip flag

* Fix saving logs explorer query

* Bump page number

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-19 16:08:14 +08:00
Long Hoang 551d172523 fix: add missing feature preview enabled event def (#31234) 2024-12-19 12:59:59 +08:00
Joshen Lim 604fe8af07 Ensure diff editor and sql editor do not show up together (#31218)
* Ensure diff editor and sql editor do not show up together

* Remove console log
2024-12-18 22:19:48 +08:00
Long Hoang e31ce6d326 feat: add feature preview events (#31215) 2024-12-18 21:33:02 +08:00
Chris Gwilliams 2f63366b44 remove swap usage from DB report (#30877) 2024-12-18 15:00:35 +02:00
Terry SuttonandIvan Vasilov de28174c1d Chore/www session consent (#31082)
* Store referrer in session storage until opted-in

* Fix

* Move to common file

* Refactor the useTelemetryCookie hook. Use the hook in www, docs and studio.

* Small fixes.

* Fix all usages of HandlePageTelemetry function.

* Fix type errors.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-18 12:02:20 +01:00
Joshen LimandIvan Vasilov 97d83e7aa9 Update grid cell editor for date and timestamp type fields (#31121)
* Update grid cell editor for date and timestamp type fields

* Forgot to commit this

* Add basic validation

* Remove console log

* Add placeholder

* Add Set to NOW action

* Pass isNullable to the DatetimeEditor.

* Fix the TooltipTrigger to deduplicate classes. Fix the TimestampInfo to use TooltipTrigger as child.

* Fix the height of the spans to match.

* Fix

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-18 12:55:53 +08:00
Andrew Valleteau e212aa1de9 fix(studio): custom schema enum column creation (#31150) 2024-12-18 13:12:52 +09:00
Jordi EnricandJoshen Lim ed69371b76 Update TimestampInfo to accept a UTC timestamp by default (#31167)
* add isUTC support in TimestampInfo

* rm isutc

* rename value prop to utcTimestamp

* Fixy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-12-18 12:10:56 +08:00
Joshen Lim 0451075d95 Fix iops check (#30917)
* Fix iops check

* Fix

* wot

* Remove ts ignore
2024-12-18 11:49:25 +08:00
Joshen LimandPamela Chia 3a89c81b63 Add feature flagging support via PH (#31101)
* wip: use endpoints

* Set up PH feature flag system

* Clean up

* Clean uop

* Check

* Fix tests

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2024-12-18 10:27:15 +08:00
Terry SuttonandIvan Vasilov 94edd00d0e Remove inviteEnabled check (#31202)
* Remove inviteEnabled check

* Remove some extra brackets.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-12-17 21:23:51 -03:30
Ivan Vasilov 1702f62516 fix: Allow ai/docs endpoint in studio (#31196)
Fix the studio middleware.
2024-12-17 08:56:16 -03:30
Etienne Stalmans d13e1c6bcb chore: add linter information for compliance checks (#30551)
High compliance environments receive additional linter checks. Add these
checks
2024-12-17 13:18:55 +01:00
Jordi Enric fc3d22cf6f Allow multiple r2np (#31063)
* add previous restores section

* add target project name

* fix link to og project

* typecast to fix type err until api types are fixed

* cleanup

* improve IN PROGRESS state, shows restores list and disables buttons

* fix typerr with isUTC

* disable PITR form if theres a restoration happening

* rm commented out code
2024-12-17 11:33:07 +01:00
Long Hoang 2cc518d86c feat: capture more info from connection string copy (#31189) 2024-12-17 16:35:21 +08:00
Long Hoang c6d0f487e4 chore: remove old event definitions (#31193) 2024-12-17 16:34:58 +08:00