Commit Graph
32389 Commits
Author SHA1 Message Date
Han Qiao 122fdea3f1 docs: add a link to clarify verbose grant statements (#33722) 2025-02-21 00:43:43 +08:00
Joshen LimandAlaister Young 38c5a38fa7 Chore/shift max auth db conns to auth advanced (#33729)
* Shift max auth db connections to auth advanced page

* Update URL for max auth db conns in empty state for auth settings

* Update check

* Fix

* fix form

* more fixes

* JESUS

* Add units

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-02-20 20:08:49 +08:00
Joshen LimandAlaister Young 681cf5098c Disable selection of io2 volume type if project region is not supported (#33733)
* disable selection of io2 volume type if project region is not supported

* Update apps/studio/components/interfaces/DiskManagement/fields/StorageTypeField.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Fix import

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2025-02-20 19:58:04 +08:00
Joshen LimandAlaister Young ae2203b5e7 Reinstate SQL editor results events (#33736)
* Reinstate SQL editor results events

* remove random console.log

* fix event name

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-02-20 18:46:23 +07:00
Jordi Enric 64bfd6dc72 remove consolelog (#33738)
rm clog
2025-02-20 11:12:39 +00:00
Nyannyacha e6cad01235 Update humans.txt (#33718) 2025-02-20 19:44:17 +09:00
Kamil Ogórek 0136e7bf52 fix: mfa_max_enrolled_factors value of 0 is valid (#33713) 2025-02-20 09:46:06 +01:00
Kamil Ogórek 1a7c01770b feat: Add supavisor connections to infra report (#33682) 2025-02-20 15:57:41 +08:00
Jordi EnricandJoshen Lim b6e126c331 Feat: remember last visited route in logs FE-1418 (#33486)
* add logic to remember last route

* add default redirect

* move logic to index page

* Simplify logs page redirect logic

* missing }

* fix wrong }

* wait 2s for page to redirect

* use latest version in local studio cli test

* rm timeouts looks like it takes longer in ci

* Clean up

* Fix broken commands

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-20 14:42:01 +08:00
Joshen Lim ca37f16f58 Chore/refactor e2e tests (#33647)
* Set up E2E tests for staging

* update

* Update

* Update .env.staging.example

* Fix node modules

* Fix

* Attempt to swap local-studio-tests to use the new studio-tests directory

* Omit storage state if running tests for local self host

* Fix test:local command

* Deprecate local-studio-test folder

* Rename local studio tests GH action to E2E test
2025-02-20 12:02:41 +08:00
Joshen Lim e1d957b528 Decouple updating disk size from retrieving disk util (#33710)
* Decouple updating disk size from retrieving disk util

* Clean up

* remove unused param
2025-02-20 11:38:16 +08:00
CharisandCraig Cannon 5729d394bf feat: add behind the scenes video (#33696)
Co-authored-by: Craig Cannon <cannon.craig@gmail.com>
2025-02-19 18:43:43 +00:00
Illia BasalaievandIllia Basalaiev 4a225a4642 chore: minor syntaxt and links updates in Python docs (#31146)
* resolve conflicts, improve styling

* standardize code examples

* remove trailing comas

---------

Co-authored-by: Illia Basalaiev <illiab@IMB3.local>
2025-02-19 18:45:40 +01:00
Han Qiao 0196d78cf5 docs: update schedule function example to store token securely (#33701) 2025-02-20 01:39:16 +08:00
Monica Khoury 119f7dfb77 update my name in humans.txt (#33715) 2025-02-19 19:27:05 +02:00
Han Qiao 6ffe7d9062 docs: clarify branch merge behaviour (#33704)
* docs: clarify branch merge behaviour

* Update branching.mdx
2025-02-20 01:14:07 +08:00
Jordi Enric ee7f7e4b42 Update Log Detail (#33536)
* state refactor & new log detail

* fix type in tests

* use new hook in auth page logs
2025-02-19 16:44:44 +01:00
Guilherme Souza 53688e6d39 chore(docs): add missing import for swift reference (#33520) 2025-02-19 10:36:48 -05:00
Joshen Lim 0b9a59325c Update org roles confirmation to fire requests sequentially (#33695)
* Update org roles confirmation to fire requests sequentially

* Add missing await

* Add skip invalidation flags
2025-02-19 10:22:08 -03:30
Kamil OgórekandJoshen Lim f553065a2e feat: Add Login event to account audit logs (#33660)
* feat: Add Login event to account audit logs

* refactor

* Remove unrelated files

* Remove audit login events for sign in with GH and SSO

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-19 18:02:53 +08:00
github-actions[bot]andkamilogorek bf04ff6681 feat: update mgmt api docs (#33642)
Co-authored-by: kamilogorek <1523305+kamilogorek@users.noreply.github.com>
2025-02-19 09:30:58 +00:00
Florian Lefebvre 508420a9c4 docs(auth): improve auth hooks (#28936) 2025-02-19 06:00:27 +00:00
Saxon FletcherandJoshen 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
Beng Eu 710131456f fix: run next build directly instead of build task to avoid uploading static assets when building image (#33693)
Was broken by #33344, which changed `build` task from `next build` to
`next build && ./../../scripts/upload-static-assets.sh`.
2025-02-19 03:30:45 +00:00
Greg Richardson 52cb7f82b2 Docs: MCP with AI tools (#33610)
* docs: mcp

* fix: change admonition type to note

* chore: add 'npx' to dictionary

* feat: adds windsurf example

* fix: adds codium to dictionary
2025-02-18 21:07:02 +00:00
Francesco Sansalvadore 1cdcf8f074 fix: disk config layout gap (#33683)
* restore gap

* fix compute size layout
2025-02-18 17:54:50 +01:00
Jonathan Summers-Muir 0795ca97c1 fix: header logo in org pages (#33681)
Update LayoutHeader.tsx
2025-02-18 19:23:53 +08:00
Alaister YoungandJoshen Lim e1eaa9844c fix: indexes in use (#33672)
* fix: indexes in use

* add error state for indexes in use

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-18 18:06:06 +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
Saxon Fletcher 1f7c7389b4 add realtime toggle tracking (#33573) 2025-02-18 16:12:47 +10:00
Saxon Fletcher 4bc9596dbd consider js comments in assistant props (#33669) 2025-02-18 11:58:22 +10:00
hallidayo b7df65f71f www: supabase cron wrong url (#33368)
url change
2025-02-17 14:33:08 +01:00
Terry Sutton 4591608439 Chore/diff cmd (#33637)
* Fix diff cmd

* Cmd to run migration

* Fix stephike markup
2025-02-17 09:28:00 -03:30
Terry Sutton 163604bccd Fix height of storage panel (#33624) 2025-02-17 16:03:04 +08:00
Jordi Enric fe47ff17f9 clean up logs status component FE-1403 (#33525)
* clean up status component

* rm type casts

* fix type err

* fix type err
2025-02-17 15:53:43 +08:00
Joshen Lim 98a5f06070 Chore/next round of refactoring rqs to use data fetchers (#33556)
* Update several files to use data fetcher methods

* Remove unused files from lib/common/fetch

* Revert "Remove unused files from lib/common/fetch"

This reverts commit b314b05f06.

* Fix GraphQL

* Fix types

* Add IS_PLATFORM check in useOrgUsageQuery

* Fix type issues
2025-02-17 15:23:38 +08:00
Joshen LimandTerry Sutton 8b4fb55b54 Add IS_PLATFORM checks for some unnecessary queries and UI for local (#33557)
* Add IS_PLATFORM checks for some unnecessary queries and UI for local

* Revert changes for analytics/endpoint/[name]

* Smol

* Smol

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-02-17 15:09:36 +08:00
Monica Khoury 8ef521bded docs: updating downloading logical backups guide (#33309) 2025-02-16 15:14:46 +02:00
Illia BasalaievandIllia Basalaiev 4dcce55890 add myself to humans.txt (#33631)
Co-authored-by: Illia Basalaiev <illiab@IMB3.local>
2025-02-15 17:21:50 +01:00
Illia Basalaiev d7caf5bc27 update link to scheduled backups in dashboard backups.mdx (#31198)
update the link to scheduled backups in the dashboard to database/backups/scheduled
2025-02-15 13:46:28 +01:00
Charis ee728051f3 fix(design system): make suggested commands in assistant popover conf… (#33626)
fix(design system): make suggested commands in assistant popover configurable

I need to provide custom commands and right now they're hard-coded
2025-02-14 16:52:15 -05:00
Charis 16eddf08d6 make rls admonition more prominent with stronger language (#33620) 2025-02-14 10:54:39 -05:00
Charis ff8b1617a4 fix: combine performance debugging sections into one page (#33609) 2025-02-14 10:07:01 -05:00
Jordi Enric 3521b9004f clean up old logs feature flags (#33487)
* clean up loki ff

* rm loki ff

* rm logsDetailV2 ff

* rm cloneToNewProject ff
2025-02-14 12:11:05 +01:00
Terry Sutton fc1b439665 what on earth (#33598)
* what on earth

* Maybe
2025-02-14 07:07:36 -03:30
Andrew Valleteau 0106c4b319 chore(pg-meta): port functions tests (#33480)
* chore(pg-meta): port functions tests
2025-02-14 16:11:07 +09:00
Jordi Enric 2a3a2a597e Add E2E tests for local studio logs (#33592)
* add e2e tests for local studio logs

* fix auth schema test

* comment out log pages without logs

* fix tests rm react query from dom, it blocks view of definition button

* undo auth table changes
2025-02-14 15:06:16 +08:00
soimon 4295bcb845 Docs: Fix a small error in an example (#33608)
Fix an error in the example

It says it will declare 6 test cases, but it declares 4.
2025-02-13 23:04:35 +00:00
Jordi Enric d4b54baf94 logs layout: fix "unauthorized" screen jump scare (#33418)
add async permission check hook and use it in logs layout
2025-02-13 22:00:27 +01:00
Charis 20016b28a0 fix: timeouts (#33186) 2025-02-13 13:44:28 -05:00