Commit Graph
1572 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 441fa18df6 moar 2024-12-04 19:41:44 +08:00
Jonathan Summers-Muir 40b9c0ceda Update tabs.ts 2024-11-26 16:31:39 +08:00
Jonathan Summers-Muir 050943be41 Update tabs.ts 2024-11-26 16:27:08 +08:00
Jonathan Summers-Muir 481fb13ef2 tabs now in feature flags 2024-11-26 16:24:46 +08:00
Jonathan Summers-Muir df9fe8c150 moar stuff 2024-11-26 15:27:07 +08:00
Jonathan Summers-Muir 4bef52b2cc snippets in empty state now work 2024-11-26 14:06:30 +08:00
Jonathan Summers-Muir 6e75f36ce9 new tab cards 2024-11-26 02:07:12 +08:00
Jonathan Summers-Muir 13f488fe8b lots of issues with types/icons/redirect 2024-11-26 00:11:11 +08:00
Jonathan Summers-Muir f61e4fc791 fix background of loading skeleton 2024-11-25 22:30:11 +08:00
Jonathan Summers-Muir e93d4165cf removes preview tab if there is one 2024-11-25 22:29:57 +08:00
Jonathan Summers-Muir 7c6b74cb20 fix border 2024-11-25 19:21:46 +08:00
Jonathan Summers-Muir 7c6794a9bd preview style works in sql editor 2024-11-25 19:15:45 +08:00
Jonathan Summers-Muir 1d414e8f79 remove old assistant because its bugging up panels 2024-11-25 18:55:15 +08:00
Jonathan Summers-Muir 6da5ae8fad fixed isOpened state for SQL snippets 2024-11-25 14:36:42 +08:00
Jonathan Summers-Muir de3e4c6380 update ID handling 2024-11-25 12:27:54 +08:00
Jonathan Summers-Muir 7585609510 intialization issue 2024-11-23 02:19:28 +08:00
Jonathan Summers-Muir f2d53d1008 add tabs support for multiple project refs 2024-11-23 01:45:09 +08:00
Jonathan Summers-Muir 697115d38f fix code bg 2024-11-23 00:54:01 +08:00
Jonathan Summers-Muir d2a3130162 fix tabs 2024-11-23 00:20:27 +08:00
Jonathan Summers-Muir 4993ded071 new pages now have fixed layouts 2024-11-23 00:09:22 +08:00
Jonathan Summers-Muir ffd2acfda9 layouts switched 2024-11-23 00:02:43 +08:00
Jonathan Summers-Muir da8f52ae75 Update tabs.ts 2024-11-22 23:09:35 +08:00
Jonathan Summers-Muir 3b28902a22 fix empty tab issue 2024-11-22 23:09:28 +08:00
Jonathan Summers-Muir 752b8c2c9d bunch of new tab logic 2024-11-22 23:06:17 +08:00
Jonathan Summers-Muir 7be75c9812 moar 2024-11-22 19:36:09 +08:00
Jonathan Summers-Muir 329206642a lots of updates. layouts now streamlined. localstorage for tabs in use 2024-11-22 19:01:27 +08:00
Jonathan Summers-Muir 81c35f602f Update ProjectLayout.tsx 2024-11-22 16:53:57 +08:00
Jonathan Summers-Muir 7a7ea2273b update sidebar logic 2024-11-22 16:21:46 +08:00
Jonathan Summers-Muir 5ef0b5e044 move back button, fix width issues on sidebar 2024-11-22 15:11:35 +08:00
Jonathan Summers-Muir 5497ee5b56 update test 2024-11-22 13:40:43 +08:00
Jonathan Summers-Muir 9aef10c5b9 remove unused files 2024-11-22 13:18:28 +08:00
Jonathan Summers-Muir 54387841b3 Merge branch 'master' into feat/conslidate-sql-and-table 2024-11-22 12:20:18 +08:00
Jonathan Summers-Muir a5c1b609d1 fix type errors 2024-11-22 12:17:29 +08:00
Alaister Young 8c72360707 chore: update invoice pay now redirect (#30565) 2024-11-22 12:07:50 +08:00
Jonathan Summers-Muir e13855375c Merge branch 'master' into feat/conslidate-sql-and-table 2024-11-22 11:52:00 +08:00
37f77ae482 Add new ui for restore to new project (#30325)
* add new ui for restore to new project

* rm false

* fix typeerr badly

* add form with name and new project pass

* fix flash in loading > results state change

* restore api types

* update api types, add pitr picker

* add additional monthly spend section

* fix loading state jump

* update copy

* update api types

* update to new clone status api res

* fix mutation missing vars

* dont render logical backups in list

* fix state issue on submit

* better pitr empty state

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* Apply suggestions from code review

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* update api types to accept recoveryTimeTarget for PITR restores

* simplify pitr code a bit cleanup state bugs

* cleanup

* add PITR submit

* dont show restore btn unless status is complete

* update api types

* fix backups nav

* markdown descs and fix type err in nav

* check if project is cloned

* fix: make source project data optional

* fix datepicker highlighted day style

* fix tz picker

* check if its same or before/after in isWithinRange

* update api types fix issue with clones

* unsus

* fix markdown rendering issues

* add badge

* Update database roles and permissions description

* Update restore message text in PITR form component

* Update key attribute to item.id in DatabaseBackupsNav component

* Add conditional rendering for multiple available dates

* Refactor dialog section styles in restore-to-new-project.tsx

* Update null to undefined in conditional text assignment

* reuse component in pitr backups

* Update apps/studio/pages/project/[ref]/database/backups/restore-to-new-project.tsx

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* Update link to original project in RestoreToNewProject

* fix prettier

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Crispy1975 <12525875+Crispy1975@users.noreply.github.com>
2024-11-21 17:52:10 +01:00
Jonathan Summers-Muir 3b0c5880ac Merge branch 'master' into feat/conslidate-sql-and-table 2024-11-21 23:50:37 +08:00
Jonathan Summers-Muir 5cd436a16f override feature flag for FLY (#30578) 2024-11-21 11:49:50 +08:00
Terry SuttonandJoshen Lim 4fb9b58486 Chore/cron ai nudges (#30527)
* Adjust prompt, ui

* Account for seconds properly

* More minute adjustments

* Account for seconds properly, again

* Lint

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-11-20 08:18:22 -03:30
Monica Khoury 72e8c84bf9 fix: LinkedIn (OIDC) & Slack (OIDC) providers filter under Authentication > Users (#30474)
* fix: linkedin & slack providers filter

* Fix typecheck
2024-11-20 12:14:20 +01:00
Alaister Young a2b3415236 feat: display trigger condition (#30521) 2024-11-20 19:01:42 +08:00
6e456911c7 Fix: Dynamic texts for CHECK constraint placeholder (#29230)
* Create dynamic texts for CHECK constraint placeholder relative to the selected option of Postgres Data types

* modify text to use column name instead of hard-coded string

* prettier and small updates

* only update placeholder when format or name changes

* remove extra whitespace

---------

Co-authored-by: Jason <jason@debian>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-11-20 06:56:13 +00:00
Terry Sutton c931e3001a Chore/realtime policies (#30552)
Allow editing realtime messages rls policies
2024-11-19 12:03:29 -03:30
Terry Sutton 0c99d0dc5d Chore/pass islocked to policy rows (#30495)
Pass isLocked all the way down to the row
2024-11-19 10:43:05 -03:30
Jordi Enric bf3b251934 capitalize editor (#30549)
fix
2024-11-19 11:33:10 +00:00
Alaister Young da01e5a354 chore: add prefetching delay (#30519)
* chore: add prefetching delay

* adjust delay to 75ms
2024-11-18 22:20:49 +08:00
Terry Sutton 1b0dc084c8 Chore/side panel formatting (#30498)
side panel header area formatting
2024-11-18 09:50:19 -03:30
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
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
Kevin Grüneberg e36be4e102 fix: copy for downgrading Fly partner org (#30464) 2024-11-15 17:01:20 +08:00