Commit graph

1091 commits

Author SHA1 Message Date
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
07c2e9f927
fix: decorator do not redraw after tag background property changed 2024-10-15 09:43:09 +08:00
leo
ccdc849baa
code_style: run dotnet format 2024-10-15 09:39:01 +08:00
leo
4c60818d68
ux: new style for current HEAD 2024-10-15 09:18:24 +08:00
leo
6908216de5
ux: new commit graph decorator style (#564)
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-10-14 21:09:03 +08:00
leo
207bcf0fbf
ux: download button icon color 2024-10-14 17:18:40 +08:00
leo
5fef6e93b9
enhance: cherry-pick (#563)
* supports to cherry-pick a merge commit
* add option to enable the `-x` parameter
2024-10-14 15:20:02 +08:00
leo
95a63eb98d
ux: dropshadow effect for selected chunk buttons in text diff view
Some checks failed
Continuous Integration / Build (push) Has been cancelled
Continuous Integration / Prepare version string (push) Has been cancelled
Continuous Integration / Package (push) Has been cancelled
2024-10-12 15:28:30 +08:00
leo
d9db7eb1d4
update: add LiveChart2 links to about page 2024-10-12 11:27:47 +08:00
leo
b9a24ceb53
feature: add hotkeys to move interactive rebase item up and down (#557) 2024-10-12 10:28:54 +08:00
leo
adca61c538
ux: re-order items in preference panel 2024-10-12 09:59:19 +08:00
leo
21e15a1af4
feature: add a toggle in perference to show author time instead of committer time in graph (#558) 2024-10-12 09:56:33 +08:00
leo
b5000f920f
enhance: highlight selected search commits 2024-10-11 11:04:27 +08:00
leo
68519c76ca
refactor: stash local changes (#550)
* when try to stash all the local changes, add a option to only stash the staged changes
* stash changes in selected files will prompt user - both staged and unstaged changes of selected file(s) will be stashed
2024-10-10 11:54:59 +08:00
leo
14334b08d2
enhance: do not save gpg.openpgp.program if gpg.program exists and the value has not been changed (#544)
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-10-09 17:29:53 +08:00
leo
bfb97dff72
ux: warning text style 2024-10-09 15:30:25 +08:00
leo
857ba85d9f
ux: do not use small font size for branches/tags/submodules search box 2024-10-09 09:41:37 +08:00
leo
3dcb32aec9
ux: new style for discard confirm popup
Some checks failed
Continuous Integration / Build (push) Has been cancelled
Continuous Integration / Prepare version string (push) Has been cancelled
Continuous Integration / Package (push) Has been cancelled
2024-10-06 22:38:13 +08:00
leo
7262437385
ux: new style for pushing a new branch to remote 2024-10-06 21:48:26 +08:00
leo
3ce06cc6b5
ux: add tooltip for change status icon (#537)
Some checks failed
Continuous Integration / Build (push) Has been cancelled
Continuous Integration / Prepare version string (push) Has been cancelled
Continuous Integration / Package (push) Has been cancelled
2024-10-03 19:01:49 +08:00
leo
4e57cd50cd
feature: add an option to clean up ignored files when discard all changes in repo (#531)
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-10-02 21:46:48 +08:00
leo
d746e352a7
feature: supports to set default remote to push local branches without any tracking remotes (#534) 2024-10-02 15:13:27 +08:00
leo
6d1dfad8a1
ux: changes view mode style (#533)
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
* 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
2670bd89d6
ux: add icons for group
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-10-01 09:26:50 +08:00
leo
d2a005c532
feature: add a button in diff view to ignore all whitespace changes (--ignore-all-space)
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-30 11:34:09 +08:00
leo
986c27e1cb
code_style: code style of Models.CommitGraph
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-29 22:44:50 +08:00
GadflyFang
c7332aff03
fix: avoid NRE in ContextMenuExtension (#526) 2024-09-29 16:05:02 +08:00
GadflyFang
18e0479288
enhance: reduce Minimum of History Commits setting (#527) 2024-09-29 15:23:38 +08:00
leo
3af30f54b6
enhance: avoid flicker at the first time clicking on text diff view 2024-09-29 14:16:42 +08:00
leo
d5671ea8df
enhance: only re-calculate highlight chunk when it is needed 2024-09-29 13:48:48 +08:00
leo
e945367b28
enhance: avoid re-calcuting highlight chunk when move mouse from stage/unstage buttons to text area
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-29 12:11:09 +08:00
leo
99c2ffeef4
ux: change style of commit button's tooltip 2024-09-29 10:14:44 +08:00
leo
4d6ecd2396
fix: can not select the last line in blame (#523) 2024-09-29 09:20:40 +08:00
leo
19e930ef40
refactor: change hotkeys of commit buttons (#521)
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
* Ctrl+Shift+Enter to stage all changes then commit
* Alt+Enter to commit and push
2024-09-28 11:40:15 +08:00
leo
841a009a56
ux: change cursor to Hand when hover a commit hash link (#522) 2024-09-28 11:25:17 +08:00
leo
bb907deddb
code_style: correct the comment of invisible commit button
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-27 23:02:25 +08:00
leo
9768b21859
code_style: use Windows, Linux instead of Default in On.Options 2024-09-27 22:58:30 +08:00
leo
f0e35b2563
ux: style for commit search box and invisible commit button 2024-09-27 22:49:46 +08:00
leo
c14c645bb9
ux: add tooltips for commit message template parameters 2024-09-27 22:33:21 +08:00
leo
9a8f4e20fb
feature: add hotkey Alt+Enter/⌥+Enter to auto stage all local changes and then commit (#521) 2024-09-27 22:21:56 +08:00
leo
2346082228
ux: style of tab switch in file histories view
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-27 18:23:55 +08:00
leo
699bfe8208
code_style: remove unnecessary margins 2024-09-27 17:14:29 +08:00
leo
a78cf611c0
ux: style for left panel of repository view 2024-09-27 17:12:13 +08:00
leo
bcc43e167c
ux: remove bottom line of selected tab in main tabbar
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-27 11:34:47 +08:00
leo
5a536fae06
ux: auto-fetch interval input size 2024-09-27 11:25:36 +08:00
leo
130c98ad40
feature: supports search commit only in current branch 2024-09-27 11:17:02 +08:00
leo
d34aa8cb7e
localization: use localized text for Show only my locks checkbox (#515)
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 15:43:31 +08:00
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
leo
32c0aa61cd
fix: the highlight background not updated while scrolling using mouse wheel without focus the text editor control (#448) 2024-09-09 21:01:10 +08:00
leo
0190c2111d
enhance: workspace tooltip (#445) 2024-09-09 18:47:53 +08:00
leo
ebc112a627
feature: workspace support (#445) 2024-09-09 18:26:43 +08:00