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

General Updates 20 #486

Open
wants to merge 83 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
7c701d9
📝 Refresh README
Lamparter Jul 16, 2024
2db7659
Update README.md
0x5bfa Jul 17, 2024
426961a
👥 Update settings page
Lamparter Jul 20, 2024
327220c
🌐 Fix spelling mistake
Lamparter Jul 20, 2024
6a53766
🧑‍💻 Remove emoji that doesn't match
Lamparter Jul 21, 2024
5175a17
⬆️ Upgrade PR and issue icons to WinUI3
Lamparter Jul 21, 2024
1b87e41
📃 Update LICENSE.md
Lamparter Jul 21, 2024
8507d5b
Create cd-store.yml
0x5bfa Jul 21, 2024
7cf94ea
Merge branch 'main' into lamparter/refactor
Lamparter Jul 22, 2024
13448ac
🚚 Update legal copyright span
Lamparter Jul 24, 2024
861b573
Delete .github/workflows/cd-store.yml
0x5bfa Jul 25, 2024
5f973a2
🚚 Fix minor error
Lamparter Jul 25, 2024
129dc58
Merge branch 'main' into lamparter/refactor
Lamparter Jul 25, 2024
fb3a664
⏪️ Revert commit `13448ace`
Lamparter Jul 25, 2024
8d6b901
Update LICENSE.md
0x5bfa Jul 25, 2024
612c188
Merge branch 'main' into lamparter/refactor
0x5bfa Jul 25, 2024
9d08189
Update Program.cs
0x5bfa Jul 25, 2024
db6607e
Rename README.md to .github/README.md
0x5bfa Jul 25, 2024
6e9888d
Merge branch 'main' into lamparter/refactor
Lamparter Jul 25, 2024
af5f20b
🚨 Fix SA1507
Lamparter Jul 26, 2024
c736519
Merge branch 'main' into lamparter/refactor
Lamparter Jul 27, 2024
cf3c40d
Merge branch 'main' into lamparter/refactor
Lamparter Jul 28, 2024
1d2b0c8
Merge branch 'main' into lamparter/refactor
0x5bfa Aug 23, 2024
1e8cdba
Merge branch 'main' into lamparter/refactor
Lamparter Aug 28, 2024
5808126
📝 Change docs to use warning
Lamparter Aug 28, 2024
f42e8df
⬆️ Upgrade `Humanizer` from 2.8.25 to 2.14.1
Lamparter Aug 28, 2024
a7a2cda
⬆️ Upgrade `Microsoft.Windows.SDK.BuildTools` from ...22621.756 to ..…
Lamparter Aug 28, 2024
1c75808
⬆️ Upgrade `Microsoft.WindowsAppSDK` from ...240428000 to 240802000
Lamparter Aug 28, 2024
377e665
⬆️ Upgrade `Seriolog.Sinks.File` from `5.0.0` to `6.0.0`
Lamparter Aug 28, 2024
0eb51e2
Merge branch 'main' into lamparter/refactor
Lamparter Aug 29, 2024
2f0e6b8
🎨 Rename class `WebViewExtentions` to `WebViewExtensions`
Lamparter Aug 29, 2024
fe38b25
🧑‍💻 Update Discord link in issues experience
Lamparter Aug 29, 2024
152d3ad
💄 Fix grid column misalignment in app settings
Lamparter Aug 29, 2024
9d0444b
🥅 Add back the cat to the error page
Lamparter Aug 29, 2024
37f0d79
📝 Add docs for translation
Lamparter Sep 1, 2024
135778c
📝 Fix spelling mistake in README
Lamparter Sep 1, 2024
cbb1b52
Code Quality: Cleanup code (#510)
Lamparter Sep 5, 2024
e3f86ad
👔 Update app description
Lamparter Sep 14, 2024
28ec931
Merge branch 'main' into lamparter/refactor
Lamparter Sep 15, 2024
8fe05e3
💄 Replace the 'Go To File' button with a `SearchBox`
Lamparter Sep 15, 2024
a111859
✨ Add ability to open Bing Maps with user's location
Lamparter Sep 15, 2024
d8460fb
🔀 Merge branch `main` into lamparter/refactor
Lamparter Sep 15, 2024
0154dc9
✨ Add home button to tab bar
Lamparter Sep 17, 2024
988b67c
💄 Fix tab strip header size
Lamparter Sep 18, 2024
7905fc5
💄 Make address bar more like Files
Lamparter Sep 18, 2024
aa432ef
✨ Reinstate search and create fields
Lamparter Sep 18, 2024
b09346e
🩹 Fix style issue with address bar buttons
Lamparter Sep 18, 2024
7d58b47
✨ Add issues and PRs button
Lamparter Sep 18, 2024
1860431
💄 Make notifications button use Octicons icon
Lamparter Sep 18, 2024
156ccef
✏️ Fix typo in component name
Lamparter Sep 18, 2024
85c7630
✨ Swap home button with hamburger menu
Lamparter Sep 18, 2024
b2ac1b1
🚨 Compare release to `Count` to 0 rather than using `Any()`
Lamparter Sep 18, 2024
ecce892
Merge branch 'main' into lamparter/refactor
Lamparter Sep 20, 2024
a8ed992
🧑‍💻 Improve source generator script
Lamparter Sep 21, 2024
519d962
⬆️ Update `octicons` to latest
Lamparter Sep 21, 2024
50f98a9
✨ Link hamburger button to navigation menu
Lamparter Sep 22, 2024
08303c6
⬆️ Update `octicons` to latest
Lamparter Sep 22, 2024
1983725
✨ Update Octicons generator script
Lamparter Sep 22, 2024
37fe2db
Merge branch 'main' into lamparter/refactor
0x5bfa Sep 27, 2024
c264a9b
🚨 Remove trailing space
Lamparter Sep 28, 2024
bad389f
✏️ Fix typo in security policy
Lamparter Sep 29, 2024
6f8a1ea
🔀 Fix `README.md` merge problem
Lamparter Sep 29, 2024
d193353
Update README.md
0x5bfa Sep 29, 2024
9d708d1
Update .github/README.md
0x5bfa Sep 29, 2024
f5fd418
⏪️ Downgrade `octicons`
Lamparter Sep 29, 2024
026fa5f
⏪️ Downgrade `octicons` (again)
Lamparter Sep 29, 2024
389b20e
🎨 Refactor code
code-factor Sep 29, 2024
ea6c886
Merge branch 'main' into lamparter/refactor
Lamparter Nov 7, 2024
65717de
Merge branch 'main' into lamparter/refactor
Lamparter Dec 25, 2024
bf7d70a
Central package management
Lamparter Dec 25, 2024
e7be5a2
Feature: Added edit with VS Code button (#504)
Lamparter Dec 25, 2024
06208c3
Move skeleton control into individual namespace
Lamparter Dec 26, 2024
7cb8ca6
`<Nullable>Enable</Nullable>`
Lamparter Dec 26, 2024
0803230
Upgrade CsWinRT
Lamparter Dec 26, 2024
359d3ba
Remove unnecessary assignment to a value
Lamparter Dec 26, 2024
c79dcbb
Bump WinAppSDK to 1.6
Lamparter Dec 26, 2024
a5a4b33
Move skeleton control back to `FluentHub.App.UserControls` namespace
Lamparter Dec 26, 2024
d22d3a4
Update FluentHub.App.csproj
0x5bfa Dec 26, 2024
2ced1ad
Discard changes to src/FluentHub.Octicons.Generator/Program.cs
Lamparter Dec 26, 2024
a4446b9
Add license header to octicons generator
Lamparter Dec 26, 2024
2bb7c05
Update FluentHub.App.csproj
0x5bfa Dec 26, 2024
1f35d01
Undo changes to `CustomTabView` user control
Lamparter Dec 26, 2024
9b50a34
Comment out custom themes setting
Lamparter Dec 26, 2024
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: 💬 Discord
url: https://discord.com/invite/8KtRkjq2Q4
url: https://dsc.gg/fluenthub
about: You can discuss products and services on Discord, too!
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If an issue already exists with this, you can add the issue link or number-->
- [ ] Were these changes approved in an discussion by the project maintainers to prevent from extra work?
- [ ] Did you build the app and test your changes?
- [ ] Did you check for accessibility? You can use Accessibility Insights for this.
- [ ] Did you remove any strings from the en-us resource file after seeing if the string wasn't being used?
- [ ] Did you remove any strings from the en-us resource file after seeing if the string wasn't being used?
- [ ] Did you implement any design changes to an existing feature?
- [ ] Was this change approved?
- [ ] Are there any other steps that were used to validate these changes?
Expand Down
9 changes: 4 additions & 5 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</picture></a>
</p>

FluentHub is the stylish yet powerful GitHub client for Windows, which enpowers development experience and follows Microsoft Design Language.
**A stylish yet powerful GitHub client for Windows**, which empowers development experience and follows the Microsoft Design Language.

- **FluentHub UI:** designed with FluentUI and built on WinAppSdk/WinUI3
- **Multitasking:** with FluentHub you can multi-task with ease with tab support built-in to the app
Expand All @@ -39,7 +39,7 @@ Your dashboard|Your repos|User profile page
---|---|---
![Dashboard page screenshot](./assets/screenshots/page-dashboard.png)|![Repo page screenshot](./assets/screenshots/page-repo.png)|![User page screenshot](./assets/screenshots/page-user.png)

## Building the Code
## Building from source

### 1. Prerequisites

Expand All @@ -50,12 +50,12 @@ Your dashboard|Your repos|User profile page
git clone https://github.com/FluentHub/FluentHub
```

### 2. Prepare OAuth credentials
### 2. Prepare credentials

See [the documentation](../docs/credentials.md).

> [!WARNING]
> If you skip this step, Visual Studio will give a fatal error that the `AppCredentials.config` file does not exist.
> If you skip this step, Visual Studio will fail to build reporting that the `AppCredentials.config` file does not exist.

### 3. Build the project

Expand All @@ -65,6 +65,5 @@ See [the documentation](../docs/credentials.md).

## Credit

- Some application icons were created by [Icons8](https://github.com/icons8).
- Many thanks to [Joseph Beattie](https://github.com/josephbeattie) for creating our current logo.
- Join [Developer Sanctuary](https://dsc.gg/devsanx) to learn more about our project!
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
-->

**Please report security advistiry from "New draft security advisory" in the Security tab**
**Please use the GitHub Security Advisory "Report a Vulnerability" button to draft a new security vulnerability!**

In order to report a security vulnerability, you can use [GitHub's built-in tool](https://github.com/0x5bfa/FluentHub/security/advisories/new) which easily allows you to calculate an _attack vector/CVSS string_ or attribute to an existing [`CVE`](https://cve.org) code. This allows the FluentHub Team to accurately calculate the severity and/or importance of preventing it.

Expand Down
10 changes: 2 additions & 8 deletions src/FluentHub.App/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Utils;
using FluentHub.App.Services;
using CommunityToolkit.WinUI;
using FluentHub.App.ViewModels;
using Microsoft.Extensions.Hosting;
using Microsoft.UI;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Navigation;
using Microsoft.UI.Windowing;
using Microsoft.Windows.AppLifecycle;
using Serilog;
using Windows.ApplicationModel;
using Windows.Storage;
using CommunityToolkit.WinUI;
using FluentHub.App.ViewModels.Repositories.Codes;
using Serilog;

namespace FluentHub.App
{
Expand Down
Binary file modified src/FluentHub.App/Assets/Icons/Commits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/FluentHub.App/Assets/Icons/PullRequests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using Windows.UI;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Media;
using Windows.UI;

namespace FluentHub.App.Converters
{
Expand Down
1 change: 0 additions & 1 deletion src/FluentHub.App/Converters/ObjectToStringConverter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Data;

namespace FluentHub.App.Converters
Expand Down
2 changes: 1 addition & 1 deletion src/FluentHub.App/Data/Items/NavigationBarItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace FluentHub.App.Data.Items
{
public class NavigationBarItem
{
public string? Text{ get; set; }
public string? Text { get; set; }

public string? Glyph { get; set; }

Expand Down
6 changes: 0 additions & 6 deletions src/FluentHub.App/Data/Models/CheckRunGroupModel.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FluentHub.App.Models
{
public class CheckRunGroupModel
Expand Down
6 changes: 0 additions & 6 deletions src/FluentHub.App/Data/Models/CheckRunItemModel.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FluentHub.App.Models
{
public class CheckRunItemModel
Expand Down
2 changes: 0 additions & 2 deletions src/FluentHub.App/Dialogs/AccountSwitching.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Services;
using FluentHub.App.ViewModels.Dialogs;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

Expand Down
13 changes: 0 additions & 13 deletions src/FluentHub.App/Dialogs/CreateNewRepositoryDialog.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;

namespace FluentHub.App.Dialogs
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Services;
using FluentHub.App.ViewModels.Dialogs;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

namespace FluentHub.App.Dialogs
Expand Down
2 changes: 0 additions & 2 deletions src/FluentHub.App/Dialogs/EditUserProfileDialog.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Services;
using FluentHub.App.ViewModels.Dialogs;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

namespace FluentHub.App.Dialogs
Expand Down
3 changes: 0 additions & 3 deletions src/FluentHub.App/Dialogs/ExceptionStackTraceDialog.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Services;
using FluentHub.App.ViewModels.Dialogs;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

namespace FluentHub.App.Dialogs
Expand Down
25 changes: 25 additions & 0 deletions src/FluentHub.App/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageVersion Include="CommunityToolkit.WinUI" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.Notifications" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Animations" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageVersion Include="Humanizer" Version="2.14.1" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Microsoft.Graphics.Win2D" Version="1.2.0" />
<PackageVersion Include="Microsoft.Windows.CsWinRT" Version="2.2.0" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.6.241114003" />
<PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
<PackageVersion Include="Octokit.GraphQL" Version="0.2.0-beta" />
<PackageVersion Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageVersion Include="WinUIEx" Version="2.3.4" />
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion src/FluentHub.App/Extensions/EnumExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Reflection;

namespace FluentHub.App.Extensions
Expand Down
8 changes: 1 addition & 7 deletions src/FluentHub.App/Extensions/LinqExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FluentHub.App.Extensions
namespace FluentHub.App.Extensions
{
public static class LinqExtensions
{
Expand Down
3 changes: 0 additions & 3 deletions src/FluentHub.App/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Microsoft.Windows.ApplicationModel.Resources;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;

namespace FluentHub.App.Extensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FluentHub.App.Extensions
{
public static class WebViewExtentions
public static class WebViewExtensions
{
public static async Task HandleResize(this WebView2 webView2)
{
Expand Down
46 changes: 24 additions & 22 deletions src/FluentHub.App/FluentHub.App.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
Expand All @@ -12,39 +12,41 @@
<Platforms>x86;x64;arm64</Platforms>
<Configurations>Debug;Release;Sideload</Configurations>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<DefineConstants Condition="'$(Configuration)' == 'Debug'">TRACE;DEBUG;NETFX_CORE;DISABLE_XAML_GENERATED_MAIN</DefineConstants>
<DefineConstants Condition="'$(Configuration)' != 'Debug'">TRACE;RELEASE;NETFX_CORE;DISABLE_XAML_GENERATED_MAIN</DefineConstants>
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);DISABLE_XAML_GENERATED_MAIN</DefineConstants>
<DefineConstants Condition="'$(Configuration)' != 'Debug'">$(DefineConstants);RELEASE;DISABLE_XAML_GENERATED_MAIN</DefineConstants>
<Optimize Condition="'$(Configuration)' != 'Debug'">true</Optimize>
<Nullable>Enable</Nullable>
</PropertyGroup>

<ItemGroup>
<Manifest Include="$(ApplicationManifest)" />
<Content CopyToOutputDirectory="PreserveNewest" Include="Assets\**" />
<Content CopyToOutputDirectory="PreserveNewest" Include="AppCredentials.config" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="CommunityToolkit.WinUI" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.Notifications" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Animations" Version="7.1.2" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageReference Include="Humanizer" Version="2.14.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.2.0" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240428000" />
<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="WinUIEx" Version="2.3.4" />
<ProjectReference Include="..\FluentHub.Core\FluentHub.Core.csproj" />
<ProjectReference Include="..\FluentHub.Octokit\FluentHub.Octokit.csproj" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FluentHub.Core\FluentHub.Core.csproj" />
<ProjectReference Include="..\FluentHub.Octokit\FluentHub.Octokit.csproj" />
<PackageReference Include="CommunityToolkit.Mvvm" />
<PackageReference Include="CommunityToolkit.WinUI" />
<PackageReference Include="CommunityToolkit.WinUI.Notifications" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Animations" />
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" />
<PackageReference Include="Humanizer" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
<PackageReference Include="Microsoft.Extensions.Hosting" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Graphics.Win2D" />
<PackageReference Include="Microsoft.Windows.CsWinRT" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include="Microsoft.WindowsAppSDK" />
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" />
<PackageReference Include="Octokit.GraphQL" />
<PackageReference Include="Serilog.Sinks.File" />
<PackageReference Include="WinUIEx" />
</ItemGroup>

</Project>
9 changes: 3 additions & 6 deletions src/FluentHub.App/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
// Copyright (c) 2022-2024 0x5BFA
// Licensed under the MIT License. See the LICENSE.

// Default
// First party
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Collections.ObjectModel;
global using global::System.Linq;
global using global::System.Text;
global using global::System.Threading;
global using global::System.Threading.Tasks;

// Generic
global using global::Microsoft.Extensions.DependencyInjection;

// Windows Community Toolkit
Expand All @@ -19,11 +17,10 @@
global using global::CommunityToolkit.Mvvm.Input;
global using global::CommunityToolkit.Mvvm.Messaging;

// FluentHub
// FluentHub.App
global using global::FluentHub.App.Data.EventArgs;
global using global::FluentHub.App.Data.Factories;
global using global::FluentHub.App.Data.Items;
//global using global::FluentHub.App.Data.Models;
global using global::FluentHub.App.Data.Parameters;
global using global::FluentHub.App.Helpers;
global using global::FluentHub.App.Services;
Expand All @@ -32,6 +29,6 @@
global using global::FluentHub.Octokit.Models.v4;

// Third-party
global using global::Humanizer;
global using global::Octokit.GraphQL;
global using OctokitOriginal = global::Octokit;
global using global::Humanizer;
7 changes: 1 addition & 6 deletions src/FluentHub.App/Helpers/AppLifecycleHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
// Licensed under the MIT License. See the LICENSE.

using FluentHub.App.Utils;
using FluentHub.App.Services;
using FluentHub.App.ViewModels;
using Microsoft.Extensions.Hosting;
using Microsoft.UI;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Navigation;
using Microsoft.UI.Windowing;
using Microsoft.Windows.AppLifecycle;
using Windows.ApplicationModel;
using Windows.Storage;
using Microsoft.UI.Xaml;
using Serilog;

namespace FluentHub.App.Helpers
Expand Down
Loading
Loading