Skip to content
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

Remove tooltip with 'broken' date #186

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading