Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
feat: collapsible sidebar with icon-only mode
adnan-bhaldar94472bc0ffa8
diff --git a/src/Filee.App/Assets/i18n/en.json b/src/Filee.App/Assets/i18n/en.jsonindex cadb814c..c41bcb87 100644--- a/src/Filee.App/Assets/i18n/en.json+++ b/src/Filee.App/Assets/i18n/en.json@@ -11,6 +11,8 @@"nav.theme": "Theme","nav.engines": "Engines","nav.about": "About",+ "nav.collapse": "Collapse sidebar",+ "nav.expand": "Expand sidebar","tray.open": "Open Filee","tray.pause": "Pause shortcuts",@@ -1265,4 +1267,4 @@"whats_new.2_0_0.more.title": "And a little more","whats_new.2_0_0.more.text": "Reset a single donut to its defaults, search your whole history, and convert Gujarati, Hindi or Arabic documents through LibreOffice.","preset.extract_motion.donut": "Extract video"-}+}\ No newline at end of filediff --git a/src/Filee.App/Styles/Icons.axaml b/src/Filee.App/Styles/Icons.axamlindex ac9152fe..d6b417e3 100644--- a/src/Filee.App/Styles/Icons.axaml+++ b/src/Filee.App/Styles/Icons.axaml@@ -4,6 +4,7 @@--><ResourceDictionary xmlns="https://github.com/avaloniaui"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">+ <StreamGeometry x:Key="Icon.Sidebar">M4,3H20A2,2 0 0 1 22,5V19A2,2 0 0 1 20,21H4A2,2 0 0 1 2,19V5A2,2 0 0 1 4,3Z M4,5V19H20V5Z M8,5H10V19H8Z</StreamGeometry><StreamGeometry x:Key="Icon.Home">M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z</StreamGeometry><StreamGeometry x:Key="Icon.Settings">M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z</StreamGeometry><StreamGeometry x:Key="Icon.Keyboard">M19,10H17V8H19M19,13H17V11H19M16,10H14V8H16M16,13H14V11H16M16,17H8V15H16M7,10H5V8H7M7,13H5V11H7M8,11H10V13H8M8,8H10V10H8M11,11H13V13H11M11,8H13V10H11M20,5H4C2.89,5 2,5.89 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7C22,5.89 21.1,5 20,5Z</StreamGeometry>diff --git a/src/Filee.App/Styles/Soft.axaml b/src/Filee.App/Styles/Soft.axamlindex 1683ce1b..309ffdea 100644--- a/src/Filee.App/Styles/Soft.axaml+++ b/src/Filee.App/Styles/Soft.axaml@@ -209,7 +209,8 @@</Style><Style Selector="ListBox.nav ListBoxItem"><Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" />- <Setter Property="Padding" Value="12,9" />+ <!-- The row's padding is in the item template (12,9), so its tooltip covers the whole row -->+ <Setter Property="Padding" Value="0" /><Setter Property="Margin" Value="0,1" /><Setter Property="RenderTransform" Value="none" /><Setter Property="Transitions">@@ -229,6 +230,34 @@<Setter Property="Background" Value="{DynamicResource AccentSoftBrush}" /></Style>+ <!-- Collapsible navigation (main window): the pane animates between full width and an icon rail -->+ <Style Selector="Border.navpane">+ <Setter Property="Transitions">+ <Transitions>+ <DoubleTransition Property="Width" Duration="0:0:0.2" Easing="{StaticResource SoftEase}" />+ </Transitions>+ </Setter>+ </Style>+ <Style Selector="Button.navtoggle">+ <Setter Property="Padding" Value="12,9" />+ <Setter Property="HorizontalAlignment" Value="Stretch" />+ <Setter Property="HorizontalContentAlignment" Value="Left" />+ <Setter Property="CornerRadius" Value="{DynamicResource SoftRadiusSmall}" />+ </Style>+ <Style Selector="StackPanel.navheader">+ <Setter Property="Margin" Value="8,0,0,20" />+ </Style>+ <Style Selector="Border.navpane.collapsed Button.navtoggle">+ <Setter Property="HorizontalContentAlignment" Value="Center" />+ </Style>+ <Style Selector="Border.navpane.collapsed StackPanel.navheader">+ <Setter Property="Margin" Value="0,0,0,20" />+ <Setter Property="HorizontalAlignment" Value="Center" />+ </Style>+ <Style Selector="Border.navpane.collapsed StackPanel.navitem">+ <Setter Property="HorizontalAlignment" Value="Center" />+ </Style>+<!-- Generic rounded list items (profiles, presets) --><Style Selector="ListBox.soft"><Setter Property="Background" Value="Transparent" />@@ -557,7 +586,7 @@</Style><!-- ───────── Reduced motion: remove every transition and animation above ───────── -->- <Style Selector="Window.reduced-motion :is(Button), Window.reduced-motion :is(ToggleButton), Window.reduced-motion Border.chip, Window.reduced-motion ListBoxItem, Window.reduced-motion Slider /template/ Thumb#PART_Thumb, Window.reduced-motion ToggleSwitch, Window.reduced-motion ToggleSwitch /template/ Border#SwitchKnobBounds, Window.reduced-motion ToggleSwitch /template/ Ellipse#SwitchKnob, Window.reduced-motion CheckBox /template/ Border#NormalRectangle, Window.reduced-motion CheckBox /template/ Path#CheckGlyph, Window.reduced-motion Button.choice-card, Window.reduced-motion Button.preset-pill">+ <Style Selector="Window.reduced-motion :is(Button), Window.reduced-motion :is(ToggleButton), Window.reduced-motion Border.chip, Window.reduced-motion ListBoxItem, Window.reduced-motion Slider /template/ Thumb#PART_Thumb, Window.reduced-motion ToggleSwitch, Window.reduced-motion ToggleSwitch /template/ Border#SwitchKnobBounds, Window.reduced-motion ToggleSwitch /template/ Ellipse#SwitchKnob, Window.reduced-motion CheckBox /template/ Border#NormalRectangle, Window.reduced-motion CheckBox /template/ Path#CheckGlyph, Window.reduced-motion Button.choice-card, Window.reduced-motion Button.preset-pill, Window.reduced-motion Border.navpane"><Setter Property="Transitions" Value="{x:Null}" /></Style><Style Selector="Window.reduced-motion Button:pressed, Window.reduced-motion ToggleButton:pressed, Window.reduced-motion Border.chip:pointerover, Window.reduced-motion ListBox.nav ListBoxItem:pointerover, Window.reduced-motion Slider /template/ Thumb#PART_Thumb:pointerover, Window.reduced-motion Slider /template/ Thumb#PART_Thumb:pressed, Window.reduced-motion ToggleSwitch:pointerover, Window.reduced-motion Button.choice-card:pointerover, Window.reduced-motion Button.preset-pill:pointerover, Window.reduced-motion Button.preset-pill:pressed">diff --git a/src/Filee.App/ViewModels/MainWindowViewModel.cs b/src/Filee.App/ViewModels/MainWindowViewModel.csindex a4229275..9529b97e 100644--- a/src/Filee.App/ViewModels/MainWindowViewModel.cs+++ b/src/Filee.App/ViewModels/MainWindowViewModel.cs@@ -9,6 +9,7 @@ using CommunityToolkit.Mvvm.Input;using Filee.App.Services;using Filee.App.ViewModels.Pages;using Filee.Core.Localization;+using Filee.Core.Settings;using Microsoft.Extensions.DependencyInjection;namespace Filee.App.ViewModels;@@ -21,7 +22,19 @@ public sealed partial class NavItem(string key, string titleKey, string iconKey,public Geometry? Icon { get; } = Application.Current?.FindResource(iconKey) as Geometry;public Type PageType { get; } = pageType;- [ObservableProperty] private string _title = "";+ [ObservableProperty]+ [NotifyPropertyChangedFor(nameof(Tip))]+ private string _title = "";++ /// <summary>The navigation is collapsed to icons: the title is hidden and shown as a tooltip instead.</summary>+ [ObservableProperty]+ [NotifyPropertyChangedFor(nameof(Tip), nameof(ShowTitle))]+ private bool _collapsed;++ public bool ShowTitle => !Collapsed;++ /// <summary>The tooltip: the title while collapsed (no text is shown then), else none.</summary>+ public string? Tip => Collapsed ? Title : null;public void Refresh(ILocalizer loc) => Title = loc[TitleKey];}@@ -34,15 +47,22 @@ public sealed partial class MainWindowViewModel : ObservableObject, IDisposable{private readonly IServiceProvider _services;private readonly ILocalizer _loc;+ private readonly UserDataStore _store;private bool _disposed;+ /// <summary>Width of the navigation with its titles, and collapsed to icons.</summary>+ private const double NavExpandedWidth = 230;+ private const double NavCollapsedWidth = 64;+/// <summary>The repository, for the GitHub button above the version.</summary>public string RepositoryUrl => UpdateService.RepositoryUrl;- public MainWindowViewModel(IServiceProvider services, ILocalizer loc, UpdateService updates)+ public MainWindowViewModel(IServiceProvider services, ILocalizer loc, UpdateService updates, UserDataStore store){_services = services;_loc = loc;+ _store = store;+ _isNavCollapsed = store.Settings.NavCollapsed;Updates = updates;updates.PropertyChanged += OnUpdatesChanged;RefreshVersionTexts();@@ -59,7 +79,10 @@ public sealed partial class MainWindowViewModel : ObservableObject, IDisposablenew("about", "nav.about", "Icon.Info", typeof(AboutPageViewModel)),];foreach (var item in Items)+ {item.Refresh(loc);+ item.Collapsed = _isNavCollapsed;+ }loc.LanguageChanged += OnLanguageChanged;_selectedItem = Items[0];_currentPage = CreatePage(Items[0]);@@ -67,6 +90,29 @@ public sealed partial class MainWindowViewModel : ObservableObject, IDisposablepublic IReadOnlyList<NavItem> Items { get; }+ /// <summary>The navigation shows only icons (with tooltips), as the user left it (<see cref="AppSettings.NavCollapsed"/>).</summary>+ [ObservableProperty]+ [NotifyPropertyChangedFor(nameof(NavWidth), nameof(NavPadding), nameof(NavToggleTip))]+ private bool _isNavCollapsed;++ public double NavWidth => IsNavCollapsed ? NavCollapsedWidth : NavExpandedWidth;++ /// <summary>Room around the navigation's content; less when collapsed, so an icon fits the rail.</summary>+ public Thickness NavPadding => new(IsNavCollapsed ? 10 : 14, 18);++ /// <summary>Tooltip and screen-reader name of the button that collapses or expands the navigation.</summary>+ public string NavToggleTip => _loc[IsNavCollapsed ? "nav.expand" : "nav.collapse"];++ [RelayCommand]+ private void ToggleNav() => IsNavCollapsed = !IsNavCollapsed;++ partial void OnIsNavCollapsedChanged(bool value)+ {+ foreach (var item in Items)+ item.Collapsed = value;+ _store.SaveNavCollapsed(value);+ }+/// <summary>Update state for the bottom of the navigation (version, "update available" button).</summary>public UpdateService Updates { get; }@@ -98,6 +144,7 @@ public sealed partial class MainWindowViewModel : ObservableObject, IDisposable{foreach (var item in Items)item.Refresh(_loc);+ OnPropertyChanged(nameof(NavToggleTip));RefreshVersionTexts();CurrentPage = CreatePage(SelectedItem); // rebuild so code-generated labels update too}diff --git a/src/Filee.App/Views/MainWindow.axaml b/src/Filee.App/Views/MainWindow.axamlindex aaeb24a0..acebc4af 100644--- a/src/Filee.App/Views/MainWindow.axaml+++ b/src/Filee.App/Views/MainWindow.axaml@@ -8,63 +8,90 @@Icon="avares://Filee/Assets/Icons/filee.ico"Width="1080" Height="760" MinWidth="820" MinHeight="560"WindowStartupLocation="CenterScreen">- <Grid ColumnDefinitions="230,*">- <!-- Navigation -->- <Border Background="{DynamicResource SurfaceBrush}" BorderBrush="{DynamicResource SubtleBorderBrush}" BorderThickness="0,0,1,0">- <DockPanel Margin="14,18">- <StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Spacing="10" Margin="8,0,0,20">+ <Grid ColumnDefinitions="Auto,*">+ <!-- Navigation: full width with titles, or collapsed to an icon rail (tooltips instead of text). The width animates. -->+ <Border Classes="navpane" Classes.collapsed="{Binding IsNavCollapsed}" Width="{Binding NavWidth}" ClipToBounds="True"+ Background="{DynamicResource SurfaceBrush}" BorderBrush="{DynamicResource SubtleBorderBrush}" BorderThickness="0,0,1,0">+ <DockPanel Margin="{Binding NavPadding}">+ <Button DockPanel.Dock="Top" Classes="icon navtoggle" Margin="0,0,0,10" Command="{Binding ToggleNavCommand}"+ ToolTip.Tip="{Binding NavToggleTip}" ToolTip.Placement="Right" AutomationProperties.Name="{Binding NavToggleTip}">+ <PathIcon Width="17" Height="17" Data="{StaticResource Icon.Sidebar}" />+ </Button>+ <StackPanel DockPanel.Dock="Top" Classes="navheader" Orientation="Horizontal" Spacing="10"><Image Source="avares://Filee/Assets/Icons/filee.png" Width="30" Height="30" />- <StackPanel VerticalAlignment="Center">+ <StackPanel VerticalAlignment="Center" IsVisible="{Binding !IsNavCollapsed}"><TextBlock Text="Filee" FontSize="18" FontWeight="Bold" /><TextBlock Classes="caption" Text="{DynamicResource app.tagline}" /></StackPanel></StackPanel><!-- Bottom: the running version, and a download button when a newer release is out. --><StackPanel DockPanel.Dock="Bottom" Spacing="8" Margin="4,12,4,0">- <!-- Accent for required and recommended updates, plain for optional ones; a pill says which -->- <Button x:Name="UpdateButton" Classes.accent="{Binding !Updates.IsOptional}" HorizontalAlignment="Stretch"- HorizontalContentAlignment="Stretch"- Command="{Binding DownloadUpdateCommand}" IsVisible="{Binding Updates.IsUpdateAvailable}"- ToolTip.Tip="{Binding UpdateTip}">- <DockPanel>- <Border DockPanel.Dock="Right" CornerRadius="999" Padding="6,1" Margin="6,0,0,0" VerticalAlignment="Center"- Background="{DynamicResource DangerBrush}" IsVisible="{Binding Updates.IsRequired}">- <TextBlock Text="{DynamicResource update.pill.Required}" FontSize="11" FontWeight="SemiBold" Foreground="White" />- </Border>- <Border DockPanel.Dock="Right" CornerRadius="999" Padding="6,1" Margin="6,0,0,0" VerticalAlignment="Center"- Background="{DynamicResource SurfaceAltBrush}" IsVisible="{Binding Updates.IsOptional}">- <TextBlock Classes="caption" Text="{DynamicResource update.pill.Optional}" FontSize="11" />- </Border>- <StackPanel Orientation="Horizontal" Spacing="8">- <PathIcon Width="14" Height="14" Data="{StaticResource Icon.Download}" />- <TextBlock Text="{Binding UpdateText}" TextTrimming="CharacterEllipsis" />- </StackPanel>- </DockPanel>- </Button>- <!-- The project on GitHub, and sponsoring it -->- <Grid ColumnDefinitions="*,6,*">- <Button Classes="navlink" HorizontalAlignment="Stretch" Click="OnOpenGitHub" ToolTip.Tip="{Binding RepositoryUrl}">- <StackPanel Orientation="Horizontal" Spacing="6" HorizontalAlignment="Center">- <PathIcon Width="13" Height="13" Data="{StaticResource Icon.GitHub}" />- <TextBlock Text="GitHub" />- </StackPanel>+ <!-- Collapsed: the same actions as icons only, each with a tooltip -->+ <StackPanel Spacing="8" IsVisible="{Binding IsNavCollapsed}">+ <Button Classes.accent="{Binding !Updates.IsOptional}" Padding="8,6" HorizontalAlignment="Stretch"+ Command="{Binding DownloadUpdateCommand}" IsVisible="{Binding Updates.IsUpdateAvailable}"+ ToolTip.Tip="{Binding UpdateTip}" ToolTip.Placement="Right">+ <PathIcon Width="14" Height="14" Data="{StaticResource Icon.Download}" /></Button>- <Button Grid.Column="2" Classes="navlink" HorizontalAlignment="Stretch" Click="OnSponsor">- <StackPanel Orientation="Horizontal" Spacing="6" HorizontalAlignment="Center">- <PathIcon Width="13" Height="13" Data="{StaticResource Icon.Heart}" Foreground="#D4537E" />- <TextBlock Text="{DynamicResource about.sponsor}" />- </StackPanel>+ <Button Classes="navlink" HorizontalAlignment="Stretch" Click="OnOpenGitHub"+ ToolTip.Tip="{Binding RepositoryUrl}" ToolTip.Placement="Right">+ <PathIcon Width="13" Height="13" Data="{StaticResource Icon.GitHub}" /></Button>- </Grid>- <TextBlock x:Name="VersionLabel" Classes="caption" Margin="8,0,0,0" Text="{Binding VersionText}" />+ <Button Classes="navlink" HorizontalAlignment="Stretch" Click="OnSponsor"+ ToolTip.Tip="{DynamicResource about.sponsor}" ToolTip.Placement="Right">+ <PathIcon Width="13" Height="13" Data="{StaticResource Icon.Heart}" Foreground="#D4537E" />+ </Button>+ </StackPanel>+ <!-- Expanded -->+ <StackPanel Spacing="8" IsVisible="{Binding !IsNavCollapsed}">+ <!-- Accent for required and recommended updates, plain for optional ones; a pill says which -->+ <Button x:Name="UpdateButton" Classes.accent="{Binding !Updates.IsOptional}" HorizontalAlignment="Stretch"+ HorizontalContentAlignment="Stretch"+ Command="{Binding DownloadUpdateCommand}" IsVisible="{Binding Updates.IsUpdateAvailable}"+ ToolTip.Tip="{Binding UpdateTip}">+ <DockPanel>+ <Border DockPanel.Dock="Right" CornerRadius="999" Padding="6,1" Margin="6,0,0,0" VerticalAlignment="Center"+ Background="{DynamicResource DangerBrush}" IsVisible="{Binding Updates.IsRequired}">+ <TextBlock Text="{DynamicResource update.pill.Required}" FontSize="11" FontWeight="SemiBold" Foreground="White" />+ </Border>+ <Border DockPanel.Dock="Right" CornerRadius="999" Padding="6,1" Margin="6,0,0,0" VerticalAlignment="Center"+ Background="{DynamicResource SurfaceAltBrush}" IsVisible="{Binding Updates.IsOptional}">+ <TextBlock Classes="caption" Text="{DynamicResource update.pill.Optional}" FontSize="11" />+ </Border>+ <StackPanel Orientation="Horizontal" Spacing="8">+ <PathIcon Width="14" Height="14" Data="{StaticResource Icon.Download}" />+ <TextBlock Text="{Binding UpdateText}" TextTrimming="CharacterEllipsis" />+ </StackPanel>+ </DockPanel>+ </Button>+ <!-- The project on GitHub, and sponsoring it -->+ <Grid ColumnDefinitions="*,6,*">+ <Button Classes="navlink" HorizontalAlignment="Stretch" Click="OnOpenGitHub" ToolTip.Tip="{Binding RepositoryUrl}">+ <StackPanel Orientation="Horizontal" Spacing="6" HorizontalAlignment="Center">+ <PathIcon Width="13" Height="13" Data="{StaticResource Icon.GitHub}" />+ <TextBlock Text="GitHub" />+ </StackPanel>+ </Button>+ <Button Grid.Column="2" Classes="navlink" HorizontalAlignment="Stretch" Click="OnSponsor">+ <StackPanel Orientation="Horizontal" Spacing="6" HorizontalAlignment="Center">+ <PathIcon Width="13" Height="13" Data="{StaticResource Icon.Heart}" Foreground="#D4537E" />+ <TextBlock Text="{DynamicResource about.sponsor}" />+ </StackPanel>+ </Button>+ </Grid>+ <TextBlock x:Name="VersionLabel" Classes="caption" Margin="8,0,0,0" Text="{Binding VersionText}" />+ </StackPanel></StackPanel><ListBox Classes="nav" ItemsSource="{Binding Items}" SelectedItem="{Binding SelectedItem}"><ListBox.ItemTemplate><DataTemplate x:DataType="vm:NavItem">- <StackPanel Orientation="Horizontal" Spacing="12">- <PathIcon Width="17" Height="17" Data="{Binding Icon}" />- <TextBlock Text="{Binding Title}" VerticalAlignment="Center" />- </StackPanel>+ <!-- Fills the whole row, so the tooltip (collapsed only) shows anywhere on it -->+ <Border Background="Transparent" Padding="12,9" ToolTip.Tip="{Binding Tip}" ToolTip.Placement="Right">+ <StackPanel Classes="navitem" Orientation="Horizontal" Spacing="12">+ <PathIcon Width="17" Height="17" Data="{Binding Icon}" />+ <TextBlock Text="{Binding Title}" VerticalAlignment="Center" IsVisible="{Binding ShowTitle}" />+ </StackPanel>+ </Border></DataTemplate></ListBox.ItemTemplate></ListBox>diff --git a/src/Filee.Core/Settings/AppSettings.cs b/src/Filee.Core/Settings/AppSettings.csindex b173a92f..1fdc6666 100644--- a/src/Filee.Core/Settings/AppSettings.cs+++ b/src/Filee.Core/Settings/AppSettings.cs@@ -261,6 +261,12 @@ public sealed class AppSettings/// </summary>public double UiScale { get; set; } = 1;+ /// <summary>+ /// The main window's navigation is collapsed to an icon rail (the button at its top). A missing value (settings from+ /// before it) reads as expanded, so it needs no schema step.+ /// </summary>+ public bool NavCollapsed { get; set; }+/// <summary>/// Where the main window was when it last closed, so the next start opens it there (#586). Null until it has closed/// once. A Filee from before it skips the property, so it needs no schema step.@@ -344,4 +350,4 @@ public sealed class BrowserDropSettings/// <summary>Keep only the converted file: the original goes into a work folder and is deleted after the conversion.</summary>public bool SaveOnlyConverted { get; set; }-}+}\ No newline at end of filediff --git a/src/Filee.Core/Settings/UserDataStore.cs b/src/Filee.Core/Settings/UserDataStore.csindex 6e4a5d66..35d47f7d 100644--- a/src/Filee.Core/Settings/UserDataStore.cs+++ b/src/Filee.Core/Settings/UserDataStore.cs@@ -116,6 +116,16 @@ public sealed class UserDataStoreWrite(SettingsPath, Settings, FileeJsonContext.Default.AppSettings);}+ /// <summary>+ /// Remembers whether the main window's navigation is collapsed (<see cref="AppSettings.NavCollapsed"/>), quietly as+ /// <see cref="SaveUiScale"/>: the window already shows it.+ /// </summary>+ public void SaveNavCollapsed(bool collapsed)+ {+ Settings.NavCollapsed = collapsed;+ Write(SettingsPath, Settings, FileeJsonContext.Default.AppSettings);+ }+public void SaveLibrary(){EnsureConsistency();@@ -1399,4 +1409,4 @@ internal static class SettingsMigrationselselist.Insert(index, id);}-}+}\ No newline at end of file