Skip to content

Commit

Permalink
Remove tooltip with 'broken' date, #183
Browse files Browse the repository at this point in the history
  • Loading branch information
coenm committed Sep 20, 2024
1 parent a30e3be commit cde0283
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 260 deletions.
102 changes: 0 additions & 102 deletions src/RepoM.Api/Common/HardcodededMiniHumanizer.cs

This file was deleted.

3 changes: 0 additions & 3 deletions src/RepoM.Api/Git/RepositoryViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public RepositoryViewModel(Repository repository, IRepositoryMonitor monitor)
{
_monitor = monitor ?? throw new ArgumentNullException(nameof(monitor));
Repository = repository ?? throw new ArgumentNullException(nameof(repository));
UpdateStampUtc = DateTime.UtcNow;
Tags = Repository.Tags.Select(tag => new TagViewModel(tag)).ToArray();
}

Expand Down Expand Up @@ -127,6 +126,4 @@ public bool IsSynchronizing
}

private static string SyncAppendix => " \u2191\u2193"; // up and down arrows

public DateTime UpdateStampUtc { get; private set; }
}
22 changes: 0 additions & 22 deletions src/RepoM.App/Converters/UtcToHumanizedLocalDateTimeConverter.cs

This file was deleted.

9 changes: 1 addition & 8 deletions src/RepoM.App/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
fw:AcrylicWindow.TintOpacity="0.7"
fw:AcrylicWindow.Enabled="True"
d:DataContext="{d:DesignInstance viewModels:MainWindowViewModel}">
<Window.Resources>
<converters:UtcToHumanizedLocalDateTimeConverter x:Key="UtcToHumanizedLocalDateTimeConverter" />
</Window.Resources>
<Grid Margin="12"
Focusable="False">

Expand Down Expand Up @@ -319,11 +316,7 @@
HorizontalAlignment="Left" >
<TextBlock Text="{Binding Status}"
FontFamily="Consolas"
FontSize="13.5" >
<TextBlock.ToolTip>
<TextBlock Text="{Binding UpdateStampUtc, StringFormat=HH:mm:ss, Converter={StaticResource UtcToHumanizedLocalDateTimeConverter}}"/>
</TextBlock.ToolTip>
</TextBlock>
FontSize="13.5" />
</Border>
<StackPanel Orientation="Horizontal">
<ItemsControl Grid.Column="0" ItemsSource="{Binding Tags}">
Expand Down
125 changes: 0 additions & 125 deletions tests/RepoM.Api.Tests/Common/HardcodedMiniHumanizerTests.cs

This file was deleted.

0 comments on commit cde0283

Please sign in to comment.