2026-01-18 10:10:53 +00:00
|
|
|
using Avalonia.Controls;
|
Implement comprehensive Plugins Settings page in Avalonia
- Add plugin search with filtering across name, description, and action keywords
- Implement display mode switcher (On/Off, Priority, Search Delay, Home On/Off)
- Add plugin management controls (enable/disable, priority, search delays, home visibility)
- Integrate both native Avalonia settings and WPF fallback support
- Add action keywords editing dialog
- Include plugin directory access, source code links, and uninstall functionality
- Add help dialog explaining priority, search delay, and home features
- Improve UI with FluentAvalonia controls and proper layout
- Load plugin icons asynchronously and display plugin metrics (init time, query time)
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-01-26 22:19:30 +00:00
|
|
|
using Avalonia.Interactivity;
|
2026-01-18 10:10:53 +00:00
|
|
|
using Flow.Launcher.Avalonia.ViewModel.SettingPages;
|
|
|
|
|
|
|
|
|
|
namespace Flow.Launcher.Avalonia.Views.SettingPages;
|
|
|
|
|
|
|
|
|
|
public partial class PluginsSettingsPage : UserControl
|
|
|
|
|
{
|
|
|
|
|
public PluginsSettingsPage()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
DataContext = new PluginsSettingsViewModel();
|
|
|
|
|
}
|
Implement comprehensive Plugins Settings page in Avalonia
- Add plugin search with filtering across name, description, and action keywords
- Implement display mode switcher (On/Off, Priority, Search Delay, Home On/Off)
- Add plugin management controls (enable/disable, priority, search delays, home visibility)
- Integrate both native Avalonia settings and WPF fallback support
- Add action keywords editing dialog
- Include plugin directory access, source code links, and uninstall functionality
- Add help dialog explaining priority, search delay, and home features
- Improve UI with FluentAvalonia controls and proper layout
- Load plugin icons asynchronously and display plugin metrics (init time, query time)
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-01-26 22:19:30 +00:00
|
|
|
|
|
|
|
|
private void ClearSearchText_Click(object? sender, RoutedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
if (DataContext is PluginsSettingsViewModel vm)
|
|
|
|
|
{
|
|
|
|
|
vm.SearchText = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-01-18 10:10:53 +00:00
|
|
|
}
|