Commit graph

49 commits

Author SHA1 Message Date
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
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
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
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
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
a807aa9e12
code_style: remove all IDE warnings 2024-07-14 15:55:15 +08:00
leo
7febac5843
ux: reduce datagride column header height 2024-07-09 19:15:02 +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
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
217bc03581
ux: remove the MaxWidth for user name column in histories (#194) 2024-06-24 10:07:03 +08:00
leo
78c7168a46
enhance: make commit's subject the same with pretty print parameter %s in git log command 2024-06-07 12:31:10 +08:00
leo
064d04fccc
enhance: improve QueryCommits performance 2024-06-06 20:25:16 +08:00
leo
b6e087259b fix: memory leak caused by animation 2024-05-30 16:12:28 +08:00
leo
fa3a3b2dad refactor: code cleanup 2024-05-30 15:13:59 +08:00
leo
599ba01f20 ux: re-design Views.Repository
* It's better to move the `Navigate to HEAD` button to the top-right of this page.
* Icons and alignments
2024-04-18 10:50:14 +08:00
leo
1e3711e569 refactor: using a new DotBrushProperty instead of calling Application.TryGetResource 2024-04-17 16:16:11 +08:00
leo
09720f81d4 ux: use FontWeight.Bold for current head decorator 2024-04-02 20:42:17 +08:00
leo
96d4150d26 project: reorganize the structure of the project.
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
f834af10a2 refactor: change the way loading custom fonts 2024-03-05 16:02:47 +08:00
leo
ef352984f9 refactor<Histories>: remove DataGrid patch and use original API to get display offset 2024-02-19 15:30:10 +08:00
leo
d74a3fb550 fix<MacOS>: wrong path to find Terminal.app; GitInstallDir ends to the folder that contains bin/git; way to open and select file in Finder 2024-02-18 19:00:42 +08:00
leo
c73c5372d2 style<*>: use mono font for all contents 2024-02-18 10:41:41 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00