Skip to content
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
5 changes: 5 additions & 0 deletions src/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public static User FindOrAdd(string data)
return _caches.GetOrAdd(data, key => new User(key));
}

public override string ToString()
{
return $"{Name} <{Email}>";
}

private static ConcurrentDictionary<string, User> _caches = new ConcurrentDictionary<string, User>();
private readonly int _hash;
}
Expand Down
13 changes: 10 additions & 3 deletions src/Views/ChangeCollectionView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
<Grid ColumnDefinitions="16,Auto,Auto,*"
Margin="{Binding Depth, Converter={x:Static c:IntConverters.ToTreeMargin}}"
Background="Transparent"
DoubleTapped="OnRowDoubleTapped">
DoubleTapped="OnRowDoubleTapped"
ToolTip.Tip="{Binding FullPath}">
<v:ChangeTreeNodeToggleButton Grid.Column="0"
Classes="tree_expander"
Focusable="False"
Expand Down Expand Up @@ -71,7 +72,10 @@
SelectionChanged="OnRowSelectionChanged">
<ListBox.ItemTemplate>
<DataTemplate DataType="m:Change">
<Grid ColumnDefinitions="Auto,Auto,Auto,*" Background="Transparent" DoubleTapped="OnRowDoubleTapped">
<Grid ColumnDefinitions="Auto,Auto,Auto,*"
Background="Transparent"
DoubleTapped="OnRowDoubleTapped"
ToolTip.Tip="{Binding Path}">
<v:ChangeStatusIcon Grid.Column="0"
Width="14" Height="14"
Margin="4,0,0,0"
Expand Down Expand Up @@ -100,7 +104,10 @@
SelectionChanged="OnRowSelectionChanged">
<ListBox.ItemTemplate>
<DataTemplate DataType="m:Change">
<Grid ColumnDefinitions="Auto,Auto,*" Background="Transparent" DoubleTapped="OnRowDoubleTapped">
<Grid ColumnDefinitions="Auto,Auto,*"
Background="Transparent"
DoubleTapped="OnRowDoubleTapped"
ToolTip.Tip="{Binding Path}">
<v:ChangeStatusIcon Grid.Column="0"
Width="14" Height="14"
Margin="4,0,0,0"
Expand Down
2 changes: 1 addition & 1 deletion src/Views/DiffView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</Border>

<!-- Title -->
<TextBlock Grid.Column="2" Classes="primary" Margin="4,0,0,0" Text="{Binding Title}" FontSize="11" TextTrimming="CharacterEllipsis"/>
<TextBlock Grid.Column="2" Classes="primary" Margin="4,0,0,0" Text="{Binding Title}" ToolTip.Tip="{Binding Title}" FontSize="11" TextTrimming="CharacterEllipsis"/>

<!-- Toolbar Buttons -->
<StackPanel Grid.Column="3" Margin="8,0,0,0" Orientation="Horizontal" VerticalAlignment="Center">
Expand Down
11 changes: 9 additions & 2 deletions src/Views/Histories.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@
</Grid.ColumnDefinitions>

<!-- Subject & REFS -->
<Border Grid.Column="0" Padding="{Binding Margin}" ClipToBounds="True">
<Border Grid.Column="0"
Padding="{Binding Margin}"
ClipToBounds="True"
Background="Transparent"
ToolTip.Tip="{Binding Subject}">
<Grid ColumnDefinitions="Auto,Auto,*" Margin="2,0,4,0" ClipToBounds="True">
<v:CommitStatusIndicator Grid.Column="0"
CurrentBranch="{Binding $parent[v:Histories].CurrentBranch}"
Expand Down Expand Up @@ -159,7 +163,10 @@
</Border>

<!-- Author -->
<Grid Grid.Column="1" ColumnDefinitions="20,*" IsHitTestVisible="False">
<Grid Grid.Column="1"
ColumnDefinitions="20,*"
Background="Transparent"
ToolTip.Tip="{Binding Author}">
<v:Avatar Grid.Column="0"
Width="16" Height="16"
Margin="4,0,0,0"
Expand Down
2 changes: 1 addition & 1 deletion src/Views/RevisionFiles.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
HorizontalOffset="-8" VerticalAlignment="-8">
<Popup.IsOpen>
<MultiBinding Converter="{x:Static BoolConverters.And}">
<Binding Path="RevisionFileSearchSuggestion" Converter="{x:Static c:ListConverters.IsNotNullOrEmpty}}"/>
<Binding Path="RevisionFileSearchSuggestion" Converter="{x:Static c:ListConverters.IsNotNullOrEmpty}"/>
<Binding Path="$parent[Window].IsActive"/>
</MultiBinding>
</Popup.IsOpen>
Expand Down