Commit Graph

8137 Commits

Author SHA1 Message Date
Kiril Videlov
0c9c781bd5
Renaming crate gitbutler-branch to gitbutler-virtual
This is more descriptive to what logic lives inside. Further, this allows for splitting up the just branch bits in a separate crate (which is currently in gitbutler-core)
2024-07-08 20:56:00 +02:00
Kiril Videlov
a8615f81f1
Merge pull request #4283 from gitbutlerapp/move-author-and-askpass-mods
move author and askpass mods
2024-07-08 20:17:29 +02:00
Kiril Videlov
41ec6da226
move askpass module to repository where it is being used 2024-07-08 19:45:35 +02:00
Kiril Videlov
f965a3e4cf
move author module to the branch crate - the only place this is used 2024-07-08 19:35:49 +02:00
Kiril Videlov
4bd723ac2c
Merge pull request #4282 from gitbutlerapp/extract-user-crate
extract user crate
2024-07-08 19:31:45 +02:00
Kiril Videlov
82431b182e
actually remove the code that was move out 2024-07-08 19:06:04 +02:00
Kiril Videlov
e1cf6b1884
remove some unused code 2024-07-08 19:03:50 +02:00
Kiril Videlov
83a1d4a1e5
extract user as its own crate out of core 2024-07-08 18:58:29 +02:00
Nico Domino
28a01e68fa
fix: cleanup hooks.client.ts handleError fn (#4222) 2024-07-08 18:50:49 +02:00
Kiril Videlov
f042854b1c
combine the assets proxying implementaiton in one file
Now it's only used in one place
2024-07-08 18:23:51 +02:00
Kiril Videlov
cdbf4d8cd3
move legacy config module out of core 2024-07-08 18:12:12 +02:00
Kiril Videlov
da8e685b67
Merge pull request #4277 from gitbutlerapp/extract-project-from-core-into-its-onw-crate
At long last - project is being extracted out of core into it's own create
2024-07-08 18:10:12 +02:00
Kiril Videlov
ba4359c7dc
fix an import oopsie 2024-07-08 17:58:56 +02:00
Kiril Videlov
ba5b9ff0ee
Merge branch 'master' into extract-project-from-core-into-its-onw-crate 2024-07-08 17:57:17 +02:00
Caleb Owens
e8d1ca887f
Merge pull request #4249 from gitbutlerapp/Store-unappied-branches-in-vbranches.toml
Remove more remnents of unapplied branches
2024-07-08 17:23:31 +02:00
Caleb Owens
bf9cc91d3e
No longer using commit headers other than change_id 2024-07-08 17:09:01 +02:00
Pavel Laptev
c9f803fda3
Popup menus: update fixed margins to relative untis (#4279) 2024-07-08 16:29:15 +02:00
Pavel Laptev
4acff2ba46
Fixes to popups (#4278)
* Project selector update

* replace old with the new `clickOutside` helper

* Fix positioning bug for context and select menus
2024-07-08 16:00:42 +02:00
Kiril Videlov
e93896621f
move project module in a separate gitbutler-project crate 2024-07-08 15:33:26 +02:00
Caleb Owens
2e8065128e
Recover old virtual branches state 2024-07-08 15:00:10 +02:00
Caleb Owens
f1ad8e6ca3
Handle the old_applied type 2024-07-08 15:00:03 +02:00
Caleb Owens
066d6d2437
Rename 'list_branches' to convey more meaning 2024-07-08 14:58:31 +02:00
Caleb Owens
54744ef78c
Remove more remnents of unapplied branches 2024-07-08 14:58:28 +02:00
Kiril Videlov
f7094fcdff
move config module to a separate gitbutler-config crate 2024-07-08 14:49:45 +02:00
Kiril Videlov
71af86ef1e
Merge pull request #4276 from gitbutlerapp/extract-zipper
separate sending zipped logs functionality into gitbutler-feedback crate
2024-07-08 14:07:09 +02:00
Kiril Videlov
a049711472
separate sending zipped logs functionality into gitbutler-feedback crate 2024-07-08 13:52:22 +02:00
Kiril Videlov
a8f1254e4b
Merge pull request #4275 from gitbutlerapp/move-ProjectRepo-into-separate-crate-gitbutler-command-context
move ProjectRepo into separate crate gitbutler-command-context
2024-07-08 13:37:12 +02:00
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