Commit graph

40 commits

Author SHA1 Message Date
leo
8d27690473 code_style: keep ux/code in a uniform style 2024-05-26 14:35:57 +08:00
leo
66f2aab6a7 code_review: review for PR (#147)
* code style
* localizations for zh_CN
2024-05-26 14:25:21 +08:00
Filipe Ramalho
db9ca5ba25
Merge branch 'develop' into feature/allowing_to_checkout_commit 2024-05-25 15:43:27 -03:00
Filipe Ramalho
8aa1690cde Adding checkout commit menu and dialog 2024-05-25 15:11:24 -03:00
leo
6fe96d629a feature: allow deleting multiple branches at one time (#137) 2024-05-25 01:31:59 +08:00
Gadfly
6e35ee64da fix: remove SearchResultSelectedCommit from preference.json 2024-05-15 16:20:31 +08:00
leo
c48d69362e enhance: performance of filtering branch 2024-05-14 18:50:36 +08:00
leo
02e71d4d75 feature: supports filter displayed branches 2024-05-14 11:47:56 +08:00
leo
764cf24284 code_review: PR #120
* remove unnecessary code. The `SetProperty` function takes care of set same property in a loop
2024-05-10 16:30:34 +08:00
Gadfly
592d087e05 fix: update search filter selected commit after Histories selected commit changed 2024-05-10 16:04:03 +08:00
leo
4af8cc18d2 fix: welcome page should use a shared singleton instance to manage and filter repositories (#117) 2024-05-07 14:12:52 +08:00
leo
a5150edee0 code_style: rename platform_finder to platformFinder and run dotnet format to apply code style rules 2024-04-29 17:55:38 +08:00
leo
776605cb68 code_review: PR #98
* remove the `Leave` option (it may lead to an undefined behaviour), so user can only choose `Stash & reapply` or `Discard`.
* re-design the UI
* remove unused resources
2024-04-29 17:22:22 +08:00
Alexander Bogomolets
927a1cab24 Add checkout local changes handling
This commit adds the local changes handling behavior for branch checkout.
One of three can be selected: stash and reapply after checkout, discard changes or leave them as is (previous behaviour)
2024-04-29 16:40:20 +08:00
leo
df66bacbd2 enhance: reset commit message after a merge request has been aborted 2024-04-29 09:31:04 +08:00
leo
9b5e8429b9 feature: add hotkey 'F5' to reload/refresh whole repository 2024-04-28 10:19:12 +08:00
leo
003ad66ccb ux: add menu icon for git-flow 2024-04-15 15:07:07 +08:00
leo
17fc7ab994 ux: add icons for external merge tools 2024-04-09 15:00:52 +08:00
leo
4ac705f8ca feature: add powershell support for Windows 2024-04-08 17:39:52 +08:00
leo
d873f21b6a fix: crash when open external tool drop down menu 2024-04-06 15:01:07 +08:00
leo
111bf2966a refactor: rewrite external editor supports
* supported editors can be different on different platforms.
* display founded editors only
2024-04-06 13:14:22 +08:00
leo
d986aa7165 feature: add button to navigate to current HEAD (#50) 2024-04-02 20:54:57 +08:00
leo
96d4150d26 project: reorganize the structure of the project.
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
18aaa0a143 style: add .editorconfig for code formatting. see issu #25 2024-03-18 09:37:06 +08:00
leo
f6eb1281b5 enhance: force using StringComparison.Ordinal 2024-03-14 11:09:05 +08:00
leo
a89760c7a5 refactor: change the way to refresh repository's data.
* mark dirty instead of calling refresh method directly
* force mark branches data dirty after remotes changed
2024-03-08 09:57:29 +08:00
leo
d0e80be79f feature: enhance commit search
* Supports search commits by author/committer email
* Auto focus when search panel is visible
2024-03-07 16:29:24 +08:00
leo
307e5a5ef0 fix<Repository, History>: wrong context menu IsEnabled state.
* 'Pull' should always enabled for local branch with remote upstream
* 'Discard All Changes' for current branch should only be enabled when there's at least one changes
* 'Fast Forward' should check if target local branch has any commit ahead of it's upstream
2024-03-01 19:12:22 +08:00
leo
e3a7abe776 style<Repository>: normalize repository's path 2024-03-01 13:46:00 +08:00
leo
096fd6cb22 feature<TextDiffView>: supports discard changes from staged directly 2024-02-29 10:59:59 +08:00
leo
1149c768d3 refactor<NameHighlightedTextBlock>: use NameHighlightedTextBlock's constructor instead of functions in each caller 2024-02-28 18:55:23 +08:00
leo
2aacec75b4 optimize<*>: add a static method CreateMenuIcon to App. Restore working copy changes' selection state after refreshed 2024-02-27 18:26:05 +08:00
leo
79084c9a9a fix<Clone>: fix crash after clone a new repository 2024-02-22 11:05:20 +08:00
leo
faffba09c8 fix<Submodules>: compatible with un-inited submodule 2024-02-21 12:26:09 +08:00
leo
dbd91c9b58 style<Repository>: arrange buttons in Repository's tool bar 2024-02-21 10:14:42 +08:00
leo
57c4a8394c optimize<*>: reduce memory usage 2024-02-20 18:27:59 +08:00
leo
e310cfd84f feature<ContextMenu>: highlight branch/commit/tag name in ContextMenuItem 2024-02-06 19:07:17 +08:00
leo
98e65c0f11 fix<Repository>: filter not working 2024-02-06 17:52:16 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00