Ivan Vasilov
8b657165b5
chore: Migrate to use custom type for ReactQuery queries and mutations ( #40073 )
...
* Add custom types for queries, mutations and infinite queries.
* Migrate all queries to use the new type.
* Migrate all infinite queries to useCustomInfiniteQueryOptions.
* Migrate all mutations to use useCustomMutationOptions.
* Add type to all imports in `types` folder.
2025-11-03 13:18:13 +01:00
Ivan Vasilov
da4a40e308
chore: Migrate RQ functions to use object syntax style ( #39895 )
...
* Migrate all uses of invalidateQueries to use object syntax.
* Migrate the remainder of useInfiniteQuery.
* Migrate all setQueriesData.
* Migrate all fetchQuery uses.
* Migrate some leftover functions from RQ.
* Fix issues found by Charis.
2025-10-28 10:43:14 +01:00
Alaister Young and Joshen Lim
8855d05803
chore(studio): swap react-query to object syntax ( #39842 )
...
* chore(studio): swap react-query to object syntax
* Fix small issues found
* Fix realtime settings
* Nit
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2025-10-27 09:38:27 +01:00
Han Qiao and Charis
77561e8e09
chore: replace branch id with branch ref ( #38735 )
...
* chore: remove unused mutation to disable branching
* chore: use branch ref in delete mutation
* chore: use branch ref in diff query
* chore: use branch ref in push mutation
* chore: use branch ref in detail query
* chore: use branch ref in update mutation
* Update apps/studio/data/branches/branch-query.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-09-17 10:31:01 +08:00
Andrew Valleteau and Kevin Grüneberg
1ddfaf5a9e
fix(types): update branching types for api route changes ( #38548 )
...
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
2025-09-09 19:47:46 +08:00
ea38c6d153
Review and merge branch ( #36795 )
...
* allow creating branching without git
* update branching modals
* add account connections
* edit branch
* copy
* update copy
* enable branch modal changes
* add gitless branching flag
* update account connections
* merge page
* merge experiment
* update merge
* update pull requests empty state
* use diff query
* branch diffing
* diff query
* Clean up
* refinements to gitless branching
* branching merge and status
* link
* branch function diffing
* update styling
* refactor
* remove hook
* error handling
* move
* remove enable branching modal
* re-add github linker
* abstract away enable and disable
* toggle fixes
* update logic to lean on connection status
* update form logic
* sheet layout
* gitless flag
* style and workflow updates
* fix side panel size
* fix duplicate onerror
* copy changes
* refetch
* merge mutation copy
* remove import
* add cost
* allow connection details on create
* initial queries
* push button
* merge cleanup
* Fix TS issues
* Fix TS issues
* Couple of clean ups
* Revert hardcode in useFlag
* Fix TS
* layout issues and github check
* refactor
* refactor to use new field
* cleanup
* style
* failed merge
* error positioning
* refactoring merge
* workflow refactor
* hook move
* clarification with github integration
* replace branch dropdown button
* update repo picker
* updates
* remove modal
* fix small nits
* change defaults
* clean up
* disable if not gitless and no connection
* clean up
* always show workflow run id
* optimistic
* fix branch query
* fix issues
* fetch edge diff
* confirm merge
* update edge functions key
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com >
Co-authored-by: Alaister Young <a@alaisteryoung.com >
2025-07-04 14:57:59 +10:00