Commit Graph
1549 Commits
Author SHA1 Message Date
Saxon Fletcher 7b87cfc0bd only one panel open at a time 2024-11-20 11:42:48 +10:00
Saxon Fletcher 6ad51af254 re-add editor 2024-11-20 11:25:31 +10:00
Saxon Fletcher 7837b2ddbd Merge branch 'feat/assistant-prototype' into feat/inline-editor 2024-11-20 11:19:10 +10:00
Saxon Fletcher c137c1305f fix rls editing via assistant 2024-11-20 11:16:01 +10:00
Joshen Lim 678c2f092c Update prompts 2024-11-19 21:56:47 +08:00
Joshen Lim 6ccb67567e A bit more telemetry stuff 2024-11-19 19:24:28 +08:00
Joshen Lim f0a0064a16 Rough fix to padding when assistant is open 2024-11-19 18:11:22 +08:00
Joshen Lim 56df0faa16 Beef up a bit more event tracking 2024-11-19 17:11:36 +08:00
Joshen Lim 8c6b14bd6e Fix PH tracking 2024-11-19 16:55:25 +08:00
Joshen Lim 5727b64828 ONly show ai button within a project 2024-11-19 11:19:40 +08:00
Joshen Lim f38b00be9e Fix 2024-11-19 10:31:03 +08:00
Joshen Lim 267291c37e Fix 2024-11-18 18:28:40 +08:00
Joshen Lim 548edcea0a Update feature preview content 2024-11-18 18:06:05 +08:00
Joshen Lim 62d5c88eb8 Add link to abort ongoing queries from SqlSnippet 2024-11-18 17:47:02 +08:00
Joshen Lim e446dffeea Add explain code action to SQL editor 2024-11-18 16:23:45 +08:00
Joshen Lim 619449a6ac Add basic contextual invalidation 2024-11-18 16:10:20 +08:00
Joshen Lim 71fdbd213d Merge master resolve conflicts 2024-11-18 15:31:20 +08:00
Alaister YoungandJoshen Lim 6c592dec99 chore: remove useExecuteSqlQuery() part 2 (#30467)
* foreign-key-constraints

* update entity-types stale time

* schemas query

* deprecate useExecuteSqlQuery

* users count query

* database size query

* indexes query

* keywords query

* migrations query

* table columns

* database functions

* database roles query

* fdws query

* replication lag query

* ongoing queries query

* vault secrets query

* remove unneeded staleTime: 0

* max connections query

* fix entity types key in tests

* Some fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-18 05:15:37 +00:00
Saxon Fletcher ce60c932ab add debug to failed ai queries 2024-11-18 15:02:31 +10:00
Joshen Lim af4cc07a36 Add users length to dependency array for formatting user column (#30507)
* Add users length to dependency array for formatting user column

* Just check on users
2024-11-18 12:29:44 +08:00
Saxon Fletcher 1b3d093977 save chat state to global state 2024-11-18 12:17:20 +10:00
Saxon Fletcher bd50934d0d fix z-index 2024-11-18 10:30:10 +10:00
Saxon Fletcher 7590884ea2 only loading last message 2024-11-18 10:23:11 +10:00
Joshen Lim 6e8b16a9b1 Prevent SQL snippet from running until message is finished 2024-11-15 19:39:49 +08:00
Joshen Lim ec61292097 Smol fix 2024-11-15 18:56:36 +08:00
Joshen Lim b2a00150bb Rename feature preview property for new assistant 2024-11-15 18:56:00 +08:00
Joshen Lim fcbe23f16c some fixes for backwards compability depending on feature preview toggled 2024-11-15 18:49:48 +08:00
Joshen Lim e745ec1ce3 Bump ai package in packages 2024-11-15 18:44:05 +08:00
Saxon Fletcher 7932684e79 inline editor 2024-11-15 20:13:14 +10:00
Kevin Grüneberg e36be4e102 fix: copy for downgrading Fly partner org (#30464) 2024-11-15 17:01:20 +08:00
Joshen Lim 05c3d19e0d Add admonitions for when disablePrompt is toggled on, and if no api key is set. Add footer note RE rate limitation 2024-11-15 16:04:50 +08:00
Jonathan Summers-MuirandJoshen Lim 59ecdeb1b9 chore: update compute redirect with flag (#30408)
* Update ComputeInstanceSidePanel.tsx

* add redirect on new page

* Update ComputeInstanceSidePanel.tsx

* Fix order

* Small refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-15 15:48:11 +08:00
Joshen Lim e953f55cb1 Add cmd i shortcut 2024-11-15 15:47:42 +08:00
Joshen Lim b81d9b4b29 revert adding snippet to assistant when opening assistant in sql editor 2024-11-15 15:37:53 +08:00
Joshen Lim 646958e41b Add the necessary checks for opt in and hipaa 2024-11-15 11:17:10 +08:00
Joshen Lim b678297463 Add SQL snippet content to assistant if opening assistant in sql editor 2024-11-15 10:46:24 +08:00
Saxon Fletcher d3be76a1b3 assistant button corners 2024-11-15 11:47:04 +10:00
Saxon Fletcher 735eca2858 pane size adjustment 2024-11-15 11:46:54 +10:00
ceba5ebc87 feat: image transformatio toggle (#30094)
* feat: image transformatio toggle

* fix api types

* move form field to top level

* regenerate api types

* fix ProjectDailyStatsAttribute type

* fix ts

* update styling

* Update image transformation description

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-15 00:35:02 +08:00
Ivan Vasilov 1157a20fbd feat: Queues v0.5 (#30418)
* Rename the regular/normal queues to basic.

* Move the partitioned type of queues to the end.

* Add metrics for the queues.

* Add actions for postponing and deleting a message.

* Add queue actions for purging and deleting a queue.

* Minor fixes for the empty stateof the queues page.

* Add a modal to send a message to the queue.

* Minor fixes.

* Correct some button texts.

* Refactor the metrics to switch to a rougher estimate method if it timeouts.

* Fix type errors.

* More minor fixes.
2024-11-14 13:02:29 +01:00
Kevin Grüneberg d6b32f05e9 fix: billing page not rendering with Google Translate (#30468)
Markdown component seems to be the root of evil here.
2024-11-14 18:54:23 +08:00
Joshen Lim 5aff777890 Reinstate old assistant in SQL editor if feature preview is off 2024-11-14 17:18:13 +08:00
Joshen Lim be68c7601d Implement diffing if using assistant in sql editor 2024-11-14 16:56:53 +08:00
Terry SuttonandJoshen Lim 1826e838aa Dont allow editing cron job names (#30443)
* Dont allow editing cron job names

* Cleanup

* Update apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-14 15:31:37 +08:00
Alaister Young 0e3bc5804b chore: remove useExecuteSqlQuery (part 1) (#30437)
* chore: remove useExecuteSqlQuery part 1

* fix invalidation

* fixes

* more fixes

* I fixed it, but tested on preview instead of local 🤦🏻

* only refetch table rows and not count on row updates

* removed unneeded invalidations and prefetched new table after create
2024-11-14 15:21:29 +08:00
Saxon Fletcher 7b45e421d4 fix table condition 2024-11-14 17:15:16 +10:00
Saxon Fletcher 349fb04ad6 updated empty state if no tables exist 2024-11-14 16:40:23 +10:00
Saxon Fletcher 3e68322813 add suggestions 2024-11-14 15:05:45 +10:00
Saxon Fletcher 0fb9e14205 Merge branch 'feat/assistant-prototype' of https://github.com/supabase/supabase into feat/assistant-prototype 2024-11-14 14:04:00 +10:00
Saxon Fletcher 808129e0ee remove canvas 2024-11-14 14:01:01 +10:00