Hannes Braun
bb54c14566
Add Enter as keybinding for staging/unstaging
2024-08-28 15:17:07 +02:00
leo
3d57398d15
refactor: show statistics data by authors intead of committers
2024-08-28 18:38:29 +08:00
leo
83b802e357
refactor: collect the commits for the most recent year instead of just the current year ( #414 )
2024-08-28 18:16:57 +08:00
leo
48e1de809b
ux: style for commit info row in histories view
2024-08-28 14:38:06 +08:00
leo
3ea80d99f1
code_style: remove unused namespace using and run dotnet format
2024-08-28 13:42:25 +08:00
leo
4bcdd0ade4
fix: commit graph clip bounds
2024-08-28 13:36:09 +08:00
leo
45212ebc28
refactor: rewrite Views.CommitGraph.Render
2024-08-28 13:26:46 +08:00
leo
ddcab64940
enhance: do NOT redraw commit graph if vertical scroll of commit list not changed
2024-08-28 13:19:44 +08:00
leo
ce2340456e
feature: cherry-pick multiple commits ( #418 )
2024-08-28 11:26:00 +08:00
leo
b2bbbb191c
fix: copy multiple commits info not working anymore
2024-08-28 10:17:12 +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
7776cda475
enhance: using lightweight ListBox
instead of DataGrid
to improve performance
2024-08-27 21:28:48 +08:00
leo
1f07c1bdf0
ux: force enable horizontal stretch for commit message ( #400 )
2024-08-27 16:40:46 +08:00
leo
b16d267c9b
enhance: show git errors when failed to get the repository root dir of given path ( #397 )
2024-08-27 15:35:10 +08:00
Gadfly
208dd9a5e0
enhance: make HEAD commit badge highlight
2024-08-27 14:54:28 +08:00
leo
959805d63c
feature: auto scrolling while seleting text in commit message ( #394 )
2024-08-27 14:47:20 +08:00
leo
551ea883ff
code_style: remove unnecessary call
2024-08-27 14:15:20 +08:00
leo
e0b09d4dd4
feature: using TextBlock instead of SelectableTextBlock for commit SHA and add a button to copy it
2024-08-27 12:20:36 +08:00
Gadfly
80559ce199
fix: try-catch OpenFolderPickerAsync to avoid crash when select a directory is NOT exist
2024-08-27 10:40:49 +08:00
leo
492f22fcfa
enhance: add inlines once time and mark text layout dirty ( #400 )
2024-08-26 21:46:43 +08:00
leo
27a68f0d4d
enhance: add inlines once time and mark text layout dirty ( #400 )
2024-08-26 21:41:48 +08:00
leo
ead2af7d65
enhance: clear unhandled modifiers at begining of OnKeyDown
2024-08-26 11:00:03 +08:00
leo
a42412c732
ux: style for squash popup
2024-08-25 21:45:37 +08:00
leo
184c89ea1d
feature: supports squash multiple commits into selected commit ( #408 )
2024-08-25 21:39:59 +08:00
leo
8f7567a060
feature: do NOT save visual diff context lines
2024-08-25 11:33:38 +08:00
leo
e9eb433471
ux: change default view mode in FileHistories to CHANGES
2024-08-25 11:20:10 +08:00
leo
9a68d70b29
feature: add a button in file histories view to reset selected file to selected commit
2024-08-24 12:06:38 +08:00
leo
db8de81120
refactor: rewrite file histories page to only focus on selected file ( #403 )
2024-08-24 11:36:02 +08:00
leo
1caf02ff06
code_style: remove unused namespace using and run dotnet format
2024-08-23 22:26:17 +08:00
leo
a717dc1876
ux: add Color.DecoratorHead
for current branch head ( #395 )
2024-08-23 19:22:04 +08:00
leo
3569e1696f
ux: larger font size for HEAD decorator ( #395 )
2024-08-23 18:47:08 +08:00
leo
07e3c30535
ux: remove the highlighted border for search text box in Welcome page ( #398 )
2024-08-23 18:05:09 +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
a223ec1fc6
ux: smaller loading icon
2024-08-23 17:07:11 +08:00
leo
e845c270cd
fix: Ctrl+F
is not working when Welcome page is not focused ( #398 )
2024-08-23 17:05:13 +08:00
leo
c76d521f12
localization: title for commit relation tracking popup
2024-08-23 16:58:18 +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
9bcadf3523
ux: using WrapPanel instead of StackPanel to prevent content out of bounds ( #396 )
2024-08-23 10:57:33 +08:00
leo
c3f2c5836a
feature: handle ESC
key to clear search in Welcome page
2024-08-23 10:39:09 +08:00
leo
729e0d6cc8
ux: new style for current HEAD
2024-08-23 10:29:43 +08:00
leo
c1ee47a79d
code_style: remove unused code and run dotnet format
2024-08-23 10:28:16 +08:00
leo
e6f3ab5e68
ux: different node in graph ( #395 )
2024-08-23 10:22:53 +08:00
leo
7389f5d521
revert: item should fill the height of tree node
2024-08-22 21:57:39 +08:00
leo
38770af13d
ux: vertical align center
2024-08-22 21:23:05 +08:00
leo
38e2e0f3f4
refactor: rewrite the welcome page since the original TreeView
has many limitations ( #391 )
2024-08-22 21:10:23 +08:00
leo
af6d2cc725
fix: TreeView
do NOT support NavigationMethod.Direction with invisible nodes ( #391 )
2024-08-22 18:11:25 +08:00
leo
71d36698f8
feature: select and open repository by keyboard in Welcome page ( #391 )
2024-08-22 15:45:50 +08:00
leo
10e5c7aa6c
refactor: window chrome style
2024-08-22 15:06:30 +08:00
leo
d5e51d1f32
feature: supports using native window frame on Linux ( #390 )
2024-08-22 12:37:26 +08:00
leo
323dc2e87f
code_review: PR #386
...
* rename `FirstParentFilterToggled` to `EnableFirstParentInHistories`
* remove `FirstParentFilterEnabled` from repo settings - it should not been saved
* move toggle button from repository toolbar to histories switcher
* tooltip translations
* new icon for `Icons.FirstParentFilter`
* extends commit graph to support `--first-parent` option
2024-08-21 19:45:32 +08:00
leo
acf0a486d7
Merge pull request #386 from ybeapps/feature/first-parent-filter
...
first-parent-filter
2024-08-21 19:28:52 +08:00
Gadfly
5575adf849
ux: Preference fit to content width
2024-08-21 17:31:27 +08:00
Yitzchak Ben-Ezra
d21cc2c96a
first-parent-filter
...
need help in two issues:
1. use better icon - I just reused the Filter icon
2. lines of merge commits are still rendered - need to skip them since they don't link to any commit when filter enabled. I didn't manage to solve by my own right now
2024-08-21 09:04:35 +03:00
leo
7e4eca9691
code_style: remove unused namespace using
2024-08-21 12:49:55 +08:00
leo
191763e1d8
refactor: commit sha link in message ( #382 )
...
* remove the built-in commit issue tracker rule
* hyperlink in commit message now supports commit sha
2024-08-21 12:46:36 +08:00
leo
6485a6f93a
ux: use JetBrains Mono
font for change status icon ( #384 )
2024-08-21 11:50:17 +08:00
leo
19924930bc
Merge pull request #383 from gadfly3173/fix/counter-visual
...
fix: invalidate counter visual (#338 )
2024-08-21 11:28:06 +08:00
Gadfly
3b9e781b0a
fix: remove unused AffectsRender
2024-08-21 11:23:27 +08:00
Gadfly
9c0b9608dc
fix: invalidate counter visual ( #338 )
2024-08-21 11:08:50 +08:00
leo
48adad53b4
feature: supports the commit hash issue tracker ( #382 )
...
Using issue tracker instead of built-in supported commit web link is based on the following reasons
* repo may have multiple remotes
* it is not good to open an context menu to choose which web to visit with multiple remotes
* some remote servers are not supported by this app
2024-08-21 10:44:07 +08:00
leo
5370526fcc
ux: selected style for repo dashboard contents
2024-08-20 17:11:51 +08:00
leo
9844043c7f
ux: use ListBox with VirtualizingStackPanel instead of DataGrid since height of DataGridRow is not equal with the RowHeight value
2024-08-20 16:55:28 +08:00
leo
d4a9343eaf
feature: add an option to enable --recurse-submodules=check
on push ( #345 )
2024-08-20 15:20:58 +08:00
leo
55d2657799
ux: better line number layout
2024-08-19 19:54:46 +08:00
leo
8bd8787d25
feature: auto-focus when open a new page ( #368 )
2024-08-19 17:24:39 +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
24dde77548
refactor: rewrite SourceGit.App
2024-08-19 12:49:29 +08:00
leo
84b8735d6c
code_style: run dotnet format
2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
...
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
39fba17648
enhance: text editor ( #365 )
...
* support extra grammars.
* avoid crashing on text editor detached from visual tree
2024-08-18 00:18:18 +08:00
leo
a3496a9d2f
fix: virtual space not include ( #364 )
2024-08-16 19:21:48 +08:00
leo
ed7465def5
enhance: render highlight background manually instead of using TextRunProperties.SetBackgroundBrush(IBrush)
( #364 )
2024-08-16 18:59:48 +08:00
leo
9f39a9b295
fix: background not fill entire text line ( #364 )
2024-08-16 17:28:00 +08:00
leo
6d11296eae
enhance: update selected chunk after stage/discard/unstage previous chunk ( #361 )
2024-08-16 15:11:35 +08:00
leo
2ffc1b7178
enhance: manually stage all changes instead of using --all
parameter in git commit
2024-08-15 20:09:38 +08:00
leo
3bcea2a4f0
ux: style of commit message picker button
2024-08-15 19:52:05 +08:00
leo
b3327ebeb5
feature: supports commit template ( #264 )
2024-08-15 18:59:35 +08:00
leo
ff3d841d12
feature: add a menu item to open app data dir
2024-08-15 11:47:04 +08:00
leo
bf6ac4d20d
refactor: rewrite commit web link
...
* add support for Bitbucket
2024-08-15 10:39:31 +08:00
leo
48de509c63
ux: change cursor to hand when hover links
2024-08-14 17:27:37 +08:00
leo
f5d4f61c8a
ux: change cursor to Hand
when mouse is hovered the commit web link
2024-08-14 11:14:21 +08:00
leo
55da40f8dc
fix: sometimes textblock with issue link will render nothing
2024-08-14 11:06:37 +08:00
leo
ec14d9d533
refactor: remove binding errors
2024-08-13 20:40:05 +08:00
leo
59a7c74fd1
fix: try to fix issue #338
...
* use custom control to draw badges
2024-08-13 18:24:28 +08:00
leo
f3406e93fc
fix: try to fix issue #338
...
* upgrade Avalonia to `11.1.3`
* use reactive property instead of simple getter
2024-08-13 17:38:58 +08:00
leo
34a598d421
feature: add commit web links ( #357 )
2024-08-13 17:15:17 +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
d601ca6b23
enhance: force InvalidateVisual
2024-08-13 14:57:05 +08:00
leo
435c12b340
ux: add style for issue link hovered
2024-08-13 12:25:06 +08:00
leo
08fc069281
enhance: disable selection while click issue link
2024-08-13 12:18:26 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message
2024-08-13 12:08:33 +08:00
leo
69178838be
fix: always trait Atl/Ctrl/Shift
as key modifers ( #351 )
2024-08-12 16:51:37 +08:00
leo
0646db36a4
fix: KeyDown
event won't be triggered unless toolbar got focus ( #351 )
2024-08-12 16:14:39 +08:00
leo
429e037adb
feature: use Ctrl
+ click to stash all changes automatically with default options ( #351 )
2024-08-12 15:11:49 +08:00
leo
965a4b21ae
feature: use Ctrl
+ click to start fetch/pull/push automatically with default options ( #351 )
2024-08-12 15:01:00 +08:00
leo
2e12717235
ux: removes padding when calculate layouts
2024-08-12 12:03:30 +08:00
leo
dabdd0b06a
code_style: remove empty lines
2024-08-11 18:41:59 +08:00
leo
de2f70b8ea
feature: supports display tags in a tree ( #350 )
2024-08-11 18:12:58 +08:00
leo
e2da0d3643
project: downgrade AvaloniaUI to 11.0.13
2024-08-11 09:18:06 +08:00
leo
6881837c80
ux: increase max font size to 18 ( #346 )
2024-08-09 21:21:28 +08:00