Phase C (T2-1..T3-10): command palette, reader mode (real Readability.js, E2E), boost force-dark, screenshot, split view, vertical tabs, Glance (Alt+click), tab groups (6 colors), workspaces, speed dial, InPrivate tabs, quick find, source view, print, PiP, TTS (94 tests GREEN)

This commit is contained in:
Yun Chan 2026-08-15 15:22:44 +09:00
parent 0caa1111e7
commit 406957088f
14 changed files with 3496 additions and 7 deletions

View file

@ -37,3 +37,27 @@ public sealed class BoolToClosedConverter : IValueConverter
public object ConvertBack(object? value, Type targetType, object? parameter, System.Globalization.CultureInfo culture)
=> throw new NotSupportedException();
}
/// <summary>그룹 색상 HEX → Color / 표시 여부 변환 (탭 그룹 바).</summary>
public sealed class StringToBrushConverter : System.Windows.Data.IValueConverter
{
public static readonly StringToBrushConverter Conv = new();
public static readonly StringToBrushConverter VisibleIf = new();
public object Convert(object? value, Type targetType, object? parameter, System.Globalization.CultureInfo culture)
{
var hex = value as string;
if (ReferenceEquals(this, VisibleIf))
return string.IsNullOrWhiteSpace(hex) ? System.Windows.Visibility.Collapsed : System.Windows.Visibility.Visible;
try
{
var c = System.Windows.Media.ColorConverter.ConvertFromString(hex ?? "#5b8def");
return c is System.Windows.Media.Color col ? col : System.Windows.Media.Colors.Gray;
}
catch { return System.Windows.Media.Colors.Gray; }
}
public object ConvertBack(object? value, Type targetType, object? parameter, System.Globalization.CultureInfo culture)
=> throw new NotSupportedException();
}