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
leo
1c204e72a1
refactor: remove dependency on Avalonia.Controls.TreeDataGrid
2024-07-12 17:14:52 +08:00
leo
7f228385f9
refactor: use cutom RevisionFileTreeView
instead of TreeDataGrid
2024-07-12 13:54:38 +08:00
leo
f53e16b6a1
ux: new node should not be selected
2024-07-12 11:11:15 +08:00
leo
3c770e2525
ux: tree toggle button
2024-07-12 11:01:02 +08:00
leo
e5462f0086
code_style: run dotnet format
to apply code style rules
2024-07-10 12:12:14 +08:00
leo
7febac5843
ux: reduce datagride column header height
2024-07-09 19:15:02 +08:00
leo
c94f5877e3
fix: Ctrl+V
trigger twice due to async operation ( #249 )
2024-07-09 18:53:36 +08:00
leo
9db050e8c2
fix: commit stucks when using SSH formatted GPG signing with a key contains non-empty passphrase
2024-07-09 17:56:23 +08:00
leo
386c92fa28
localization: add translations for histories datagrid column header
2024-07-09 16:42:07 +08:00
leo
06ba2fd733
feature: allow to resize the width of AUTHOR
column in histories ( #203 )
2024-07-09 16:29:41 +08:00
leo
51a68027c8
ux: add a toggle button to reveal password
2024-07-09 15:26:46 +08:00
leo
c16bed1d9f
enhance: run commit search in background
2024-07-09 15:15:31 +08:00
leo
6930b51c64
refactor: commandline parsing
...
* `--rebase-todo-editor` launches this app as a git `sequence.editor`
* `--rebase-message-editor` launches this app as a git `core.editor` which runs on background by reading rebasing jobs
* `--core-editor` launches this app as a git `core.editor`
* `--askpass` launches this app as a SSH askpass program
2024-07-09 12:20:52 +08:00
leo
cbe4c36525
feature: support git.core.askpass ( #239 )
2024-07-08 22:07:00 +08:00
leo
8fa19ecd0c
enhance: better commit graph
2024-07-08 18:10:26 +08:00
leo
16d9b627f0
refactor: rename Models.CustomColorSchema
to Models.ThemeOverrides
because it do NOT contains only colors currently.
2024-07-08 16:21:57 +08:00
ghiboz
2c310e8cd4
Merge branch 'develop' into graph_thickness
2024-07-07 10:54:54 +02:00
leo
09b418374a
feature: add an option to enable -a,--all
in commit command ( #244 )
2024-07-07 10:28:14 +08:00
leo
1d7b77e45f
fix: virtualization not working
2024-07-07 00:17:36 +08:00
leo
294f856150
fix: bounds not updated after left side bar layout updated
2024-07-06 23:50:54 +08:00
leo
b03ee19e54
refactor: trigger nagivation in BranchTree
2024-07-06 20:46:26 +08:00
leo
36b8472d02
enhance: improve selection changed event handler performance
2024-07-06 17:29:24 +08:00
leo
3197b4bfe8
refactor: use custom BranchTree instead of TreeView to improve performance
2024-07-06 17:17:41 +08:00
ghiboz
c0348b73bd
set pen thickness
...
"General": {
"Pen.Thickness": "4.4"
}
2024-07-05 14:02:30 +02:00
leo
1c524cf310
enhance: better sidebar layout
2024-07-05 10:46:00 +08:00
leo
91d73e2aa4
fix: layout do not updated after group was collapsed
2024-07-04 19:41:38 +08:00
leo
f904b3b71a
enhance: improve performance
2024-07-04 19:12:22 +08:00
leo
c03cc85232
enhance: skip update layout after detached from visual tree
2024-07-04 18:18:35 +08:00
leo
6553e27d36
refactor: rewrite the way to get local & remote branch tree height
2024-07-04 18:14:10 +08:00
leo
8faa8c7378
ux: more flex layout for left siderbar groups
2024-07-04 17:59:32 +08:00
leo
15e7df6085
ux: disable WordWrap in side-by-side diff because it may lead to alignment issue between two sides
2024-07-04 14:12:39 +08:00
leo
d822afc4ec
ux: trim text in diff editor if length of line is greater than 10000 ( #234 )
...
* ignore WordWrap while trimming text, because displaying the full content content with a length greater than 10000 is meaningless
2024-07-03 15:34:29 +08:00
leo
7e16058148
ux: trim change path in information page
2024-07-03 01:15:36 +08:00
leo
c170f261db
ux: re-design commit detail information page to avoid commit message hidden in scoll view
2024-07-02 20:59:28 +08:00
leo
4ef0f1180f
feature: add tooltip for branches ( #228 )
2024-07-02 10:23:21 +08:00
leo
68abb2d78b
fix: crash when clipboard is empty
2024-07-01 21:08:37 +08:00
leo
254eac11a1
enhance: paste text on subject
...
* for single line text, all text will be pasted in subject text box
* if paste in the middle of subject content, multi-line text will be transformed into single line text by `ReplaceLineEndings(" ")`
* if paste in the end of subject content, multi-line text will be split into two parts.
- first line will be pasted in the subject box
- remains will be pasted in the start of description box
2024-07-01 21:02:01 +08:00
leo
4998f14547
ux: option order
2024-07-01 20:31:43 +08:00
leo
366e467578
feature: add new color key Color.DecoratorFG
to customize foreground color of commit refs ( #225 )
2024-07-01 20:28:30 +08:00
leo
fca20965f8
feature: add two color keys Color.DecoratorBranch
and Color.DecoratorTag
( #225 )
2024-07-01 16:32:17 +08:00
leo
6dad466eef
feature: supports --no-tags
on fetch and pull operation ( #226 )
2024-07-01 16:19:29 +08:00
leo
de1a4d14e8
enhance: disable blame on submodules
2024-07-01 13:45:48 +08:00
leo
7f389b2e6f
refactor: move settings of repository, such as filters, commit message, from Preference
to each repository's gitdir.
...
* avoid invalid repository setting remains in preference.json
* supports to restore tabs that not added to the Welcome page
2024-07-01 11:57:13 +08:00
leo
705f6537af
ux: bottom corner for launcher page tab
2024-06-30 19:03:23 +08:00
leo
3ba027bd16
ux: prevents the top border from being cropped
2024-06-29 17:15:10 +08:00
leo
1241539260
refactor: custom renderer for launcher tab bar
2024-06-29 17:04:39 +08:00
leo
4fa388501a
ux: add a new color Color.BadgeFG
for text in badge
2024-06-29 10:47:09 +08:00
leo
aee6df4132
feature: supports to search stashes ( #213 )
2024-06-28 18:57:56 +08:00
leo
3e54ab0227
enhance: makes Create New Branch
option as the default selected mode for adding new worktree
2024-06-28 14:11:13 +08:00
leo
db8e534a0a
refactor: rewrite & redesign the ux for AddWorktree
popup ( #205 )
2024-06-28 12:07:33 +08:00
leo
8dfe882455
enhance: use -B
instead of -b
to support creating worktree with existed branch ( #205 )
2024-06-28 09:38:11 +08:00
leo
ac00d1a221
fix: window border artifacts when drag maximized window to another monitor
2024-06-27 22:06:05 +08:00
leo
f8c4137c78
feature: supports to search/filter tags ( #215 )
2024-06-27 21:43:15 +08:00
leo
575f902a5d
ux: add minimal height limitation for commit message textbox
2024-06-27 19:34:24 +08:00
leo
fa2c7c0e18
enhance: simpfy the way to lock a worktree
2024-06-27 19:19:21 +08:00
leo
8a8aabede3
feature: add worktree support ( #205 )
2024-06-27 18:25:16 +08:00
leo
43af8c49a1
enhance: supports use Shift+Enter on popups
2024-06-27 11:38:51 +08:00
leo
40cf5608d3
refactor: rewrite CommitMessageTextBox
2024-06-27 11:24:40 +08:00
leo
e330862ec9
refactor: rewrite Launcher
...
* move main tabbar to a standalone control
* simpfy notification
2024-06-26 20:56:29 +08:00
leo
1ce0d0f7bf
fix: crash when using Ctrl to unselect active tab
2024-06-26 16:47:43 +08:00
leo
d2e3b683f1
code_style: make geometry icon resources list in order
2024-06-26 15:51:49 +08:00
leo
0c21bcd06a
enhance: Git LFS supports ( #209 )
...
* add a new context menu to push local LFS object to selected remote
* supports to choose remote for fetch/pull/push/lock/unlock actions
* auto select remote if there's only one remote
2024-06-26 11:50:22 +08:00
leo
51e05dcddc
enhance: add hotkey Ctrl+Shift+H
(Windows/Linux) and ⌘+⇧+H
(macOS) to switch left side bar back to dashboard mode
2024-06-26 09:31:58 +08:00
leo
6206626687
ux: group label layout
2024-06-25 21:32:05 +08:00
leo
58be0b7dad
ux: move left siderbar mode switcher top
2024-06-25 20:16:13 +08:00
leo
faabfd6b80
enhance: save last visual line numbers in diff view ( #207 )
2024-06-25 18:15:31 +08:00
leo
d43f88da03
code_review: PR #208
...
* make sure there's only one radio button that will change the binding value
* remove unused code
2024-06-25 17:57:21 +08:00
leo
b50ae21699
Merge pull request #208 from gadfly3173/fix/search-btn
...
fix: SearchFilter radio button checked status
2024-06-25 17:53:55 +08:00
leo
54de6dfa66
ux: layout for tags and submodules
2024-06-25 17:40:02 +08:00
Gadfly
ef64c44142
fix: SearchFilter radio button checked status
2024-06-25 17:33:09 +08:00
leo
b5393c5ace
fix: selected color of ListBoxItem not work on Debain 12 Wayland
2024-06-25 16:08:27 +08:00
leo
432f5a98da
ux: new design for repository left side bar
2024-06-25 15:03:21 +08:00
leo
8b56c03d87
ux: unify content height of page switcher (exclude borders)
2024-06-25 11:51:02 +08:00
leo
11c687538e
ux: new style for page switcher
2024-06-25 11:44:39 +08:00
leo
2d4f8709ca
enhance: forbid to reword or squash when there're local changes
2024-06-25 10:26:31 +08:00
leo
3b7545e4fb
fix: ignore all whitespace before real content when calculate subject/total message length
2024-06-24 20:40:47 +08:00
leo
885dccb52b
ux: multiple layout style changes
2024-06-24 19:52:00 +08:00
leo
0a4723db74
localization: translations for reward input tip
2024-06-24 16:15:36 +08:00
leo
0d03d08bf0
ux: use CommitMessageTextBox
in Reword popup panel
2024-06-24 16:07:57 +08:00
leo
4f61cd1b38
enhance: add a toolbar button to create top-level group
2024-06-24 12:10:53 +08:00
leo
cac6b2002f
ux: labels in BLEND mode of image diff view
2024-06-24 11:51:41 +08:00
leo
217bc03581
ux: remove the MaxWidth
for user name column in histories ( #194 )
2024-06-24 10:07:03 +08:00
leo
39eecd66d7
ux: allows users to adjust the height of the commit message input box ( #201 )
2024-06-24 09:40:39 +08:00
leo
907e009275
ux: subject length tooltip font size and color
2024-06-23 21:35:28 +08:00
leo
ee6c360dc9
ux: z order of horizontal indicator line
2024-06-23 17:30:47 +08:00
leo
dca8f8b39b
feature: warn when commit subject line goes beyond a certain number of characters ( #201 )
2024-06-23 15:45:54 +08:00
leo
d3042bbe8d
ux: style for buttons in conflict bar
2024-06-22 19:35:15 +08:00
leo
dbce8eebde
refactor: use the same control between image preview view and image diff view
2024-06-22 18:56:49 +08:00
leo
4e8e39d2fe
enhance: do NOT use render target when there's only added or delete image.
2024-06-22 14:00:49 +08:00
leo
dde5d4a2a8
ux: margins for FileHistories content
2024-06-22 12:07:28 +08:00
leo
209f51da9e
enhance: new image alpha blend implementation
2024-06-22 11:25:19 +08:00
leo
7a5279f717
ux: hide if image not exists
2024-06-21 23:52:40 +08:00
leo
d23740d9e8
ux: tab item font size for image diff view
2024-06-21 23:18:46 +08:00
leo
73e450c684
enhance: new image blend algorithm
2024-06-21 23:07:11 +08:00
leo
2a85f26754
fix: openpgp
typo
2024-06-21 23:02:28 +08:00
leo
e1cdbae0ab
fix: wrong percentage for both old and new
2024-06-21 18:49:17 +08:00
leo
1f0c4be625
enhance: update GPG program path after type changed
2024-06-21 18:38:32 +08:00
leo
16b6e90656
fix: configuration of gpg.ssh.program
was cleared on Preference windows closing.
2024-06-21 18:23:32 +08:00
leo
8e88df92b3
feature: add two view mode for image diff - side-by-side and blend
2024-06-21 17:48:19 +08:00
leo
280df7377e
code_style: remove useless code
2024-06-20 20:58:14 +08:00
leo
b39d33a897
ux: style change for InteractiveRebase
2024-06-20 20:03:01 +08:00
leo
8c8e09aa67
fix: crash when de-select commit using Ctrl
2024-06-20 17:32:14 +08:00