Commit Graph

8632 Commits

Author SHA1 Message Date
Caleb Owens
148ac88434 fix mode undefined 2024-08-15 19:33:25 +02:00
Caleb Owens
84df8857cc
Merge pull request #4698 from gitbutlerapp/sanitize-all-text
sanitize all text
2024-08-15 18:11:27 +02:00
Caleb Owens
ca5de46bac sanitize all text 2024-08-15 18:02:18 +02:00
Nico Domino
13a270613c
feat: add ffmpeg video recorder for e2e tests (#4686) 2024-08-15 11:54:10 +02:00
Sebastian Thiel
00e3094795
Merge pull request #4689 from Byron/missing-project
better handling of missing projects
2024-08-15 11:28:15 +02:00
Sebastian Thiel
09f19b782d
There is a clear error if the project moved or was deleted
The user-interface also gets a code to respond to.
2024-08-15 11:23:15 +02:00
Sebastian Thiel
782e296bc1
Merge pull request #4691 from Byron/fail-on-missing-author
fail if Git author is missing
2024-08-15 09:06:48 +02:00
Sebastian Thiel
200b6e6d02
Fail when no author was found, and mark the error so the UI can react. 2024-08-15 08:53:19 +02:00
Kiril Videlov
1b63bfca61
Merge pull request #4690 from gitbutlerapp/remove-ssh-mod-from-repo
removes a code path through which an unknown ssh host is added as a known host
2024-08-14 17:14:22 +02:00
Kiril Videlov
05650b1e96
removes a code path through which an unknown ssh host is added as a known host
This functionality existed for convinience, before the app was able to fork exec to the git binary. Removing this as this trade off is no longer necessary or relevant
2024-08-14 16:26:24 +02:00
Caleb Owens
710938d41b
Merge pull request #4687 from gitbutlerapp/Refactor-modeService
Refactor mode service to remove manual unsubscribe
2024-08-14 11:54:40 +02:00
Caleb Owens
838f6e6226 Refactor mode service to remove manual unsubscribe 2024-08-14 11:22:47 +02:00
Caleb Owens
83283d918c
Merge pull request #4682 from gitbutlerapp/Provide-current-mode-to-frontend
Provide current mode to frontend
2024-08-14 10:02:37 +02:00
Pavel Laptev
fdea1cb0f5
UI lib: text utility classes (#4684) 2024-08-14 09:52:20 +02:00
Nico Domino
11ff8a71cc
feat: initial addProject test with WebdriverIO (#4589)
Co-authored-by: Mattias Granlund <mtsgrd@gmail.com>
Co-authored-by: Test User <test@example.com>
2024-08-13 17:31:19 +02:00
Caleb Owens
e0d7b56cb5 Provide current mode to frontend 2024-08-13 17:05:28 +02:00
Caleb Owens
796f8fe011
Merge pull request #4642 from gitbutlerapp/add-edit-mode
Add in edit mode variant (without logic for transitioning)
2024-08-13 14:27:44 +02:00
Caleb Owens
c98421171e Introduce edit mode
asdf
2024-08-13 14:14:02 +02:00
Kiril Videlov
8f51169004
Merge pull request #4680 from gitbutlerapp/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2024-08-13 11:54:17 +02:00
dependabot[bot]
9c65fa4855
Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 15:54:33 +00:00
Mattias Granlund
86a9af2c65 Run cli build before e2e tests 2024-08-12 09:55:49 +02:00
Pavel Laptev
273b7f9332
UI updates (#4676) 2024-08-12 09:34:18 +02:00
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