-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Feature: Added Git columns to the details layout #12485
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
yaira2
merged 72 commits into
files-community:main
from
0x5bfa:5bfa/implement-gitcolumns
Jun 13, 2023
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
bbfeadb
Add comments
0x5bfa a835f3e
Add git uncommitted changes status column
0x5bfa 0b88143
Update
0x5bfa 5856cc1
Merge branch 'main' into 5bfa/implement-gitcolumns
0x5bfa ca811db
Update
0x5bfa c6e08e0
Add more columns and get Git info all at once
0x5bfa 7e745a7
Fix an issue
0x5bfa c6d0698
Update
0x5bfa d3bb483
Fix
0x5bfa 3621c82
Update
0x5bfa c15aa03
Update
0x5bfa 01b0191
Merge branch 'main' into 5bfa/implement-gitcolumns
0x5bfa 69e0c64
Update
0x5bfa 15774c2
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa 4e071ca
Update
0x5bfa 43ea5b8
[WIP]
gave92 fdb4674
Load git as extended properties
gave92 d9d3be6
Merge pull request #1 from gave92/rev_gitcol
0x5bfa 4d60393
Hide/show git columns
gave92 eaea7cd
Update
0x5bfa a2103c0
Revert extra changes
gave92 a8e0f53
Merge commit 'refs/pull/12485/head' of https://github.com/files-commu…
gave92 a8e76d8
Update
0x5bfa a1f14f4
Merge pull request #2 from gave92/rev_gitcol
0x5bfa 318c2ca
Update src/Files.App/Strings/en-US/Resources.resw
0x5bfa d971080
Update src/Files.App/Strings/en-US/Resources.resw
0x5bfa 3ce3632
Update src/Files.App/Strings/en-US/Resources.resw
0x5bfa 8f29219
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa 64ea15a
Revert unrelated changes
0x5bfa 771cb41
again
0x5bfa 732b59a
Again
0x5bfa 13ffac3
Fix git column prefs
gave92 1ac2039
Fix columns hidden status not sticking
gave92 511ba27
Merge commit 'refs/pull/12485/head' of https://github.com/files-commu…
gave92 c4fe6b8
Merge pull request #3 from gave92/rev_gitcol
0x5bfa f81d2a6
requested changes
0x5bfa d997bc3
Rename commit author column
yaira2 6a07653
Rename commit date column
yaira2 fb39eb2
Update Resources.resw
yaira2 40c30ef
Requested changes
0x5bfa 62c2ca1
Update
0x5bfa c3b8500
Fix formatting
0x5bfa 65b9552
Requested changes
0x5bfa 126268b
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa 9fbecd9
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa b9b5c26
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa b14368d
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa 328957b
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa 6e90493
Update src/Files.Backend/Services/Settings/IFoldersSettingsService.cs
0x5bfa b9e2f76
Update
0x5bfa b738140
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa 2f31d70
Fix
0x5bfa c8188f9
Cleanup & add type check
0x5bfa 6df6d6c
Revert "Cleanup & add type check"
0x5bfa 6146b5f
Update
0x5bfa 668dbbb
Merge branch 'main' into 5bfa/implement-gitcolumns
yaira2 8ad9e3e
Update
0x5bfa 433135a
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa 1d49454
Fix
0x5bfa 18ad74a
Update
0x5bfa 5b1412f
Update naming
0x5bfa 8c1c2fb
Update
0x5bfa 1d7b76e
Update
0x5bfa 54602aa
Update
0x5bfa 196bac2
Update
0x5bfa aa10b50
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa 6452c93
Merge branch 'main' into 5bfa/implement-gitcolumns
yaira2 33804ab
Merge branch 'main' into 5bfa/implement-gitcolumns
yaira2 29ecac7
Update src/Files.App/Data/Models/ItemViewModel.cs
0x5bfa 0452baa
Update
0x5bfa c871fc4
Merge branch '5bfa/implement-gitcolumns' of https://github.com/0x5bfa…
0x5bfa f025303
Merge branch 'main' into 5bfa/implement-gitcolumns
yaira2 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
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,36 @@ | ||
using LibGit2Sharp; | ||
|
||
namespace Files.App.Data.Models | ||
{ | ||
/// <summary> | ||
/// Represents a model for Git items | ||
/// </summary> | ||
internal class GitItemModel | ||
{ | ||
/// <summary> | ||
/// Gets or initializes file change kind | ||
/// </summary> | ||
/// <remarks> | ||
/// This is often showed as A(Add), D(Delete), M(Modified), U(Untracked) in VS Code. | ||
/// </remarks> | ||
public ChangeKind Status { get; init; } | ||
|
||
/// <summary> | ||
/// Gets or initializes file change kind humanized string | ||
/// </summary> | ||
/// <remarks> | ||
/// This is often showed as A(Add), D(Delete), M(Modified), U(Untracked) in VS Code. | ||
/// </remarks> | ||
public string? StatusHumanized { get; init; } | ||
yaira2 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
/// <summary> | ||
/// Gets or initializes file last commit information including author, committed date, and SHA. | ||
/// </summary> | ||
public Commit? LastCommit { get; init; } | ||
|
||
/// <summary> | ||
/// Gets or initializes file path | ||
/// </summary> | ||
public string? Path { get; init; } | ||
} | ||
} |
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
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.