Skip to content

Commit

Permalink
Added run timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Jul 31, 2023
1 parent 52b265c commit 48c3a0a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/GitHubActionsVS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@
<PackageReference Include="Emoji.Wpf">
<Version>0.3.4</Version>
</PackageReference>
<PackageReference Include="Humanizer">
<Version>2.14.1</Version>
</PackageReference>
<PackageReference Include="LibGit2Sharp">
<Version>0.27.2</Version>
</PackageReference>
Expand All @@ -163,7 +166,7 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Octokit">
<Version>7.0.1</Version>
<Version>7.1.0</Version>
</PackageReference>
<PackageReference Include="Sodium.Core">
<Version>1.3.3</Version>
Expand Down
5 changes: 3 additions & 2 deletions src/Models/SimpleRun.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using System.Collections.Generic;
using Humanizer;
using System.Collections.Generic;

namespace GitHubActionsVS.Models;
public class SimpleRun : BaseWorkflowType
{
public List<SimpleJob> Jobs { get; set; }
public string RunNumber { get; set; }

public override string DisplayName => $"{Name} #{RunNumber}";
public override string DisplayName => $"{Name} #{RunNumber} ({LogDate.Humanize()})";
}
1 change: 1 addition & 0 deletions src/ToolWindows/GHActionsToolWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
using System.Windows.Media;
using MessageBox = Community.VisualStudio.Toolkit.MessageBox;
using resx = GitHubActionsVS.Resources.UIStrings;
using Humanizer;

namespace GitHubActionsVS;

Expand Down

0 comments on commit 48c3a0a

Please sign in to comment.