Kiril Videlov
b72f9c2199
move error marker out of virtual_branches mod
...
It's useful outside of it
2024-06-28 11:35:44 +02:00
Mattias Granlund
f67744eea1
Fix for incorrect GitHub error when working in non-GitHub repos
2024-06-28 12:32:33 +03:00
Kiril Videlov
b623952fdd
Merge pull request #4198 from gitbutlerapp/remove-print-tree-function
...
refactor: Remove unused _print_tree function.
2024-06-28 11:21:26 +02:00
Kiril Videlov
1137111430
Merge pull request #4197 from gitbutlerapp/refactor-rebasing-functions
...
refactor: move rebase functions out of virtual_branches module
2024-06-28 11:17:10 +02:00
Kiril Videlov
8ed324580c
refactor: Remove unused _print_tree function.
2024-06-28 11:10:27 +02:00
Kiril Videlov
251d56677d
refactor: move rebase functions out of virtual_branches module
...
This opens the doors for further simplifying the core
2024-06-28 11:04:15 +02:00
Kiril Videlov
f16afa6e4e
Merge pull request #4194 from gitbutlerapp/login-robustness
...
more robust login handling by deleting corrupt user.json file
2024-06-27 23:17:56 +02:00
Caleb Owens
dd0b4eccf1
Improve ai error handling ( #4180 )
...
* Introduce a result type
* Update AI error handling to use the result type
* Handle ollama json parse error
* Migrate using Error as the type that represents errors
* Remove now useless condition
* asdfasdf
* Use andThen
* Correct unit tests
2024-06-27 20:50:44 +01:00
Pavel Laptev
518cc8b77e
Fix overflow
issue for the Generate msg dropdown ( #4195 )
2024-06-27 16:48:57 +02:00
Sebastian Thiel
adc50a7e7f
more robust login handling by deleting corrupt user.json file
...
If a user.json file cannot be loaded, delete it automatically
to avoid users to get stuck in 'something went wrong' during layout.
Older versions of GB wouldn't find the access-token in the user.json file
anymore, which would be completely removed via #4165
2024-06-27 15:10:48 +02:00
Pavel Laptev
900316ad7a
Fix: Base icon CSS ( #4193 )
...
- Fix top margin for unfolded base row
- Fix CSS variables (added new, remove ununsed)
2024-06-27 00:40:33 +02:00
Kiril Videlov
41b1b93bf0
Merge pull request #4190 from gitbutlerapp/remove-unused-rsqlite-dep
...
refactor: Remove rusqlite dependency and related code.
2024-06-26 16:33:52 +02:00
Kiril Videlov
b886ff84f1
refactor: Remove rusqlite dependency and related code.
2024-06-26 16:21:24 +02:00
Pavel Laptev
b4509efa44
Allow rebasing toogle menu position updated ( #4189 )
2024-06-26 15:48:01 +02:00
Kiril Videlov
6da1b444ba
Merge pull request #4188 from gitbutlerapp/Add-an-allow-rebasing-toggle-on-per-branch-basis
...
Add an 'allow rebasing' toggle on per-branch basis
2024-06-26 14:20:55 +02:00
Kiril Videlov
324941ea0e
add tooltip on the allow rebasing toggle for lanes
2024-06-26 14:02:36 +02:00
Kiril Videlov
3fb7f3b8bb
add the ability to toggle the allow rebasing flag for lanes in the UI
2024-06-26 13:53:13 +02:00
Kiril Videlov
d17534d291
adds the ability to update the allow_rebasing flag on branches and fix tests
2024-06-26 10:23:31 +02:00
Pavel Laptev
8de4c3b651
Don't focus the last item if multiple selection ( #4186 )
2024-06-25 22:48:33 +02:00
Kiril Videlov
d4267b81d5
use per-branch flag to check if rebasing is allowed
2024-06-25 21:36:43 +02:00
Kiril Videlov
dc27f164f6
Merge pull request #4183 from gitbutlerapp/amend-commit-label-update
...
style: Correct spelling of "Ammend" to "Amend" in CardOverlay.
2024-06-25 20:14:16 +02:00
Kiril Videlov
2aa22a16de
style: Correct spelling of "Ammend" to "Amend" in CardOverlay.
2024-06-25 20:12:38 +02:00
Kiril Videlov
03214dcaa1
introduce a new flag for branches determining if rebasing is allowed
2024-06-25 20:10:27 +02:00
Caleb Owens
c0102d4f95
Merge pull request #4182 from gitbutlerapp/Remove-log-that-was-intended-at-one-point-in-time
...
Remove log that was intended at one point in time
2024-06-25 19:54:09 +02:00
Caleb Owens
e5b248c60b
Merge pull request #4181 from gitbutlerapp/Don-t-auto-generate-branch-names
...
Don't auto-generate branch names
2024-06-25 19:53:52 +02:00
Caleb Owens
5be7b26731
Remove log that was intended at one point in time
2024-06-25 19:46:55 +02:00
Caleb Owens
439320ebeb
Don't auto-generate branch names
2024-06-25 19:43:23 +02:00
Caleb Owens
676b05b318
Merge pull request #4179 from gitbutlerapp/Fix-daft-mistake
...
Fix daft mistake
2024-06-25 19:05:25 +02:00
Caleb Owens
2952b0355f
Fix daft mistake
2024-06-25 15:26:04 +02:00
Kiril Videlov
6387bbfa49
Merge pull request #4176 from gitbutlerapp/remove-unused-code
...
remove unused code
2024-06-25 15:02:41 +02:00
Nico Domino
1fd41cc192
fix(nix): use corepack_20
in the flake input instead of pnpm
directly ( #4177 )
2024-06-25 14:57:11 +02:00
Kiril Videlov
d4ab41cef9
remove unused code
2024-06-25 14:50:17 +02:00
Mattias Granlund
6d6789d494
Update branch delete modal message
...
- it is no longer true the action cannot be undone
- resolves gh issue #4066
2024-06-25 15:27:28 +03:00
Kiril Videlov
e707bdd812
Merge pull request #4174 from gitbutlerapp/cool-with-submodules
...
cool with submodules
2024-06-25 13:35:05 +02:00
Mattias Granlund
e499b8fdfd
Remove timestamp_ms
from Hunk
...
We are not using it, let's re-introduce if needed in the future.
2024-06-25 14:23:45 +03:00
Kiril Videlov
70dc0b54f3
remove a restriction on adding repos with submodules
2024-06-25 13:23:08 +02:00
Kiril Videlov
e4897c467a
ignore submodules on oplog list submodules
2024-06-25 13:21:51 +02:00
Mattias Granlund
0ae5ded3ec
Add test covering issue #4148
2024-06-25 13:09:21 +03:00
Mattias Granlund
e91634bcdb
Move a couple of test utils to test_project.rs
2024-06-25 13:09:21 +03:00
Caleb Owens
96ed0e6d65
Merge pull request #4143 from gitbutlerapp/update-remote-commits-branch-fix
...
Redo line drawing
2024-06-25 11:07:55 +02:00
Caleb Owens
22810aa23d
Merge branch 'master' into update-remote-commits-branch-fix
2024-06-25 11:05:39 +02:00
Kiril Videlov
881e9967c9
Merge pull request #4168 from gitbutlerapp/fix-hunk-locking-logic
...
Fix bug in hunk -> branch assignment
2024-06-25 10:52:29 +02:00
Pavel Laptev
fd86ec7a64
CSS: Dashed line fix
2024-06-24 23:55:28 +02:00
Pavel Laptev
3735be9d70
CSS: remove extra div wrapper
2024-06-24 23:22:13 +02:00
Pavel Laptev
90186f5154
The dotted line was not seamless
...
This approach seems to be working
2024-06-24 22:59:49 +02:00
Pavel Laptev
ee2054c1ea
CSS tweaks
...
- Move matching line classes into a separate CSS file in order to track and maintain styles changes better
- small z-index issue fixed
2024-06-24 22:46:16 +02:00
Mattias Granlund
d12698abb5
Fix bug in hunk -> branch assignment
...
- return early on lock only if hunk matches or intersects
2024-06-24 23:11:39 +03:00
Mattias Granlund
28d72ae5c0
Simplify login code a bit more
...
- remove rxjs
- use loading state by user service
2024-06-24 23:08:40 +03:00
Caleb Owens
80cf077b16
Undo oopsie
2024-06-24 21:21:40 +02:00
Caleb Owens
eb2205b92b
sadfsadfafds
2024-06-24 21:14:03 +02:00