Commit Graph

8660 Commits

Author SHA1 Message Date
Caleb Owens
d9d93f21e8
Merge pull request #4674 from gitbutlerapp/Scope-selected-option-to-project
Have selected filter be specific to a project
2024-08-11 17:39:04 +02:00
Caleb Owens
e18749ad1f feat(branches): add project-specific branch listing options
Implement project-specific persistence for branch listing options.
This change ensures that each project maintains its own selected
option state, improving user experience across multiple projects.
Update CombinedBranchListingService to use project-specific
persistence and modify its constructor to include projectId.
2024-08-11 17:29:49 +02:00
Caleb Owens
4757ade9ce
Merge pull request #4673 from gitbutlerapp/Performance-improvements-and-conditionally-hiding-PRs-button
Lazy load sidebar entries and conditionally show PRs option
2024-08-11 17:25:35 +02:00
Caleb Owens
d68959bb78 feat(branch): optimize listing and enhance lazy loading
Improve branch listing performance and lazy loading behavior.
Introduce debouncing for branch listing updates to reduce
unnecessary calls. Refactor LazyloadContainer for better
efficiency and reliability. Update Branches component to use
reactive search term. These changes aim to enhance overall
application responsiveness and user experience.
2024-08-11 16:08:29 +02:00
Mattias Granlund
56ff9c7f5f Add upload for e2e artifacts
- adding outside e2e branches since actions run on master
2024-08-11 12:02:54 +02:00
Caleb Owens
2942aaeab4
Merge pull request #4669 from gitbutlerapp/Added-a-failure-event-for-repository-cloning
feat(CloneForm): add error tracking and improve typing
2024-08-10 15:56:00 +02:00
Caleb Owens
4c47923485 feat(CloneForm): add error tracking and improve typing
Adds Sentry exception tracking and PostHog event capture for
repository clone failures.
2024-08-10 15:31:04 +02:00
Kiril Videlov
2b70372933
Merge pull request #4668 from gitbutlerapp/update-navigation-styles-height-fix
makes it easier to drag window
2024-08-10 13:54:08 +02:00
Kiril Videlov
252568ec20
makes it easier to drag window 2024-08-10 13:51:12 +02:00
Sebastian Thiel
06924f05bd
Merge pull request #4665 from Byron/git2-to-gix
Use `gix` for branch normalization
2024-08-10 10:37:19 +02:00
Kiril Videlov
b2030b48c0
Merge pull request #4667 from gitbutlerapp/update-delete-button-name
refactor: Change button text to "Delete local" in BranchPreviewHeader.
2024-08-09 22:52:10 +02:00
Kiril Videlov
a6ada0423f
refactor: Change button text to "Delete local" in BranchPreviewHeader. 2024-08-09 22:48:58 +02:00
Sebastian Thiel
b92407a5df
branch-listing benchmarks now work again
They type system is more strict now, rejecting an invalid branch name outright.
2024-08-09 21:53:42 +02:00
Sebastian Thiel
107eea6743
Use gix for branch normalization 2024-08-09 21:53:38 +02:00
Sebastian Thiel
0d1ac25ef4
Use the latest version of gix for sanitization support 2024-08-09 21:14:17 +02:00
Kiril Videlov
ed7a8c4027
Merge pull request #4663 from gitbutlerapp/create-delete-local-branch
create-delete-local-branch
2024-08-09 16:07:54 +02:00
Kiril Videlov
d635f72269
i dont trust the old Refname implementation
So not using it for deletion here
2024-08-09 15:59:32 +02:00
Nico Domino
494e2284b7
fix: handle local paths as git remote URIs (#4664) 2024-08-09 15:46:32 +02:00
Sebastian Thiel
af6815d3e6
Merge pull request #4658 from Byron/fixes
Fix complete app breakage due to BString serialization, and prevent it from occurring again
2024-08-09 15:37:08 +02:00
Kiril Videlov
63b43b3f23
UI: the branch preview now has a button to delete local branches 2024-08-09 15:30:10 +02:00
Kiril Videlov
e295da03a1
adds a delete local branch command
This allows for deleting local branches and any associated virtual branches, so long as they have been unapplied first
2024-08-09 15:29:08 +02:00
Kiril Videlov
a261ca281e
Merge pull request #4659 from gitbutlerapp/UX/UI--Sidebar-selected-state
UX/UI: Improve selected state for sidebar buttons
2024-08-09 13:48:20 +02:00
Sebastian Thiel
de2989f352
Don't use gix built-in serialization as it will leave BString as sequence of numbers.
Instead, we need it to be a string, even if lossy.
2024-08-09 13:12:36 +02:00
Pavel Laptev
1e68698cd1 UX/UI: Improve selected state for sidebar buttons 2024-08-09 12:34:29 +02:00
Sebastian Thiel
acbd42fce3
Revert "remove unnecessary BString-related serde functions."
This reverts commit 3043f099b7.

We actually need this - me removing it just means it wasn't properly
documented and clarified in the type-system as to why this is needed.
2024-08-09 10:52:05 +02:00
Sebastian Thiel
4c76e2a6ee
Revert "Revert "Merge pull request #4652 from gitbutlerapp/git2-to-gix""
This reverts commit 88496e6219.
2024-08-09 10:30:52 +02:00
Kiril Videlov
eebdae680b
Merge pull request #4657 from gitbutlerapp/rev-something
Revert "Merge pull request #4652 from gitbutlerapp/git2-to-gix"
2024-08-09 10:26:23 +02:00
Kiril Videlov
88496e6219 Revert "Merge pull request #4652 from gitbutlerapp/git2-to-gix"
This reverts commit ae8b05ae70, reversing
changes made to 4d9b6a4a93.
2024-08-09 10:18:51 +02:00
Sebastian Thiel
9a4b86a6d8
Merge pull request #4651 from Byron/assure-benches
assure `benches` do not rot
2024-08-09 08:54:19 +02:00
Sebastian Thiel
ae8b05ae70
Merge pull request #4652 from gitbutlerapp/git2-to-gix
Follow-up cleanup of Branch-Listing with `gix`
2024-08-09 08:53:55 +02:00
Kiril Videlov
4d9b6a4a93
Merge pull request #4655 from gitbutlerapp/package-UI
Fix: path to fonts in UI
2024-08-09 08:53:16 +02:00
Pavel Laptev
c940d74631 Fix: path to fonts in UI 2024-08-08 21:15:05 +02:00
Sebastian Thiel
6720e987fe
Use gix::refs::PartialName as even stronger guarantee for what's in there 2024-08-08 21:04:09 +02:00
Sebastian Thiel
712ce582cb
Use BranchIdentity type instead of given_name().
This is a change in perception, as `given_name()` was the name of a virtual-branch,
which is also used to correlate other similarly named branches.

Thus, it's now more than just that, and for lack of a better word it's called
the 'identity' of a branch.

It's something very specific and shouldn't accidentally be used wrongly, hence
the strong typing.
2024-08-08 20:53:15 +02:00
Sebastian Thiel
5376a8b012
Author name uses BString to avoid degeneration 2024-08-08 20:53:14 +02:00
Sebastian Thiel
3df2da6de5
Use gix::remote::Name for type-safety. 2024-08-08 20:53:14 +02:00
Sebastian Thiel
f2a462f9b3
switch to latest gitoxide for updates supported the following changes 2024-08-08 20:53:10 +02:00
Sebastian Thiel
3043f099b7
remove unnecessary BString-related serde functions.
They are supported when the respective bstring feature is used.
2024-08-08 17:25:18 +02:00
Sebastian Thiel
8ed90644a1
refactor serde crate to avoid name duplication 2024-08-08 16:59:38 +02:00
Sebastian Thiel
187c26b650
fix the benchmark file as CI should now report it's OK 2024-08-08 16:29:54 +02:00
Sebastian Thiel
7a0cc9c789
Add clippy-validation for every possible target
This way, it's not possible anymore to accidentally break code just because CI doesn't try to build it.

Note that this is unrelated to features, which would still need to be specified or built individually
by CI.
2024-08-08 16:29:11 +02:00
Sebastian Thiel
c754479cc5
break benchmark intentionally to see if CI catches it 2024-08-08 16:25:16 +02:00
Sebastian Thiel
e1ece12768
Delete seemingly unused file
`check.sh` could not be found anywhere in the codebase.
2024-08-08 16:13:12 +02:00
Kiril Videlov
ee7660f395
Merge pull request #4650 from gitbutlerapp/add-reference-name-struct
derive some useful traits for tagged string and reference name
2024-08-08 15:11:26 +02:00
Kiril Videlov
c2566a58e3
Merge branch 'master' into add-reference-name-struct 2024-08-08 15:07:28 +02:00
Nico Domino
7d1b7b99db
fix(ui): update ui output (#4649) 2024-08-08 14:51:37 +02:00
Kiril Videlov
7d629c52b5
derive some useful traits for tagged string and reference name 2024-08-08 14:48:06 +02:00
Caleb Owens
99eac848cf
Merge pull request #4640 from gitbutlerapp/write-tests-for-existing-gitbutler-modes
Write tests for existing modes
2024-08-08 10:54:20 +02:00
Caleb Owens
035fafa30b
Merge pull request #4644 from gitbutlerapp/inline-unified-word-diffs
Add inline unified word diffs
2024-08-08 10:48:57 +02:00
Kiril Videlov
6d0fc5e8da
Merge pull request #4632 from Byron/git2-to-gix
branch-listing with `gix`
2024-08-08 09:51:00 +02:00