Göran W
0d71f348ec
Merge 408ece148e
into 3b09ea45f5
2024-11-17 22:24:17 +00:00
goran-w
408ece148e
Added ToggleTwoSideDiff(), so we can refresh change-block indicator
2024-11-17 23:24:04 +01:00
goran-w
11a02343a0
Added safeguards for edge cases
2024-11-17 22:41:25 +01:00
goran-w
aeea77078b
Merge remote-tracking branch 'origin/develop' into diff-prev-next-change-616
2024-11-17 22:21:12 +01:00
leo
3b09ea45f5
feature: add change minimap for text diff view
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Localization Check / localization-check (push) Has been cancelled
Signed-off-by: leo <longshuang@msn.cn>
2024-11-17 21:49:33 +08:00
github-actions[bot]
b7abf2ee50
doc: Update translation status and missing keys
2024-11-17 03:16:44 +00:00
Nils van Rijsinge
6f256f6f5b
Add and improve de_DE keys ( #709 )
...
* localization: add missing de_DE keys
added for #690
* localization: improve de_DE keys
- mostly code review suggestions from #664
- ClearAllCommitsFilter is not an action of deleting (löschen)
2024-11-17 11:16:31 +08:00
Dmitrij D. Czarkoff
5301645f8b
fix: in commit view get file histories by commit ( #708 )
...
When file histories are accessed from the commit details view, run git log for the inspected commit. Previously the log was ran against current branch regardless whether the inspected commit belongs to that branch.
2024-11-17 11:14:56 +08:00
goran-w
760e240db7
The 2 implementations can now be switched
...
Added a bool property DiffView.UseChangeBlocks.
It's not bound from UI yet, but could be used for runtime switching between the two different implementations of prev/next change.
The buttons are now using the OnGoto[Prev|Next]Change Click-handler, regardless of implementation.
2024-11-16 18:39:04 +01:00
goran-w
636be4a7a8
Merge branch 'develop' into diff-prev-next-change-616
2024-11-16 18:09:56 +01:00
goran-w
4882ad0ad6
Added indicator of current/total change-blocks in Diff toolbar
2024-11-16 13:33:10 +01:00
goran-w
dc5bd42477
Make sure SyncScrollOffset is updated after JumpToChangeBlock()
2024-11-16 13:31:39 +01:00
goran-w
5597d25313
Re-enabled my implementation, after merge from pushed alternative
2024-11-16 11:36:10 +01:00
leo
882878dbe5
refactor: text diff view go to next/prev change
...
Continuous Integration / Package (push) Blocked by required conditions
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Signed-off-by: leo <longshuang@msn.cn>
2024-11-16 18:24:37 +08:00
goran-w
07cf4e6fe0
Corrected method duplication mistake, from rebase conflict resolve
2024-11-16 10:47:10 +01:00
goran-w
57e147e84c
Revert "Added icons for "Previous/Next Difference""
...
This reverts commit 1f8dc29de20708a78cba26a341d3451d11304ef9.
2024-11-16 10:43:13 +01:00
goran-w
1a99ce54d3
Cherrypick - feature: add buttons to go to prev/next change in text diff view ( #616 )
...
Signed-off-by: leo <longshuang@msn.cn>
(cherry picked from commit 134c71064e
)
# Conflicts:
# src/Views/DiffView.axaml
# src/Views/TextDiffView.axaml.cs
2024-11-16 10:43:13 +01:00
goran-w
96a9019487
Prev/next will (re-)scroll to first/last change-block in edge-cases
...
I.e when unset or already at first/last change-block (or the only one).
2024-11-16 10:43:13 +01:00
goran-w
e0c219b46d
Unset current change-block in RefreshContent()
2024-11-16 10:43:13 +01:00
goran-w
0007072789
Implemented change-block navigation
2024-11-16 10:43:13 +01:00
goran-w
d0dc9ac1fe
Corrected misspelled local variable nextHigh(t)light
2024-11-16 10:41:33 +01:00
goran-w
fbb07cf75f
Added 2 new buttons for prev/next change in Diff
...
These new buttons in DiffView toolbar are visible when IsTextDiff.
They invoke new (and currently empty) methods PrevChange() / NextChange() in DiffContext.
2024-11-16 10:41:33 +01:00
goran-w
875d4b5382
Added icons for "Previous/Next Difference"
...
New StreamGeometry "Icons.Diff.Prev" / "Icons.Diff.Next" using SVG paths from "arrow_up_regular" / "arrow_down_regular" at https://avaloniaui.github.io/icons.html .
2024-11-16 10:39:46 +01:00
leo
52c7388a38
project: upgrade to .NET 9 ( #694 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-16 16:06:30 +08:00
leo
134c71064e
feature: add buttons to go to prev/next change in text diff view ( #616 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-16 15:17:29 +08:00
leo
cd137e222c
feature: enable --no-ext-diff
for git diff
command
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-16 09:26:13 +08:00
leo
8d84d0f6a1
enhance: improve update filter mode performance
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-16 09:14:57 +08:00
leo
4b6bb70f20
fix: parent commit's tooltip does not close when move mouse out of bound fast
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Localization Check / localization-check (push) Has been cancelled
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 16:04:42 +08:00
leo
bd85b41da7
ux: clear histories filter button style
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 14:50:18 +08:00
leo
5861482455
fix: wrong format
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 11:55:18 +08:00
leo
30741b0f25
project: upgrade dependencies
...
* upgrade Avalonia to 11.1.4
* upgrade LiveChartsCore.SkiaSharpView.Avalonia to 2.0.0-rc4.5
* upgrade TextMateSharp to 1.0.64
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 11:51:13 +08:00
leo
e78b58cb81
localization: remove duplicated keys
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 11:49:49 +08:00
leo
a5f37800f6
code_style: remove unused var
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 10:52:39 +08:00
leo
4835c3f1e9
enhance: do NOT trigger double clicking events when user click the blank area of ListBox
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 10:50:52 +08:00
leo
a5606e80d4
refactor: move codes from Views.FilterModeSwitchButton to ViewModels.Repository
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-15 10:19:39 +08:00
github-actions[bot]
66842b1d0d
doc: Update translation status and missing keys
2024-11-15 01:19:12 +00:00
AquariusStar
63dfde7cb8
localization: update translation for russian ( #700 )
2024-11-15 09:18:55 +08:00
leo
a824adf6d3
code_style: run dotnet format
...
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
Localization Check / localization-check (push) Waiting to run
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 21:15:40 +08:00
leo
28c93da73b
ux: show Unset
menu item only if it is necessary ( #690 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 21:12:18 +08:00
leo
04697093a8
localization: update Text.Repository.FilterCommits.Default
( #690 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 20:56:49 +08:00
leo
1298a22b00
ux: use dynamic icon for filter tips.
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 20:53:59 +08:00
leo
44557c066c
enhance: clear histories filter if there's a filter that has different modes with the new one ( #690 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 20:22:08 +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
github-actions[bot]
bb90c86649
doc: Update translation status and missing keys
2024-11-14 07:21:47 +00: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
e3ffe3ef6c
enhance: supports Azure OpenAI REST API ( #695 )
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-14 14:56:21 +08:00
github-actions[bot]
3c5a4741bf
doc: Update translation status and missing keys
2024-11-14 01:18:29 +00:00
TheGthr
7ffebec8a6
Add missing fr_FR keys ( #696 )
...
* localization: add missing fr_FR keys
---------
Co-authored-by: Theo GAUTHIER <theo.gauthier@soprasteria.com>
2024-11-14 09:18:09 +08:00
leo
ea4e968404
ux: repository left panel layout
...
Signed-off-by: leo <longshuang@msn.cn>
2024-11-13 11:35:48 +08:00
leo
fd5c1f5105
code_review: PR #692
...
* remove unnecessary namespace using
* move `Commands.Branch.HasRemote` to `Commands.Remote.HasBranch`
* remove `Commands.Branch.DeleteRemoteTracking` and check branch in `Commands.Branch.DeleteRemote` directly
Signed-off-by: leo <longshuang@msn.cn>
2024-11-13 10:04:28 +08:00