From f4ccbd95d7578fd5ad21028f2792d4c83b289911 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Mon, 4 May 2026 01:05:58 +0900 Subject: [PATCH 1/4] Init --- src/Files.App.Controls/Sidebar/ISidebarItemModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs index 9e6791014aa7..bdbc971f96d1 100644 --- a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs +++ b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs @@ -5,6 +5,11 @@ namespace Files.App.Controls { public interface ISidebarItemModel : INotifyPropertyChanged { + /// + /// The filesystem path represented by this item, if any. + /// + string? Path => null; + /// /// The children of this item that will be rendered as child elements of the SidebarItem /// From 05c917578f742ba39c787c2526a835973b28a70f Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Mon, 4 May 2026 01:38:57 +0900 Subject: [PATCH 2/4] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> --- src/Files.App.Controls/Sidebar/ISidebarItemModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs index bdbc971f96d1..ad52fe908606 100644 --- a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs +++ b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs @@ -8,7 +8,7 @@ public interface ISidebarItemModel : INotifyPropertyChanged /// /// The filesystem path represented by this item, if any. /// - string? Path => null; + string? Path { get; } /// /// The children of this item that will be rendered as child elements of the SidebarItem From e3bc4c72a41bd1b099a38ef6a66dba19b43c3833 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Mon, 4 May 2026 17:51:13 +0900 Subject: [PATCH 3/4] Fix the build error --- src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs b/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs index 5532c272a065..17052bdb8615 100644 --- a/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs +++ b/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs @@ -106,6 +106,7 @@ public sealed partial class SettingsNavigationItem : ObservableObject, ISidebarI public string AutomationId { get; } public string Text { get; } public ThemedIcon IconElement { get; } + public string? Path => null; // ISidebarItemModel public object? Children => null; From b69a73558b2f6b65d8aa122ca5c1a6ffd9f966dd Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Mon, 1 Jun 2026 00:46:12 +0900 Subject: [PATCH 4/4] Fix duplicate sidebar Path definitions --- src/Files.App.Controls/Sidebar/ISidebarItemModel.cs | 5 ----- src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs | 1 - 2 files changed, 6 deletions(-) diff --git a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs index ad52fe908606..9e6791014aa7 100644 --- a/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs +++ b/src/Files.App.Controls/Sidebar/ISidebarItemModel.cs @@ -5,11 +5,6 @@ namespace Files.App.Controls { public interface ISidebarItemModel : INotifyPropertyChanged { - /// - /// The filesystem path represented by this item, if any. - /// - string? Path { get; } - /// /// The children of this item that will be rendered as child elements of the SidebarItem /// diff --git a/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs b/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs index 17052bdb8615..5532c272a065 100644 --- a/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs +++ b/src/Files.App/ViewModels/Settings/SettingsPageViewModel.cs @@ -106,7 +106,6 @@ public sealed partial class SettingsNavigationItem : ObservableObject, ISidebarI public string AutomationId { get; } public string Text { get; } public ThemedIcon IconElement { get; } - public string? Path => null; // ISidebarItemModel public object? Children => null;