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
leo
c596427380
fix: ahead/behind indicator of commit in histories view not updated after upstream changed
2024-08-09 15:17:04 +08:00
leo
905664c5e2
fix: can not select issue rules after remove one in last two ( #343 )
2024-08-09 14:22:30 +08:00
leo
a75d50bf97
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
...
* run `dotnet format`
2024-08-09 11:33:37 +08:00
leo
3969111393
ux: force datagrid row height to 24
2024-08-08 21:21:30 +08:00
leo
1fe2be11a7
refactor: rewrite submodule to support IsDirty
state ( #339 )
2024-08-08 21:11:10 +08:00
leo
97d5ecdfe9
code_style: remove IDE warnings
2024-08-08 15:10:08 +08:00
leo
6c08ee1b05
ux: use smaller fontsize for launcher tabbar
2024-08-08 14:04:48 +08:00
Gadfly
4c471c6bb9
fix: do NOT change parent of RepositoryNode if it exists when open it from FolderPicker
2024-08-08 10:34:30 +08:00
leo
6bd0920d71
feature: enable syntax highlighting in revision files view ( #333 )
2024-08-08 10:12:39 +08:00
leo
1ab0ea27df
enhance: remove fixed fontsize in launcher's tabbar ( #332 )
2024-08-08 09:38:11 +08:00
leo
f8bc48c49c
enhance: exec git command directly instead of call methods from WorkingCopy ( #330 )
2024-08-08 09:33:46 +08:00
leo
7ff92c4e1d
ux: stage/unstage/discard button aligment in TextDiffView
2024-08-07 19:42:41 +08:00
leo
d4b0958f67
ux: new style of tab switcher in statistics window
2024-08-07 17:07:39 +08:00
leo
8c16ded6bd
enhance: ignore untracked files when calculate local changes in checkout/create branch/pull ( #316 )
2024-08-07 15:38:18 +08:00
leo
0450931655
enhance: avoid refetch avatar for noreply@github.com
2024-08-06 15:40:07 +08:00
leo
a7ea61f9af
refactor: remove binding null warnings
2024-08-06 15:33:23 +08:00
leo
1d15c4c95f
fix: drag window won't stop ( #326 )
2024-08-06 15:12:44 +08:00
leo
9bee51686a
feature: show issue link on commit list of histories view ( #315 )
2024-08-06 11:02:52 +08:00
leo
4ba7c879c5
feature: use Ctrl+C
to copy selected commits in histories ( #321 )
2024-08-06 10:04:08 +08:00
leo
b059423391
feature: enable using drag-drop to re-order commits ( #319 )
2024-08-05 22:10:43 +08:00
leo
91daa42c08
ux: margins between textbox and its label in issue tracker configure page
2024-08-05 19:32:50 +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
281ef8b490
fix: first '_' character not shown in menu item ( #313 )
2024-08-02 22:53:55 +08:00
leo
cd9196bb84
feature: supports get avatar from avatars.githubusercontent.com
...
* move all images to `src/Resources/Images` folder
2024-08-02 18:06:45 +08:00
leo
f3aff65d03
ux: reduce change list row height in commit detail panel
2024-08-02 15:16:19 +08:00
leo
57e9c44754
ux: new icon for changes
2024-08-01 15:12:00 +08:00
leo
af8543a4b8
ux: add icon Icons.Clone
2024-08-01 15:02:53 +08:00
leo
58357f031d
ux: add a new icon Icons.Stashes.Add
2024-08-01 11:45:20 +08:00
leo
2a05ffa30f
enhance: trim description of commit message while pasting on subject
2024-07-31 21:36:23 +08:00
leo
ec6fe25e87
code_style: run dotnet format
2024-07-31 16:26:58 +08:00
leo
2e87f83a38
feature: add tooltip for page tab ( #302 )
2024-07-31 15:42:13 +08:00
leo
f55a576013
refactor: rewrite amend behaviour ( #300 )
...
* toggle amend will show changes in HEAD commit
* since discard is not compatible with staged changes in `amend` mode, we only allows user to discard unstaged changes
2024-07-31 12:04:52 +08:00
leo
3c5a661fa0
feature: supports type change
2024-07-30 21:32:23 +08:00
leo
7f8b8a19a0
feature: add auto complete box for searching commits by file path
2024-07-30 15:59:54 +08:00
leo
addfb449cc
feature: double click on commit ( #295 )
...
* when commit is current branch head, do nothing
* when commit is head of some local branch which is not current, try to checkout this branch
* otherwise, ask user should checkout selected commit as deteched
2024-07-30 11:47:58 +08:00
leo
9aa5787ce9
enhance: unchange global core.autocrlf
is user do NOT set it yet ( #297 )
2024-07-30 09:53:04 +08:00
leo
5c6e4a5d48
Merge branch 'KiserDesigns/patch-1' into develop ( #296 )
2024-07-29 22:15:02 +08:00
leo
327b8033b6
rename: rename monospace
style to primary
2024-07-29 20:48:04 +08:00
Noah Kiser
d23134bdc5
Reduce Minimum window size
...
From 1280x720 to 1000x600
To fit window in top-half / top-third of portrait 1920x1080 monitor:
+------------+
| SourceGit |
| |
+------------+
|File Browser|
| |
+------------+
| Web Browser|
| |
+------------+
2024-07-29 07:40:53 -05:00
leo
aea61e0067
feature: add a toggle button in Preference dialog to only use monospace font in code editor ( #292 )
2024-07-29 20:20:27 +08:00
leo
20744d09bd
enhance: set SuggestedStartLocation
to default clone dir when open local repository ( #293 )
2024-07-29 16:19:35 +08:00
leo
efa02d9e96
ux: remove unnecessary controls
2024-07-29 15:07:41 +08:00
leo
c8b688c52d
ux: DataGrid header style in histories page
2024-07-28 11:10:43 +08:00
leo
a3a3a0e4e9
enhance: add a button to clear git.http.proxy configuration
2024-07-28 10:11:10 +08:00
leo
20b45a1cf4
fix: when base is current worktree, the diff content of selected change is wrong
...
* remove warnings in JetBrains Rider (it seems JetBrains can NOT recognize Binding.TargetNullValue)
2024-07-27 21:35:57 +08:00
leo
4612cecf10
code_review: PR ( #288 )
...
* add missing translations and it's no need to add `OnPull` suffix since it already has a prefix `Text.Pull.`
* when enable fetching all branches of selected remote, use merge/rebase command instead of pull
* re-arrange orders of options in pull popup panel
* default enable `Fetch all branches`
2024-07-27 20:35:19 +08:00
RevenantX
8a38b6afac
Add fetch all branches on pull. (acts like fetch+pull)
2024-07-27 12:52:01 +03:00
leo
7bfb684bde
refactor: update submodule ( #287 )
2024-07-26 18:49:07 +08:00
leo
b084ee5168
fix: left side by layout did not update after size changed
2024-07-26 16:32:48 +08:00
leo
c83b1fb145
ux: tab bottom corner
2024-07-26 15:14:05 +08:00
leo
bab1a57480
refactor: using x:Int32
and x:String
instead of custom types
2024-07-26 15:02:23 +08:00
leo
d3be3e938f
fix: wrong window margin and border if window is started as maximized
2024-07-26 12:01:09 +08:00
leo
5f02f95e62
ux: use Classes instead of set FontFamily directly
2024-07-26 10:38:55 +08:00
leo
85ce2f9cab
enhance: prevent property changed event if it is unchanged
2024-07-26 10:23:19 +08:00
leo
aae1c41dcd
enhance: extends highlight area of selected/detected chunk to line number area
2024-07-26 10:18:28 +08:00
leo
1bff77cfcf
fix: TextDiffViewChunk
render issue
2024-07-25 17:57:28 +08:00
leo
e9fa9a42ca
enhance: add Views.CommitRefsPresenter
to draw commit's decorators (refs) directly
2024-07-25 15:31:16 +08:00
leo
3ddaba1c28
ux: change the icon for clear stashes
2024-07-25 12:05:12 +08:00
leo
1d249a0216
ux: remove vertical seperator
2024-07-25 11:49:54 +08:00
leo
31f918071f
refactor: repository configure
...
* move button to the left
* change view type from Popup to ChromelessWindow
2024-07-25 10:59:06 +08:00
leo
0fb121e6ed
ux: toolbar icon size
2024-07-24 19:22:45 +08:00
leo
dd55270634
ux: move toolbar buttons those will show popups to center
2024-07-24 19:18:04 +08:00
leo
537ac3e2df
ux: toolbar button icon size
2024-07-24 17:09:30 +08:00
leo
013b4285e4
ux: text displayed when current branch is valid
2024-07-24 16:39:18 +08:00
leo
e29d78e2ae
feature: show current branch on toolbar ( #283 )
...
* re-arrange toolbar buttons
* move `Navigate to HEAD` button to toolbar
2024-07-24 16:36:34 +08:00
leo
f8caeceade
refactor: remove unnecessary memebers
2024-07-24 14:32:27 +08:00
leo
ad3eeabb83
feature: allow swap in branch compare
2024-07-24 12:17:44 +08:00
leo
9e048751ae
refactor: move non-observable object from ViewModels
to Models
...
* ViewModels.MergeMode -> Models.MergeMode
* ViewModels.Notification -> Models.Notification
* ViewModels.ResetMode -> Models.ResetMode
* use `int` instead of `ViewModels.CountSelectedCommits`
2024-07-24 11:44:13 +08:00
leo
0dee3a1969
refactor: use Binding.TargetNullValue
instead of empty class Models.CompareTargetWorktree
2024-07-24 11:16:28 +08:00
leo
1583b08892
code_review: PR ( #280 )
...
* tooltip for swap button
* move `Views.CompareTargetWorktree` to `Models.CompareTargetWorktree`
* remove unused `Models.IObjectId`
* fix swap not working when target is Worktree, because Commands.CompareRevisions's Args do not changed after swapping
2024-07-23 19:26:04 +08:00
Giuseppe Lippolis
5cc30f7d10
feat: Allow Swap Commits in Revision Compare
2024-07-23 11:41:33 +02:00
leo
cd1eed4356
fix: column header vertical seperator missing in some cases
2024-07-23 15:14:52 +08:00
leo
40d5a7c7f3
code_style: run dotnet format
to apply rules
2024-07-23 13:58:57 +08:00
leo
ef0cf76571
project: upgrade AvaloniaUI to 11.1.0
2024-07-23 11:45:54 +08:00
leo
720b2b65f3
code_style: change static methods of ViewModels.Preference to member function
2024-07-22 15:34:31 +08:00
leo
91801cff69
enhance: only trigger UpdateSelectedChunk
if needed
2024-07-19 11:01:31 +08:00
leo
5b95344453
code_style: move commit methods to base class
2024-07-19 10:43:19 +08:00
leo
b2e6de3afa
ux: move ahead/behind indicator to front of refs
2024-07-19 10:08:41 +08:00
leo
f0649c95b5
feature: add an indicator that shows those commits the current branch ahead/behind its upstream
2024-07-19 09:29:16 +08:00
leo
9de2853003
enhance: unify selection mode and hunk mode
2024-07-18 16:26:39 +08:00
leo
42f8e41985
ux: lower background opacity for selected hunk
2024-07-18 12:16:36 +08:00
leo
dbc95e7209
refactor: move some method from view to its data source class
2024-07-18 11:40:56 +08:00
leo
e64026d44c
fix: MakeSelection
should not use UseSideBySideDiff
directly
2024-07-18 11:26:47 +08:00
leo
14469b1399
theme: add ThemeOverrides.OpacityForNotMergedCommits
to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories ( #268 )
2024-07-18 10:46:39 +08:00
leo
b2ed1b283a
enhance: only replace hunk data if needed
2024-07-18 10:18:02 +08:00
leo
a68b61da94
ux: background highlight margin
2024-07-17 17:14:46 +08:00
leo
26c59bfd0d
code_style: move common funtion to base class
2024-07-17 17:10:32 +08:00
leo
b7e0e38de3
feature: stage/unstage hunk ( #265 )
2024-07-17 16:56:16 +08:00
leo
6d888f8007
code_style: remove unused namespace using
2024-07-16 17:03:36 +08:00