Commit Graph

8840 Commits

Author SHA1 Message Date
Caleb Owens
148ac88434 fix mode undefined 2024-08-15 19:33:25 +02:00
Caleb Owens
d3e3ffffd2 fix githost factory initialization 2024-08-15 19:00:44 +02:00
Comnir
b92ee0f3ee Fix imports 2024-08-15 19:50:50 +03: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
Comnir
b5a5be42b0 Revert BackButton changes 2024-08-14 19:51:29 +03:00
Comnir
4735da4990 Replace BackButton with a Button 2024-08-14 19:47:33 +03: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
Nir
a8f6e0a3b9
Change action name and logging 2024-08-14 09:01:11 +03: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
Kiril Videlov
74c8bce48d
add BranchReference type to the Branch persisted struct
This allows (virtual) branches to keep track of associated references
2024-08-10 21:35:40 +02:00
Comnir
bb791f7d13 Remove colons, following svelte(?) upgrade 2024-08-10 20:28:22 +03:00
Comnir
130cef5eb4 fix: clicking Cancel on new project page does nothing
- Fixes #2539
- Clicking 'Add new project' immediately adds the the repo to the projects list
- Clicking Cancel on the project setup pageredirects to the app root page
- If the projects list conatins a project, the root page redirects to the project page. When the project setup is incomplete, the project setup is displayed
- To avoid this redirect, clicking cancel now deletes the project
2024-08-10 20:00:51 +03: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