From 0154dc9f3bbb027422a31ee69a730159bbe53953 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Tue, 17 Sep 2024 18:54:07 +0100 Subject: [PATCH 01/10] =?UTF-8?q?=E2=9C=A8=20Add=20home=20button=20to=20ta?= =?UTF-8?q?b=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomTabView/CustomTabView.xaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml b/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml index 53433f32f..4c12e52a8 100644 --- a/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml +++ b/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml @@ -34,6 +34,23 @@ SelectedItem="{x:Bind SelectedItem, Mode=TwoWay}" TabCloseRequested="OnMainTabViewTabCloseRequested" TabItemsSource="{x:Bind TabItems, Mode=OneWay}"> + + + From 988b67cb15d6886082067cb16f70e62358cbec26 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 18:15:00 +0100 Subject: [PATCH 02/10] =?UTF-8?q?=F0=9F=92=84=20Fix=20tab=20strip=20header?= =?UTF-8?q?=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml b/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml index 4c12e52a8..494c8a6b3 100644 --- a/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml +++ b/src/FluentHub.App/UserControls/CustomTabView/CustomTabView.xaml @@ -39,7 +39,7 @@ Grid.Column="1" Width="30" Height="30" - Margin="4,0,-2,0" + Margin="4,0,-2,2" Padding="5" HorizontalAlignment="Right" VerticalAlignment="Bottom" From 7905fc5caf665e94b5c91ff764a184901466ffe6 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 18:16:37 +0100 Subject: [PATCH 03/10] =?UTF-8?q?=F0=9F=92=84=20Make=20address=20bar=20mor?= =?UTF-8?q?e=20like=20Files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluentHub.App/Views/MainPage.xaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/FluentHub.App/Views/MainPage.xaml b/src/FluentHub.App/Views/MainPage.xaml index bb0857c70..07ff9ba64 100644 --- a/src/FluentHub.App/Views/MainPage.xaml +++ b/src/FluentHub.App/Views/MainPage.xaml @@ -1,4 +1,4 @@ - + 0 0 + + @@ -167,6 +178,7 @@ Padding="0" Command="{x:Bind ViewModel.GoBackCommand, Mode=OneWay}" IsEnabled="{x:Bind CustomCustomTabView.SelectedItem.NavigationHistory.CanGoBack, Mode=OneWay}" + Style="{StaticResource AddressToolbarButtonStyle}" ToolTipService.ToolTip="{helpers:ResourceString Name=GoBackButton/ToolTipService/Tooltip}"> @@ -188,6 +200,7 @@ Padding="0" x:Load="{x:Bind CustomCustomTabView.SelectedItem.NavigationHistory.CanGoForward, Mode=OneWay}" Command="{x:Bind ViewModel.GoForwardCommand, Mode=OneWay}" + Style="{StaticResource AddressToolbarButtonStyle}" ToolTipService.ToolTip="{helpers:ResourceString Name=GoForwardButton/ToolTipService/Tooltip}"> @@ -212,6 +225,7 @@ Padding="0" Command="{x:Bind ViewModel.ReloadCommand, Mode=OneWay}" IsEnabled="{x:Bind CustomCustomTabView.SelectedItem.NavigationHistory.CanReload, Mode=OneWay}" + Style="{StaticResource AddressToolbarButtonStyle}" ToolTipService.ToolTip="Refresh"> From aa432eff1711e2c5a8c1aa1722979321c186caa4 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 19:00:11 +0100 Subject: [PATCH 04/10] =?UTF-8?q?=E2=9C=A8=20Reinstate=20search=20and=20cr?= =?UTF-8?q?eate=20fields?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluentHub.App/Views/MainPage.xaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/FluentHub.App/Views/MainPage.xaml b/src/FluentHub.App/Views/MainPage.xaml index 07ff9ba64..94f857cba 100644 --- a/src/FluentHub.App/Views/MainPage.xaml +++ b/src/FluentHub.App/Views/MainPage.xaml @@ -269,20 +269,22 @@ Spacing="8"> - + PlaceholderText="Search GitHub" /> - + From 7d58b478a014c5aa6131bd370a8e38ed4abacb0f Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 19:03:54 +0100 Subject: [PATCH 06/10] =?UTF-8?q?=E2=9C=A8=20Add=20issues=20and=20PRs=20bu?= =?UTF-8?q?tton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluentHub.App/Views/MainPage.xaml | 30 ++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/FluentHub.App/Views/MainPage.xaml b/src/FluentHub.App/Views/MainPage.xaml index 109c09800..c2b8dfc7c 100644 --- a/src/FluentHub.App/Views/MainPage.xaml +++ b/src/FluentHub.App/Views/MainPage.xaml @@ -289,7 +289,35 @@ - + + + + + + + From 156ccefd2a15f45a688f85d35587405a13157ee4 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 19:18:21 +0100 Subject: [PATCH 08/10] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20typo=20in=20co?= =?UTF-8?q?mponent=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FluentHub.App/Views/MainPage.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FluentHub.App/Views/MainPage.xaml b/src/FluentHub.App/Views/MainPage.xaml index 639c2b576..2a2e235c3 100644 --- a/src/FluentHub.App/Views/MainPage.xaml +++ b/src/FluentHub.App/Views/MainPage.xaml @@ -195,7 +195,7 @@ diff --git a/src/FluentHub.App/Views/MainPage.xaml b/src/FluentHub.App/Views/MainPage.xaml index 2a2e235c3..82ada173e 100644 --- a/src/FluentHub.App/Views/MainPage.xaml +++ b/src/FluentHub.App/Views/MainPage.xaml @@ -150,26 +150,6 @@ - - - + + + From b2ac1b192b57c3d52f3c8287b142b79df70a7fe1 Mon Sep 17 00:00:00 2001 From: Lamparter Date: Wed, 18 Sep 2024 19:56:12 +0100 Subject: [PATCH 10/10] =?UTF-8?q?=F0=9F=9A=A8=20Compare=20release=20to=20`?= =?UTF-8?q?Count`=20to=200=20rather=20than=20using=20`Any()`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewModels/Repositories/Releases/ReleasesViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FluentHub.App/ViewModels/Repositories/Releases/ReleasesViewModel.cs b/src/FluentHub.App/ViewModels/Repositories/Releases/ReleasesViewModel.cs index f937286bf..d8c3d6807 100644 --- a/src/FluentHub.App/ViewModels/Repositories/Releases/ReleasesViewModel.cs +++ b/src/FluentHub.App/ViewModels/Repositories/Releases/ReleasesViewModel.cs @@ -76,7 +76,7 @@ private async Task LoadRepositoryReleasesAsync(string login, string name) _lastPageInfo = result.PageInfo; var items = (List)result.Response; - if (items.Any()) + if (items.Count != 0) { LatestRelease = items.FirstOrDefault(); }