Commit Graph

7910 Commits

Author SHA1 Message Date
Kiril Videlov
e258710502
move ProjectRepo into its own crate
This type currently acts more or less like a command context that lives for the duration of the request. Regardless of if we wanna keep this pattern or not, separating it out helps us split up core
2024-07-08 13:23:03 +02:00
Kiril Videlov
306ab0bea9
move legacy credentail helper to gitbutler-repo crate
it's mostly used from there
2024-07-08 13:01:38 +02:00
Nico Domino
6f3103d4b5
fix: cleanup nixpkgs dependency and add webkitgtk_4_1 (#4274) 2024-07-08 10:41:58 +00:00
Kiril Videlov
8e2726f7af
Merge pull request #4273 from gitbutlerapp/move-gitbutler-ext
move repository ext trait to gitbutler-repo crate
2024-07-08 12:35:24 +02:00
Caleb Owens
af7ec339c3
Merge pull request #4269 from gitbutlerapp/wildlife-preservation
Prevented penguin genocide
2024-07-08 12:24:55 +02:00
Kiril Videlov
7ac2d3a619
move repository ext trait to gitbutler-repo crate 2024-07-08 12:21:01 +02:00
Nico Domino
1ca0ede5f2
fix: update flake.lock for rust tooling (#4272) 2024-07-08 12:15:35 +02:00
Caleb Owens
f64c79283d
Prevented penguin genocide 2024-07-08 12:12:39 +02:00
Pavel Laptev
aa6bc6d20c
Fix switcing between projects disabled state (#4271) 2024-07-08 12:10:40 +02:00
Pavel Laptev
2cdbc5e205
Modal and select component fixes (#4253)
* feat: fix clickoutside for multi modal case, fix select list options display.

* Move select to a separate folder

* Serach field CSS tweak

* Replace the old `Select` with the new one

* Remove old `Select` component and switch `SelectNew` component name

* Added `$effect` type to eslint config

* Added the `searchable` property to `Select`

* disable text selection and added an animation

* dropzone hover animation update

* Remove focus state outline

* Move `Listitem` to `ProjectPopup` as a snippet

* rename `useResize` to `resizeObserver`

* Rename `useAutoHeight` to `autoHeight`

* remove unused component `PopupMenuItem`

* Update `Unupply` modal design

* Handle `Select` position on resize

* added an animation to the new context menu

* Right click context menu added

* revert right click context menu

* Context menu: add `item` arg for the `open` method

* updated context menu for `Filter`, `FileItem`, branch `kebab` menu

* Updated Dropdown context menus

* Temporary remove `copy PR link`

* Rename: `BranchLanePopupMenu ` to `BranchLaneContextMenu`

* FileListItem uncomment commented code

* Hunk context menu updated

* Remove `PopupMenu`

* Replace the old `ContextMenu` file with the new one

* Added blocking overlay for dropdown context menus

* animation timing update

* `Select` folder renamed to `select`

* import fix

* import fix

* remove commented code and `console.log`

* add arrow navigation to the `Select` component

* case sensitivity added

* Update HunkViewer.svelte

* remove duplicated folder
2024-07-08 11:38:50 +02:00
Kiril Videlov
8a77a4b179
Merge pull request #4268 from gitbutlerapp/remove-useless-stateful-controller
remove useless stateful controller
2024-07-08 11:17:00 +02:00
Nico Domino
4f62f12135
fix: set defaults for workflow_dispatch (#4267) 2024-07-08 09:09:14 +00:00
Kiril Videlov
a83a9a8ffc
remove useless stateful remotes controller
The same stuff can be achievecd without hoarding state
2024-07-08 10:58:16 +02:00
Kiril Videlov
f9f8addb72
move repo related commands out of the project controller 2024-07-08 10:47:37 +02:00
Kiril Videlov
7c7143a570
create new module in tauri for repo related functions
moving out of project
2024-07-08 10:36:06 +02:00
Kiril Videlov
a226d23eaa
Merge pull request #4265 from gitbutlerapp/move-repository-code-to-own-create
move repository code to own create
2024-07-08 01:02:32 +02:00
Kiril Videlov
f92df0cde7
move RepoActions to gitbutler-repo crate 2024-07-08 00:45:04 +02:00
Kiril Videlov
90670def3b
add ci for the gitbutler-repo crate 2024-07-08 00:28:47 +02:00
Kiril Videlov
ce497ef7cd
move rebase module to a new repo crate 2024-07-08 00:27:17 +02:00
Kiril Videlov
e37f02030a
move repo syncing code to the sync crate 2024-07-08 00:09:39 +02:00
Kiril Videlov
0f89bfa327
Merge pull request #4263 from gitbutlerapp/refactor-project-Repository
refactor project Repository
2024-07-08 00:02:08 +02:00
Kiril Videlov
83297de784
remove a leftover file that was moved to another crate 2024-07-07 23:49:14 +02:00
Kiril Videlov
f7ea32730f
remove unnecessary metho drom RepoActions 2024-07-07 23:37:15 +02:00
Kiril Videlov
018e550560
move remote_branches function from RepoActions to RepositoryExt 2024-07-07 23:33:58 +02:00
Kiril Videlov
e75d99aca0
remove unused functions 2024-07-07 23:26:02 +02:00
Kiril Videlov
66e8e8b91b
remove useless indirection when getting repo head 2024-07-07 23:24:45 +02:00
Kiril Videlov
c62c43ed6c
remove useless indirection when getting index size 2024-07-07 23:22:58 +02:00
Kiril Videlov
569d282700
remove dependence of projects controller towards repo actions 2024-07-07 23:19:48 +02:00
Kiril Videlov
50577f3865
remove inappropriate path function from repo actions trait 2024-07-07 23:12:43 +02:00
Kiril Videlov
6dcbb8bddb
move conflicts module to branches crate 2024-07-07 22:58:48 +02:00
Kiril Videlov
0924b506d7
remove deps towards repository actions from remotes controller 2024-07-07 22:38:33 +02:00
Kiril Videlov
ca2ffaac68
separate complex actions on Project repo in a separate trait 2024-07-07 22:28:27 +02:00
Kiril Videlov
143b3252a7
rename Repository type to ProjectRepo
Less misleading this way..
2024-07-07 22:09:45 +02:00
Kiril Videlov
b72e3de178
Merge pull request #4262 from gitbutlerapp/feature-add-virtual-branches-access-trait
Move branch state to a separate crate
2024-07-07 21:48:38 +02:00
Kiril Videlov
9258614a64
adds ci for branchstate crate 2024-07-07 21:29:20 +02:00
Kiril Videlov
e2bfb03fa9
remove irrelevant test
This test used to exercise the custom iterator that existed before
2024-07-07 21:27:09 +02:00
Kiril Videlov
00a77d9327
move branch state into a separate crate 2024-07-07 21:26:07 +02:00
Kiril Videlov
71809fc882
remove project dependency on oplog 2024-07-07 21:10:31 +02:00
Kiril Videlov
1c9b702993
Merge pull request #4261 from gitbutlerapp/move-vb-files-to-crate
move vb files to crate
2024-07-07 21:09:27 +02:00
Kiril Videlov
a7aa9b0e10
move remote module to the branch crate 2024-07-07 20:48:12 +02:00
Kiril Videlov
3d0455f12b
move virtual branch files impl our of core 2024-07-07 20:35:26 +02:00
Kiril Videlov
da9f495816
Merge pull request #4260 from gitbutlerapp/move-oplog-to-own-crate
move oplog to its own crate
2024-07-07 20:33:19 +02:00
Kiril Videlov
6d5ef6b03e
adds a ci job for oplog crate 2024-07-07 20:18:40 +02:00
Kiril Videlov
c36f67f148
move oplog to its own crate
This protects us from cyclic dependencies. Unfortunatelly as part of this, i had to introduce the imp Project as trait implementations since now Project is foreign
2024-07-07 20:00:01 +02:00
Kiril Videlov
b286a6e2d3
Merge pull request #4259 from gitbutlerapp/add-gitbutler-sync-crate
move cloud sync functionality to its own crate
2024-07-07 19:38:25 +02:00
Kiril Videlov
68c6fe1c04
add ci for the sync crate 2024-07-07 19:24:35 +02:00
Kiril Videlov
d456ba5e77
move cloud sync functionality to its own crate 2024-07-07 19:22:41 +02:00
Kiril Videlov
832ef485c4
Merge pull request #4258 from gitbutlerapp/Move-virtual-branches-implementation-out-of-core-and-into-gitbutler-branch-crate
Move virtual branches implementation out of core and into gitbutler-branch crate
2024-07-07 17:43:03 +02:00
Kiril Videlov
9dc82e8fe9
move virtual, integration and base modules to gitbutler-branch crate 2024-07-07 17:30:18 +02:00
Kiril Videlov
f224207029
move remaining integration constants to core 2024-07-07 16:49:25 +02:00