leo
b75676a7f8
refactor: commit message
...
- move issue tracker and commit hash links parsing to view models
- parsing links async
- make sure matched hash is a valid commit oid
- disable `CHILDREN` row in submodule info panel
Signed-off-by: leo <longshuang@msn.cn>
2025-03-04 16:04:19 +08:00
leo
1c8d4d312a
fix: SelectableTextBlock
does not re-draw after Text
property changed ( #906 )
2025-01-14 21:02:32 +08:00
leo
c8aecc00cc
ux: use Grid
instead of DockPanel
2025-01-14 20:39:56 +08:00
wl2776
6e5626f267
fix: several typos in source code ( #895 )
2025-01-13 10:11:28 +08:00
leo
fec13cdc87
ux: layout of INFORMATION
page
2024-12-20 09:56:53 +08:00
leo
ed229166ee
enhance: allow wrap commit refs in INFORMATION
page ( #807 )
2024-12-20 09:51:25 +08:00
leo
27afe1871f
fix: tooltip of commit sha did not close properly ( #810 )
2024-12-12 14:40:47 +08:00
leo
78fcc0117e
ux: style for tooltip
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-25 11:42:48 +08:00
leo
b2e01f0d3e
feature: add tooltip for SHA in commit message presenter ( #734 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-24 21:22:04 +08:00
leo
637f138d63
code_style: remove Rider warning
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-24 20:28:32 +08:00
leo
ab2156bfc2
code_review: PR #710
...
* SourceGit.Commands.* should not reference SourceGit.ViewModels.*
* remove unused namespace using
* update translations for zh_CN and zh_TW
* use WrapPanel instead of inner ScrollViewer
* some other UI/UX changes
Signed-off-by: leo <longshuang@msn.cn>
2024-11-20 09:42:48 +08:00
Dmitrij D. Czarkoff
cc5bb5f6d4
Show the list of children in the commit details ( #710 )
...
* feature: add children list to the commit base info view
Useful for navigation between the commits.
* feature: use repository filters to limit children search
* feature: execute children search asynchronously
* feature: respect global commit limit for a good measure
* fix: input lines may contain several commits
The first commit is always the immediate child, so take only 40 initial characters of the line
* fix: hide children behind the preference
* feature: make parents and children scrollable
2024-11-20 09:17:36 +08:00
leo
f66e9c828a
ux: layout for parent commit tooltip
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-12 18:14:00 +08:00
leo
6e4f971733
feature: show tooltip of parent commit when hover the parent SHA
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-12 17:59:50 +08:00
leo
82320f3494
revert: PR #673
...
* the `Commands.QueryCommitChildren` takes too much time when executes in a large repo
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 10:26:34 +08:00
leo
bbac6c1478
code_review: PR #673
...
* add translations for zh_CN and zh_TW
* hide `CHILDREN` line if it is empty
Signed-off-by: leo <longshuang@msn.cn>
2024-11-11 09:31:04 +08:00
Dmitrij D. Czarkoff
03f96cc9f8
feature: add children list to the commit base info view ( #673 )
2024-11-11 09:24:49 +08:00
leo
9d2c2df6b3
ux: issue link tooltip max width
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-05 11:00:04 +08:00
leo
fe03512c5c
ux: tooltip of commit signing status icon
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-30 15:10:26 +08:00
leo
195325187d
ux: tooltip of commit signing status icon
...
* do NOT show signer if it is not available
* new tooltip style
Signed-off-by: leo <longshuang@msn.cn>
2024-10-30 15:01:08 +08:00
leo
9abda2c6ab
ux: move the commit signing status icon to the last
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-30 10:27:14 +08:00
leo
279b1819a3
feature: show commit gpg sign status ( #614 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-10-29 21:03:45 +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
fe7972684c
ux: change the icon for Check refs that contains this commit
button
2024-09-02 14:44:42 +08:00
leo
1f07c1bdf0
ux: force enable horizontal stretch for commit message ( #400 )
2024-08-27 16:40:46 +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
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
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
34a598d421
feature: add commit web links ( #357 )
2024-08-13 17:15:17 +08:00
leo
dfd098e131
refactor: merge sourcegit.issuetracker.setting to sourcegit.settings.
2024-08-05 18:18:57 +08:00
leo
f754b2c63a
feature: supports issue tracker in commit message ( #315 )
2024-08-05 17:34:49 +08:00
leo
327b8033b6
rename: rename monospace
style to primary
2024-07-29 20:48:04 +08:00
leo
5f02f95e62
ux: use Classes instead of set FontFamily directly
2024-07-26 10:38:55 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter
to draw commit's decorators (refs) directly
2024-07-25 15:31:16 +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
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
8e88df92b3
feature: add two view mode for image diff - side-by-side and blend
2024-06-21 17:48:19 +08:00
leo
9e45a8a77d
enhance: only store subject in commits.
...
It has several advantages:
* reduce the memory costed by histories
* higher performance while parsing commits
* no need to calculate subject every time, which is invoked most frequently to render histories
2024-06-08 12:19:48 +08:00
leo
b4e01a8b93
refactor: commits only hold the end position of subject in body
2024-06-06 20:59:09 +08:00
leo
fa3a3b2dad
refactor: code cleanup
2024-05-30 15:13:59 +08:00
leo
69f9dceece
feature: new way to display changes of submodules
2024-05-29 12:50:26 +08:00
leo
9ae926db9f
code_style: rename BoolConverters.BoolToStarOrAutoGridLength to BoolConverters.ToStarOrAutoGridLength
2024-05-03 11:43:33 +08:00
Gadfly
9c6798ef1b
fix: Fixed the issue when the email address is too long and exceeds the scope of the StackPanel
2024-04-30 21:50:30 +08:00
leo
1509b8ab70
ux: right margin for commit message
2024-04-28 17:55:49 +08:00