Commit graph

118 commits

Author SHA1 Message Date
leo
41416a6bed
refactor: use DataTemplates instead of create NamedHighlightedTextBlock manually for menu item (#1216)
Signed-off-by: leo <longshuang@msn.cn>
2025-04-20 11:05:24 +08:00
leo
05982e6dc0
style: re-design style for disabled primary button
Signed-off-by: leo <longshuang@msn.cn>
2025-04-14 23:23:40 +08:00
leo
92fa25ae8d
ux: disable scrollbar in NumericUpDown control (#1023)
Signed-off-by: leo <longshuang@msn.cn>
2025-03-06 15:14:05 +08:00
leo
dd254ebf4f
ux: new attached property MenuItemExtension.Command for MenuItem
Signed-off-by: leo <longshuang@msn.cn>
2025-01-26 14:55:44 +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
Martin Garstenauer
39dff8a93f
ux: change text selection brush to improve readability (#825) 2024-12-18 09:25:56 +08:00
leo
e18d6d65e8
ux: style of MenuItem 2024-12-05 20:43:31 +08:00
leo
c1368212df
feature: change the CONTINUE button to SplitButton to support editing/splitting original commit (#767)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-30 19:25:20 +08:00
leo
c5d82eb719
ux: new style for ToggleButton.toggle_untracked 2024-11-27 11:10:44 +08:00
leo
78fcc0117e
ux: style for tooltip
Signed-off-by: leo <longshuang@msn.cn>
2024-11-25 11:42:48 +08:00
leo
a53787c754
fix: git rebase --continue fail (#693)
* fix the exit code when start `SourceGit` as core editor (rebasing).
* redesign the layout of working copy page for in-progress states.

Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 19:19:58 +08:00
leo
ca5bc4b4df
refactor: rewrite the histories filter function to supports both include and exclude modes (#690)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 15:15:48 +08:00
leo
5e60780c9f
ux: new tooltip style
Signed-off-by: leo <longshuang@msn.cn>
2024-11-12 18:28:35 +08:00
leo
6d1dfad8a1
ux: changes view mode style (#533)
* move changes view mode switch button to right button group
* change the style for ChangeViewModeSwitcher
* remove used code
2024-10-01 23:16:32 +08:00
leo
ae5a94fd8a
fix: Flyout should not inherits the style of its PlacementTarget (#524) 2024-09-29 09:28:52 +08:00
leo
2346082228
ux: style of tab switch in file histories view 2024-09-27 18:23:55 +08:00
leo
a78cf611c0
ux: style for left panel of repository view 2024-09-27 17:12:13 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI (#456) 2024-09-12 09:42:47 +08:00
leo
0e774ee035
ux: window caption button (#442) 2024-09-04 15:54:12 +08:00
leo
998230edff
code_style: simplify static commands used by styles and main menu; run dotnet format 2024-09-02 20:27:12 +08:00
leo
e19d025572
code_review: PR #431
* move resources and styles for macOS caption button to `CaptionButtonsMacOS` because it is never used by others and should not been changed
* add `IsCloseButtonOnly` property to `CaptionButtons` and `CaptionButtonsMacOS` and replace the controls in windows
2024-09-01 16:54:20 +08:00
Chiahong Hong
2b056ee644
ux: improve macOS window control button colors for a more native look 2024-09-01 13:47:13 +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
64943044aa
ux: new style for Flyout 2024-08-27 16:28:20 +08:00
leo
2b7b1e81e0
ux: force using arrow cursor when hover a menu item 2024-08-25 18:17:45 +08:00
leo
7a2722e928
feature: add a context menu to copy entire content of SelectableTextBlock (#394) 2024-08-25 15:11:31 +08:00
leo
c6b26517c0
ux: style for branch/tag filter toggle button 2024-08-23 11:35:57 +08:00
leo
c2549869ce
code_style: clean up unused styles 2024-08-22 21:46:06 +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
10e5c7aa6c
refactor: window chrome style 2024-08-22 15:06:30 +08:00
leo
eaf5eba0e7
ux: using Brush.Popup for menu flyouts 2024-08-22 10:20:18 +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
7b26589485
fix: button tooltip foreground (#381)
* TextBlock may not be the direct child of Button, for example, it may wrapped by a StackPanel with icons.
* Introduce another way to solve this problem
2024-08-21 10:18:28 +08:00
Chiahong Hong
1dfa7aa1a7
fix: correct selector for foreground color in tooltip on primary button 2024-08-21 01:28:13 +08:00
leo
f4f5ae7430
ux: remove rounded corner when window is maximized using TemplateBinding (#378) 2024-08-20 20:59:57 +08:00
leo
c1c1e1f0c8
ux: remove rounded corner when window is maximized (#378) 2024-08-20 20:48:44 +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
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
f7e0cbf989
ux: style for disabled menu item 2024-08-16 10:14:08 +08:00
leo
eb56de2d6f
ux: change min height of DataGridCell's from 32 (default) to 24 2024-08-15 21:34:24 +08:00
leo
3bcea2a4f0
ux: style of commit message picker button 2024-08-15 19:52:05 +08:00
leo
55da40f8dc
fix: sometimes textblock with issue link will render nothing 2024-08-14 11:06:37 +08:00
leo
202aa379f8
fix: can not select the entire content of commit message 2024-08-13 12:08:33 +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
de2f70b8ea
feature: supports display tags in a tree (#350) 2024-08-11 18:12:58 +08:00
leo
a2749d3c4f
ux: add Color.Link for issue links (#315) 2024-08-06 13:57:51 +08:00
leo
f754b2c63a
feature: supports issue tracker in commit message (#315) 2024-08-05 17:34:49 +08:00
leo
281ef8b490
fix: first '_' character not shown in menu item (#313) 2024-08-02 22:53:55 +08:00