leo
1bff77cfcf
fix: TextDiffViewChunk
render issue
2024-07-25 17:57:28 +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
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
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
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
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
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
40d5a7c7f3
code_style: run dotnet format
to apply rules
2024-07-23 13:58:57 +08:00
leo
ef0cf76571
project: upgrade AvaloniaUI to 11.1.0
2024-07-23 11:45:54 +08:00
leo
720b2b65f3
code_style: change static methods of ViewModels.Preference to member function
2024-07-22 15:34:31 +08:00
leo
91801cff69
enhance: only trigger UpdateSelectedChunk
if needed
2024-07-19 11:01:31 +08:00
leo
5b95344453
code_style: move commit methods to base class
2024-07-19 10:43:19 +08:00
leo
b2e6de3afa
ux: move ahead/behind indicator to front of refs
2024-07-19 10:08:41 +08:00
leo
f0649c95b5
feature: add an indicator that shows those commits the current branch ahead/behind its upstream
2024-07-19 09:29:16 +08:00
leo
9de2853003
enhance: unify selection mode and hunk mode
2024-07-18 16:26:39 +08:00
leo
42f8e41985
ux: lower background opacity for selected hunk
2024-07-18 12:16:36 +08:00
leo
dbc95e7209
refactor: move some method from view to its data source class
2024-07-18 11:40:56 +08:00
leo
e64026d44c
fix: MakeSelection
should not use UseSideBySideDiff
directly
2024-07-18 11:26:47 +08:00
leo
14469b1399
theme: add ThemeOverrides.OpacityForNotMergedCommits
to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories ( #268 )
2024-07-18 10:46:39 +08:00
leo
b2ed1b283a
enhance: only replace hunk data if needed
2024-07-18 10:18:02 +08:00
leo
a68b61da94
ux: background highlight margin
2024-07-17 17:14:46 +08:00
leo
26c59bfd0d
code_style: move common funtion to base class
2024-07-17 17:10:32 +08:00
leo
b7e0e38de3
feature: stage/unstage hunk ( #265 )
2024-07-17 16:56:16 +08:00
leo
6d888f8007
code_style: remove unused namespace using
2024-07-16 17:03:36 +08:00
leo
ef0c904e91
ux: improve change list selection
2024-07-16 17:00:08 +08:00
leo
72ca571c00
localization: add translations for commit time period
2024-07-16 14:06:02 +08:00
leo
1eb77a5e49
feature: add a toggle button to change the commit time display mode to time period it is passed from now ( #259 )
2024-07-16 12:16:08 +08:00
leo
950083df34
enhance: exit loop on the first path that out of canvas bound
2024-07-15 21:16:55 +08:00
leo
3b0f481e4b
ux: welcome toolbar button layout
2024-07-15 20:28:00 +08:00
leo
dc407b6033
feature: add tooltip for commit time that shows how much time it is from now ( #259 )
...
* this tooltip does NOT update until it's owner row recreated or the DataContext of that row changed. You can scroll it out of bounds to force refresh the tooltip
2024-07-15 16:58:45 +08:00
leo
684fedb9bd
ux: icons
2024-07-15 15:47:28 +08:00
leo
d3095d44c4
ux: macOS close window button icon
2024-07-15 10:27:10 +08:00
leo
3aad24a64e
enhance: secure exit
2024-07-15 09:54:46 +08:00
leo
f4eca45754
code_style: remove all IDE warnings
2024-07-15 00:30:31 +08:00
leo
24ca3eaf8c
ux: tree folder icon margin
2024-07-14 16:06:40 +08:00
leo
a807aa9e12
code_style: remove all IDE warnings
2024-07-14 15:55:15 +08:00
leo
6a8527a394
refactor: commit search ( #256 )
2024-07-13 22:36:59 +08:00
leo
38c6c7713e
ux: macOS close window icon
2024-07-13 10:03:45 +08:00
leo
fd5ec5ee46
ux: toggle change tree node should trigger rows selection changed event
2024-07-13 09:51:57 +08:00
leo
6206c6abbc
ux: remove unused styles
2024-07-12 17:42:03 +08:00