Commit graph

2174 commits

Author SHA1 Message Date
leo
20b45a1cf4
fix: when base is current worktree, the diff content of selected change is wrong
* remove warnings in JetBrains Rider (it seems JetBrains can NOT recognize Binding.TargetNullValue)
2024-07-27 21:35:57 +08:00
leo
4612cecf10
code_review: PR (#288)
* add missing translations and it's no need to add `OnPull` suffix since it already has a prefix `Text.Pull.`
* when enable fetching all branches of selected remote, use merge/rebase command instead of pull
* re-arrange orders of options in pull popup panel
* default enable `Fetch all branches`
2024-07-27 20:35:19 +08:00
leo
924a2ce935
Merge pull request #288 from RevenantX/fetch_all_on_pull_option
Add fetch all branches on pull option (acts like fetch+pull)
2024-07-27 19:58:03 +08:00
RevenantX
8a38b6afac Add fetch all branches on pull. (acts like fetch+pull) 2024-07-27 12:52:01 +03:00
leo
0b6cab41cf
enhance: refresh braches immediately after a branch has been added/deleted 2024-07-27 17:27:24 +08:00
leo
7bfb684bde
refactor: update submodule (#287) 2024-07-26 18:49:07 +08:00
leo
58c685627f
fix: AvaloniaVS designer doesn't work 2024-07-26 17:47:22 +08:00
leo
206de8681f
project: upgrade Avalonia to 11.1.1 2024-07-26 17:35:13 +08:00
leo
b084ee5168
fix: left side by layout did not update after size changed 2024-07-26 16:32:48 +08:00
leo
c83b1fb145
ux: tab bottom corner 2024-07-26 15:14:05 +08:00
leo
bab1a57480
refactor: using x:Int32 and x:String instead of custom types 2024-07-26 15:02:23 +08:00
leo
81331d10c7
project: add build files 2024-07-26 12:01:31 +08:00
leo
d3be3e938f
fix: wrong window margin and border if window is started as maximized 2024-07-26 12:01:09 +08:00
leo
17b0d7ddcb
build: update build scripts 2024-07-26 11:43:59 +08:00
leo
5f02f95e62
ux: use Classes instead of set FontFamily directly 2024-07-26 10:38:55 +08:00
leo
85ce2f9cab
enhance: prevent property changed event if it is unchanged 2024-07-26 10:23:19 +08:00
leo
aae1c41dcd
enhance: extends highlight area of selected/detected chunk to line number area 2024-07-26 10:18:28 +08:00
leo
1bff77cfcf
fix: TextDiffViewChunk render issue 2024-07-25 17:57:28 +08:00
leo
1d5331cf73
code_style: remove unused converters 2024-07-25 15:33:41 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter to draw commit's decorators (refs) directly 2024-07-25 15:31:16 +08:00
leo
3ddaba1c28
ux: change the icon for clear stashes 2024-07-25 12:05:12 +08:00
leo
1d249a0216
ux: remove vertical seperator 2024-07-25 11:49:54 +08:00
leo
31f918071f
refactor: repository configure
* move button to the left
* change view type from Popup to ChromelessWindow
2024-07-25 10:59:06 +08:00
leo
0fb121e6ed
ux: toolbar icon size 2024-07-24 19:22:45 +08:00
leo
dd55270634
ux: move toolbar buttons those will show popups to center 2024-07-24 19:18:04 +08:00
leo
efe6d743cf
enhance: allow to compile with dotnet 8.0.106 (#281) 2024-07-24 19:07:31 +08:00
leo
8e60ec619e
fix: %(refname:short) sometimes return a wrong tag name that contains the prefix tags/ 2024-07-24 18:52:12 +08:00
leo
869ba7a471
ux: improve tooltip recognition 2024-07-24 17:45:30 +08:00
leo
537ac3e2df
ux: toolbar button icon size 2024-07-24 17:09:30 +08:00
leo
013b4285e4
ux: text displayed when current branch is valid 2024-07-24 16:39:18 +08:00
leo
e29d78e2ae
feature: show current branch on toolbar (#283)
* re-arrange toolbar buttons
* move `Navigate to HEAD` button to toolbar
2024-07-24 16:36:34 +08:00
leo
6f317039ab
feature: add CurrentBranch property to ViewModels.Repository 2024-07-24 15:36:26 +08:00
leo
f8caeceade
refactor: remove unnecessary memebers 2024-07-24 14:32:27 +08:00
leo
ad3eeabb83
feature: allow swap in branch compare 2024-07-24 12:17:44 +08:00
leo
3ef703c65d
code_style: run dotnet format 2024-07-24 11:45:16 +08:00
leo
9e048751ae
refactor: move non-observable object from ViewModels to Models
* ViewModels.MergeMode -> Models.MergeMode
* ViewModels.Notification -> Models.Notification
* ViewModels.ResetMode -> Models.ResetMode
* use `int` instead of `ViewModels.CountSelectedCommits`
2024-07-24 11:44:13 +08:00
leo
0dee3a1969
refactor: use Binding.TargetNullValue instead of empty class Models.CompareTargetWorktree 2024-07-24 11:16:28 +08:00
leo
6038fecab4
code_review: PR (#282)
* add translations for `Text.CommitCM.CopyInfo`
* unify length of commit's short SHA
2024-07-24 10:42:58 +08:00
leo
114e5f8c1a
Merge pull request #282 from RevenantX/copy_commit_info
Add copy info that copies "{Short SHA} - {commit subject}" into clipboard
2024-07-24 10:35:58 +08:00
RevenantX
300c1c99bf
Add copy info that copies "{Short SHA} - {commit subject}" into clipboard 2024-07-24 10:34:35 +08:00
leo
b160f4e47a
enhance: clear selection after swap compare targets 2024-07-23 19:30:16 +08:00
leo
1583b08892
code_review: PR (#280)
* tooltip for swap button
* move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree`
* remove unused `Models.IObjectId`
* fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
2024-07-23 19:26:04 +08:00
leo
8d4e010fc2
Merge pull request #280 from workgroupengineering/feature/RevisionCompare-Swap-Commits
feat: Allow Swap Commits in Revision Compare
2024-07-23 18:38:26 +08:00
Giuseppe Lippolis
5cc30f7d10 feat: Allow Swap Commits in Revision Compare 2024-07-23 11:41:33 +02:00
leo
cd1eed4356
fix: column header vertical seperator missing in some cases 2024-07-23 15:14:52 +08:00
leo
fa9990c38c
code_style: move SourceGit.ViewModels.RepositorySettings to SourceGit.Models.RepositorySettings 2024-07-23 14:52:25 +08:00
leo
183cb8a658
enhance: supports checking updates with hotfix version 2024-07-23 14:36:27 +08:00
leo
40d5a7c7f3
code_style: run dotnet format to apply rules 2024-07-23 13:58:57 +08:00
leo
e0319e3f9b
fix: ssh-askpass not working (#272) 2024-07-23 13:48:52 +08:00
leo
d4b262248a
fix: IntelliJ IDEA Ultimate and IntelliJ IDEA Community fallbacks to JetBrains common icon (#279) 2024-07-23 12:07:39 +08:00