-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Source Control Settings #1926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
austincondiff
merged 30 commits into
CodeEditApp:main
from
austincondiff:source-control-settings
Dec 14, 2024
Merged
Source Control Settings #1926
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
89ccc14
Hiding source control navigator when source control is disabled in Se…
austincondiff 78b8184
Hiding History Inspector when source control is disabled in Settings.
austincondiff e58ab76
Hiding Source Control menu when source control is disabled in Settings.
austincondiff 7adc787
If enableSourceControl or refreshStatusLocally setting is false then …
austincondiff 5eb0f7f
Hiding branch picker in the toolbar when source control is disabled i…
austincondiff b7c9797
Enabled fetch and refresh server status automatically setting. When d…
austincondiff 409c4ce
Author name, author email, and prefer rebase when pulling settings us…
austincondiff 7ddb5e8
Default branch setting uses the users global git config instead of Co…
austincondiff ae6ba40
Show merge commits per file log setting now shows merge commits if en…
austincondiff 241ebbd
Fixed swiftlint error
austincondiff 996be19
Added Ignored Files list in source control settings. Refactored searc…
austincondiff 52b03ef
Fixed a small race condition
austincondiff 528fe57
Merge branch 'main' into source-control-settings
austincondiff 90934f2
Added type to hasAppeared variable in SourceControlGitView.
austincondiff 9635fe5
Renamed `enableSourceControl` to `sourceControlIsEnabled`. Added docu…
austincondiff 71ee6c6
Ignored files can be changed while preserving comments and white spac…
austincondiff dbf88a9
Merge branch 'main' into source-control-settings
austincondiff 23148b3
Fixed SwiftLint errors
austincondiff eab7301
Ignore pattern reorder fixes
austincondiff b31e07d
Writing relative url to gitconfig upon adding first pattern
austincondiff 284df2e
Cleaned up unecessary function
austincondiff dbf0929
Trying to fix test
austincondiff 0565305
Dynamically resolve gitignore file path.
austincondiff 93b0be5
Fixing test
austincondiff 464bdea
Added source control settings header. Moved feature icon into new vie…
austincondiff 24658a2
Moved tabs below source control toggle
austincondiff 38cd1f0
Fixed PR issue
austincondiff 35be9a9
PR issues, added documentation
austincondiff 97bbefb
Marked IgnorePatternModel with @MainActor. More documentation. Refact…
austincondiff a446a18
Adding main actor to savePatterns function in IgnorePatternModel per …
austincondiff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| // | ||
| // GlobPattern.swift | ||
| // CodeEdit | ||
| // | ||
| // Created by Austin Condiff on 11/2/24. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
thecoolwinter marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| /// A simple model that associates a UUID with a glob pattern string. | ||
| /// | ||
| /// This type does not interpret or validate the glob pattern itself. | ||
| /// It is simply an identifier (`id`) and the glob pattern string (`value`) associated with it. | ||
| struct GlobPattern: Identifiable, Hashable, Decodable, Encodable { | ||
| /// Ephemeral UUID used to uniquely identify this instance in the UI | ||
| var id = UUID() | ||
|
|
||
| /// The Glob Pattern string | ||
| var value: String | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.