diff --git a/src/Chronos.App/Editor/CardColumns.cs b/src/Chronos.App/Editor/CardColumns.cs
deleted file mode 100644
index 21bb5748..00000000
--- a/src/Chronos.App/Editor/CardColumns.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Globalization;
-using System.Windows.Data;
-
-namespace Chronos.App.Editor;
-
-/// Columns of the Export tab's preset grid: as many as fit at (four at 1440 px, three at 1200 px).
-public sealed class CardColumns : IValueConverter
-{
- public const double MinCardWidth = 200;
-
- public static CardColumns Instance { get; } = new();
-
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture) =>
- value is double width && double.IsFinite(width) ? int.Max(1, (int)(width / MinCardWidth)) : 4;
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotSupportedException();
-}
diff --git a/src/Chronos.App/Editor/EditorMeasures.xaml b/src/Chronos.App/Editor/EditorMeasures.xaml
index 9f0d062f..7bf8507a 100644
--- a/src/Chronos.App/Editor/EditorMeasures.xaml
+++ b/src/Chronos.App/Editor/EditorMeasures.xaml
@@ -7,7 +7,7 @@
@@ -272,44 +272,80 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Chronos.App/Editor/EditorPanels.xaml b/src/Chronos.App/Editor/EditorPanels.xaml
index ed534cf6..ba0bc537 100644
--- a/src/Chronos.App/Editor/EditorPanels.xaml
+++ b/src/Chronos.App/Editor/EditorPanels.xaml
@@ -371,51 +371,76 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
@@ -428,10 +453,6 @@
-
-
-
-
-
-
+
+
+
+
+
@@ -458,12 +483,12 @@
-
-
+
-
-
+
+
@@ -479,23 +504,30 @@
Visibility="{Binding IsFrameRateAuto, Converter={x:Static ui:InverseBoolToVisibilityConverter.Instance}}" />
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -516,18 +548,164 @@
-
-
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
@@ -537,30 +715,18 @@
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/Chronos.App/Editor/EditorSettings.cs b/src/Chronos.App/Editor/EditorSettings.cs
index 189a1d7c..0cc6160e 100644
--- a/src/Chronos.App/Editor/EditorSettings.cs
+++ b/src/Chronos.App/Editor/EditorSettings.cs
@@ -53,6 +53,53 @@ public sealed class AutoSetting(
public ProjectSettings Reset(ProjectSettings project) => set(project, get(project).Reset());
}
+///
+/// Which collapsible groups of the editor are open, by group key ("export.encoding", "preset.social"): a group nobody
+/// toggled opens as its default says. Until attaches the app's settings the state lives for the run;
+/// bound, each toggle is written there and saved.
+///
+public sealed class GroupStates
+{
+ private readonly Lock _lock = new();
+ private IDictionary _store = new Dictionary(StringComparer.Ordinal);
+ private Action? _save;
+
+ /// Keeps the state in (the app's settings), calling after each toggle.
+ public void Bind(IDictionary store, Action? save)
+ {
+ ArgumentNullException.ThrowIfNull(store);
+ lock (_lock)
+ {
+ // What was toggled before the settings were attached stays.
+ foreach (var (key, open) in _store)
+ {
+ if (!store.ContainsKey(key)) store[key] = open;
+ }
+ (_store, _save) = (store, save);
+ }
+ }
+
+ /// Whether the group is open; when it was never toggled.
+ public bool IsExpanded(string key, bool fallback)
+ {
+ lock (_lock) return _store.TryGetValue(key, out var open) ? open : fallback;
+ }
+
+ /// Remembers that the group is open or closed.
+ public void Set(string key, bool expanded)
+ {
+ ArgumentNullException.ThrowIfNull(key);
+ Action? save;
+ lock (_lock)
+ {
+ if (_store.TryGetValue(key, out var open) && open == expanded) return;
+ _store[key] = expanded;
+ save = _save;
+ }
+ save?.Invoke();
+ }
+}
+
/// The Auto settings of the editor's sections, in panel order.
public static class EditorSettings
{
@@ -129,6 +176,12 @@ public static class EditorSettings
public static bool IsSectionAuto(ProjectSettings project, AdvisorSection section) =>
All.Where(s => s.Section == section).All(s => s.IsAuto(project));
+ ///
+ /// The collapse state of the Export step's setting groups and preset groups (owner review 1, R3; DESIGN §4 collapsible
+ /// group): this user's, kept by the app and not in the project.
+ ///
+ public static GroupStates Groups { get; } = new();
+
///
/// Whether applies under the switches in force: the deflicker window, strength and regions
/// with deflicker on, the transition length with holy grail on, the shutter angle with motion blur on, the flow quality
diff --git a/src/Chronos.App/Editor/EditorStyles.xaml b/src/Chronos.App/Editor/EditorStyles.xaml
index 6b6f90cb..747aea06 100644
--- a/src/Chronos.App/Editor/EditorStyles.xaml
+++ b/src/Chronos.App/Editor/EditorStyles.xaml
@@ -7,7 +7,7 @@
DynamicResource; sizes and the kit's styles StaticResource.
-->
-
+
17*
10*
9*
@@ -124,34 +124,35 @@
-
-
-
+
+ 28
+ 92
+ 104
+ 44
+ 76
+ 96
+
+
+
+
+