Commit graph

29 commits

Author SHA1 Message Date
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