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

Migrate from UWP to the Windows App SDK #316

Merged
merged 38 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
618be35
Migration from UWP to WASDK (first attempt)
0x5bfa Oct 4, 2022
718d203
Migration from UWP to WASDK (second attempt)
0x5bfa Oct 4, 2022
b0198ad
Merge branch 'main' into wasdk
0x5bfa Oct 4, 2022
7a6ef04
Update App.xaml.cs and MainWindow.xaml
0x5bfa Oct 4, 2022
3b39c34
Merge branch 'wasdk' of https://github.com/FluentHub/FluentHub into w…
0x5bfa Oct 4, 2022
4061dbd
Fix almost all of code errors
0x5bfa Oct 8, 2022
816f996
Update WebView to WebView2
0x5bfa Oct 8, 2022
6daf9c3
Fix missing namespaces (Labels, ThemeListener)
0x5bfa Oct 8, 2022
9c87170
Merge branch 'main' into wasdk
Lamparter Oct 8, 2022
5896bb7
Fix namespaces
0x5bfa Oct 9, 2022
fe12db3
Add a dependency Microsoft.Xaml.Behaviors.WinUI.Managed
0x5bfa Oct 9, 2022
56b6f4f
Update app activation phase
0x5bfa Oct 10, 2022
06b9959
Replace undefined resources with defined ones
0x5bfa Oct 10, 2022
06727e0
Merge branch 'main' into wasdk
0x5bfa Oct 11, 2022
6e09d3c
Merge branch 'main' into wasdk
0x5bfa Oct 13, 2022
def7502
Update the structure of the FluentHub projects
0x5bfa Oct 13, 2022
7fca916
Bump up version of some dependencies
0x5bfa Oct 13, 2022
4ac990c
Rename namespace FluentHub.Uwp to Fluenthub.App
0x5bfa Oct 13, 2022
d9a9c99
Fix build errors
0x5bfa Oct 13, 2022
fe610a9
Update Edit User Profile Dialog
0x5bfa Oct 13, 2022
1ba6e1a
Update issue details sidebar
0x5bfa Oct 13, 2022
10c4f48
Update .gitignore
Lamparter Oct 13, 2022
d465f5c
Update launchSettings.json
Lamparter Oct 13, 2022
95ce06e
Update .gitignore
0x5bfa Oct 13, 2022
5e2ec62
Merge branch 'wasdk' of https://github.com/FluentHub/FluentHub into w…
Lamparter Oct 13, 2022
5224986
Update .gitignore
Lamparter Oct 13, 2022
12dfab4
Update FluentHub.sln
Lamparter Oct 13, 2022
a46eb60
Update .gitignore
Lamparter Oct 13, 2022
5fe3f25
Update launchSettings.json
Lamparter Oct 14, 2022
d65f1e8
Update launchSettings.json
Lamparter Oct 14, 2022
f6fc270
Introduce issue comment's reactions block
0x5bfa Oct 14, 2022
aa72424
Merge branch 'wasdk' of https://github.com/FluentHub/FluentHub into w…
0x5bfa Oct 14, 2022
16fd68c
Update issue timeline items data templates
0x5bfa Oct 15, 2022
06f8b27
Increase caching length of timeline items in the Issue page
0x5bfa Oct 15, 2022
35375d5
Fix titlebar issue
0x5bfa Oct 16, 2022
3ea31d0
Remove muxc namespace mapping
0x5bfa Oct 16, 2022
6ad379c
Improve titlebar user experience
0x5bfa Oct 16, 2022
35a7b9e
Update data template of main navigation view items
0x5bfa Oct 16, 2022
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
13 changes: 10 additions & 3 deletions src/FluentHub.App/FluentHub.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,28 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Humanizer" Version="2.14.1" />
<PackageReference Include="Microsoft.AppCenter.Analytics" Version="4.5.3" />
<PackageReference Include="Microsoft.AppCenter.Crashes" Version="4.5.3" />
0x5bfa marked this conversation as resolved.
Show resolved Hide resolved
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
<PackageReference Include="Microsoft.Management.Infrastructure" Version="2.0.0" />
<PackageReference Include="Microsoft.Management.Infrastructure.Runtime.Win" Version="2.0.1" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.0" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.1" />
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
<PackageReference Include="Octokit.GraphQL" Version="0.2.0-beta" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="7.1.2" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.220930.4-preview2" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
<PackageReference Include="CommunityToolkit.WinUI" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.Notifications" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.4" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.346202">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.0" />
<PackageReference Include="WinUIEx" Version="1.8.0" />
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FluentHub.Core\FluentHub.Core.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/FluentHub.App/Views/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private void SetRectDragRegion()
var height = (int)(CustomTabViewControl.TitlebarArea.ActualHeight * scaleAdjustment);

var dragRect = new RectInt32(x, y, width, height);
App.Window.AppWindow.TitleBar.SetDragRectangles(new[] { dragRect });
App.Window.AppWindow.TitleBar.SetDragRectangles(new[] { new(0, 0, (int)MainPageTitleBar.ActualWidth, 44), dragRect });
}

private void OnSearchGitHubButtonButtonClick(object sender, RoutedEventArgs e)
Expand Down