leo
75b7724d44
refactor: implement IDisposable
instead of calling custom Cleanup
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-20 17:24:00 +08:00
leo
2c8370fa92
refactor: get graph clip width from grid column definition directly
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-08 13:39:27 +08:00
leo
008708f07c
ux: use larger font size for commit ref label
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-08 13:13:22 +08:00
leo
832fcd7487
fix: offset of commit graph does not look quite right ( #1287 )
...
This is because that when using `VirtualizingStackPanel`, the `Bounds.Height` of `ListBoxItem` may not be the same with its `Height` setted in axaml.
Signed-off-by: leo <longshuang@msn.cn>
2025-05-08 12:22:23 +08:00
leo
4b2983b330
fix: commit detail panel is overlapping history when resizing ( #1273 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-03 21:09:43 +08:00
leo
d2e688908c
ux: use different inline code background for different themes
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-25 21:26:21 +08:00
leo
a94c7f55ce
ux: remove tips in commit list
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-25 13:37:11 +08:00
leo
8c4362a98d
feature: subject presenter supports inline codeblock
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-25 13:24:13 +08:00
leo
df5294bcb7
feature: git bisect
support
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 15:45:15 +08:00
leo
ac7b02590b
enhance: add comma between date and time ( #1150 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-04-07 10:23:37 +08:00
leo
2512d3be7a
feature: allow to hide tags in graph ( #1109 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-18 21:40:31 +08:00
leo
695db2a319
code_style: run dotnet format
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-17 20:57:18 +08:00
Gadfly
66517fd4bf
enhance: add tooltips to various UI elements for better accessibility ( #1097 )
...
* enhance: add tooltips to various UI elements for better accessibility
* refactor: simplify user string conversion
2025-03-16 11:23:42 +08:00
leo
0476a825ef
code_style: move some code from Histories.axaml
to separate files
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-12 14:58:59 +08:00
leo
aa0d4b4296
ux: adjust column width of commit hash and time after font size changed ( #994 )
...
Signed-off-by: leo <longshuang@msn.cn>
2025-03-06 11:50:22 +08:00
wl2776
6e5626f267
fix: several typos in source code ( #895 )
2025-01-13 10:11:28 +08:00
leo
26ebd5ae7e
feature: add option to only highlight current branch in commit graph ( #848 )
...
- add a toggle button to only highlight current branch in commit graph
- re-order buttons in histories toolbar
- remove unused icons and styles
2025-01-06 14:59:27 +08:00
leo
87e7b792bb
refactor: date time format
...
- generate example dynamically
- update commit/author time in histories immediately after data time format changed
2024-12-31 10:43:00 +08:00
leo
ee20eba047
ux: limit the minimal width/height of resizable panels ( #619 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-29 16:51:54 +08:00
leo
9668efbd8c
code_style: remove Rider warnings
2024-10-20 20:16:54 +08:00
leo
7f8a1c384a
ux: add tips for selecting multiple commits in histories view
2024-10-16 11:58:31 +08:00
leo
1ec7123584
ux: add Background
property to avoid unclear display for selected state
2024-10-15 14:48:29 +08:00
leo
b44d4d26c9
ux: do not use graph color for commit refs (decorators) in commit details panel
2024-10-15 09:53:22 +08:00
leo
6908216de5
ux: new commit graph decorator style ( #564 )
2024-10-14 21:09:03 +08:00
leo
21e15a1af4
feature: add a toggle in perference to show author time instead of committer time in graph ( #558 )
2024-10-12 09:56:33 +08:00
leo
1a4d3d0086
enhance: remember the height/width of commit list and detail panel in histories page ( #472 )
2024-09-14 17:22:29 +08:00
leo
837e3889b7
ux: column width in histories ( #438 )
2024-09-02 15:28:30 +08:00
leo
de86890012
ux: make it easier to change the width of column AUTHOR
2024-09-02 14:34:51 +08:00
leo
1f4bf92642
ux: remove margins for column 'AUTHOR' in histories view
2024-08-29 15:02:06 +08:00
leo
48e1de809b
ux: style for commit info row in histories view
2024-08-28 14:38:06 +08:00
leo
bd6228bb26
refactor: using ListBox
instead of DataGrid
for commit list and remove dependency of Avalonia.Controls.DataGrid
2024-08-28 10:02:14 +08:00
leo
a717dc1876
ux: add Color.DecoratorHead
for current branch head ( #395 )
2024-08-23 19:22:04 +08:00
leo
8f114e8a32
ux: change style for commit ref decorators ( #395 )
...
* change font from `Fonts.Monospace` to `Fonts.Primary`
* increase the font size
2024-08-23 17:41:38 +08:00
leo
6ab0900b20
feature: add a button to see which branches and tags that contains selected commit ( #388 )
2024-08-23 16:52:55 +08:00
leo
9057b71f2d
refactor: rewrite the font configuration ( #366 )
...
* input font name directly instead of a font picker because localized font family name is not supported by Avalonia
* fallback monospace font to default font
* remove unused code
2024-08-19 17:14:41 +08:00
leo
55da40f8dc
fix: sometimes textblock with issue link will render nothing
2024-08-14 11:06:37 +08:00
leo
a145d6e4c3
revert: remove issue link support in commit list
...
* improve render performance
* the links in commit list are very easy to click by mistake
2024-08-13 15:58:34 +08:00
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed
2024-08-09 15:17:04 +08:00
leo
a7ea61f9af
refactor: remove binding null warnings
2024-08-06 15:33:23 +08:00
leo
9bee51686a
feature: show issue link on commit list of histories view ( #315 )
2024-08-06 11:02:52 +08:00
leo
4ba7c879c5
feature: use Ctrl+C
to copy selected commits in histories ( #321 )
2024-08-06 10:04:08 +08:00
leo
addfb449cc
feature: double click on commit ( #295 )
...
* when commit is current branch head, do nothing
* when commit is head of some local branch which is not current, try to checkout this branch
* otherwise, ask user should checkout selected commit as deteched
2024-07-30 11:47:58 +08:00
leo
327b8033b6
rename: rename monospace
style to primary
2024-07-29 20:48:04 +08:00
leo
efa02d9e96
ux: remove unnecessary controls
2024-07-29 15:07:41 +08:00
leo
c8b688c52d
ux: DataGrid header style in histories page
2024-07-28 11:10:43 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter
to draw commit's decorators (refs) directly
2024-07-25 15:31: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
cd1eed4356
fix: column header vertical seperator missing in some cases
2024-07-23 15:14:52 +08:00
leo
ef0cf76571
project: upgrade AvaloniaUI to 11.1.0
2024-07-23 11:45:54 +08:00
leo
b2e6de3afa
ux: move ahead/behind indicator to front of refs
2024-07-19 10:08:41 +08:00