Commit graph

994 commits

Author SHA1 Message Date
leo
5d2a442144
code_review: PR #515
* remove Linq expressions due to AOT limitations. See https://learn.microsoft.com/zh-cn/dotnet/core/deploying/native-aot/?tabs=windows%2Cnet8#limitations-of-native-aot-deployment
* rename `FilteredLocks` to `VisibleLocks`
* use `Commands.Config.Get` instead of `Commands.Config.ListAll`
* disable checkbox if user name is not valid
2024-09-26 15:36:20 +08:00
Mat
21498f7009
Show only my locks (#515)
* Added a checkbox in the LFSLocks window to only show the ones locked by "Mat"
* Waits for the locks list to finish loading before making the checkbox clickable
* Now uses correct username for lock filtering.
   WIP: needs an error popup if user is misconfigured
* Added an error popup if username is empty on lfs locks
* Replaced an IEnumerable with a AvaloniaList for consistency
2024-09-26 15:00:31 +08:00
leo
1ba294a07b
refactor: move auto-fetch from global preference to repository settings
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 10:50:21 +08:00
leo
8e31ea9140
enhance: use Click event instead of IsCheckedChanged to reduce the times of calling update filter (#513)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 20:44:25 +08:00
leo
a8ce4e6d95
feature: when toggle a local branch filter, if it has a tracked upstream branch, do the same for the upstream branch (#513) 2024-09-25 20:30:48 +08:00
leo
85b83990a8
code_style: run dotnet format
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-25 16:24:04 +08:00
leo
a52ebffbf3
ux: layout for Statistics window
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-24 20:50:53 +08:00
leo
bc8a2cb162
ux: color picker button theme in Statistics window 2024-09-24 20:34:52 +08:00
leo
b9597dc92a
ux: new layout for Staticstics window 2024-09-24 17:06:16 +08:00
leo
c0f59c441b
feature: allow user to select the chart fill color 2024-09-24 12:14:51 +08:00
leo
1dd1e41b7b
ux: workspace button margin
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-24 10:09:54 +08:00
leo
0bc7208230
ux: remove the MaxWidth limitation for file tree view in CHANGES page and FILES page (#503) 2024-09-24 09:28:30 +08:00
leo
af57c56cd7
feature: enhanced statistics panel (#493)
* replace the `YEAR` tab with `OVERVIEW` tab, which will analyze most recent 20K commits
* use `LiveChartsCore.SkiaSharpView.Avalonia` instead of a custom chart view
2024-09-23 21:45:44 +08:00
leo
dd6ee6b8e6
enhance: use SelectedItem instead of SelectedItems since the selection mode is Single
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-22 20:53:11 +08:00
leo
07cba1cf5f
feature: support using left/right arrow to expand/collapse tree node (#463) 2024-09-22 20:48:36 +08:00
leo
81b72f7c1c
enhance: use ~ to represent the home dir of current user
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-22 11:00:30 +08:00
leo
cb2caa0930
ux: icons for group header 2024-09-20 10:12:21 +08:00
leo
6a0cf30db2
fix: wrong width for commit graph
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-19 15:59:34 +08:00
leo
e4870759f7
ux: workspace configuration window 2024-09-18 21:46:04 +08:00
leo
84fda6a8db
feature: add property RestoreOnStartup property to ViewModels.Workspace (#488) 2024-09-18 21:35:33 +08:00
leo
934d784d40
fix: unable to access the Stage/Unstage buttons in diff viewer when line wrap is enabled (#481)
* disable line wrap in side-by-side diff mode
2024-09-17 22:26:35 +08:00
leo
bc633e4085
code_review: PR #480
* remove `string.IsNullOrEmpty(OS.ShellOrTerminal)` checking from detail backend since it has been checked by `Native.OS.OpenTerminal`
* remove `ViewModels.Preference.IsTerminalConfigured` because it is only used by itself (Unlike `IsGitConfigured`).
* add `Native.OS.TestShellOrTerminal` and use it instead of setting `Preference.ShellOrTerminal` directly, because we have binded a callback that will save preference into file when its property changed. It may cause lag in some enviroments if we saving preference into file too frequently (see PR #436).
* run `dotnet format`
2024-09-17 22:09:51 +08:00
leo
1a4d3d0086
enhance: remember the height/width of commit list and detail panel in histories page (#472) 2024-09-14 17:22:29 +08:00
leo
6d92b7fc8c
ux: image info text layout 2024-09-14 16:15:53 +08:00
leo
d6b21bad17
feature: now image file previewer shows the image size and file size 2024-09-14 16:13:40 +08:00
leo
7f87ce3431
ux: move some configuration from GIT to GENERAL tab 2024-09-14 12:31:31 +08:00
leo
fb0120d338
refactor: terminal/shell integration (#471) 2024-09-14 12:09:50 +08:00
leo
ab54ecee42
enhance: API Key is now optional
- Update README.md by adding tips for using OpenAI in this project
2024-09-13 20:46:00 +08:00
Gadfly
4f47658e70
fix: AIAssistant window height sometimes wrong 2024-09-13 17:59:29 +08:00
leo
5c2583db67
enhance: notify user when try to generate commit message by OpenAI but not files are added to commit 2024-09-13 15:26:12 +08:00
leo
f7f549f86d
enhance: change tooltip's alignment to Top to avoid issue #467 2024-09-12 17:40:25 +08:00
leo
8a20a7a542
ux: set Focusable by XAML instead of hard coded 2024-09-12 17:05:05 +08:00
leo
ea3a6a4755
feature: auto focus the next change after stage/unstage selected changes (#464) 2024-09-12 16:33:56 +08:00
leo
dcddc5a2f2
ux: OpenAI button layout 2024-09-12 11:51:07 +08:00
leo
b09d1d46c9 fix: openpgp typo (#465) 2024-09-12 11:03:56 +08:00
leo
676835dee5
enhance: do NOT modify global .gitconfig if value equals git default (#465) 2024-09-12 10:33:52 +08:00
leo
16f8e2fd0b
feature: simple implementation for generating commit message by OpenAI (#456) 2024-09-12 09:42:47 +08:00
Gadfly
f6fa31f287
fix: ConfigureWorkspace window width (#458) 2024-09-11 11:08:04 +08:00
leo
0c31c982be
enhance: ColorPicker performance improvement 2024-09-11 10:34:27 +08:00
leo
f4f0fe788b
fix: vertical grid line over-draw 2024-09-11 10:23:20 +08:00
leo
2d611cf988
fix: repository settings did not saved correctly when closing app (#459) 2024-09-11 10:20:12 +08:00
leo
9b47198229
fix: the width of ConfigureWorkspace window sometimes tool small (#458) 2024-09-11 10:08:31 +08:00
leo
f314da54aa
code_style: add comment for ColorPicker.COLOR_TABLE 2024-09-11 09:38:32 +08:00
leo
6d54b43ee3
ux: layout of ConfigureWorkspace window 2024-09-10 17:17:02 +08:00
leo
88fb43e4fb
ux: new style for ColorPicker 2024-09-10 16:31:16 +08:00
leo
f5b8bc472a
fix: hightlight not working the first time clicking the first line (#448) 2024-09-10 12:03:07 +08:00
leo
f42ddd8cee
fix: hightlight background not updated (#448) 2024-09-10 11:50:32 +08:00
leo
22f0fb3854
ux: rounded rect in ColorPicker 2024-09-10 11:26:07 +08:00
leo
69117e8ee9
refactor: use custom color picker instead of Avalonia.Controls.ColorPicker 2024-09-10 11:02:34 +08:00
leo
b1ce8c5451
enhance: do NOT auto focus the text editor when there's no highlighted commit (#448) 2024-09-09 21:06:44 +08:00