Add domain history clear confirmation

This commit is contained in:
2026-05-08 04:21:02 -04:00
parent 02279f8984
commit 71750114a6
7 changed files with 393 additions and 132 deletions
+3
View File
@@ -16,6 +16,7 @@ use gpui::{App, AppContext, Context, Entity, FocusHandle, Focusable, Subscriptio
use gpui_component::input::{InputEvent, InputState, SelectAll};
use downloads::PendingDownloadFileAction;
use history::PendingHistoryDomainClear;
use plugins::{PendingPluginInstall, PendingPluginUninstall};
use crate::{
@@ -38,6 +39,7 @@ pub struct ElyShell {
download_clear_confirmation: bool,
download_security_confirmation: Option<PendingDownloadFileAction>,
history_clear_confirmation: Option<ProfileId>,
pending_history_domain_clear: Option<PendingHistoryDomainClear>,
site_permissions_clear_confirmation: Option<ProfileId>,
plugin_install_error: Option<String>,
pending_plugin_install: Option<PendingPluginInstall>,
@@ -101,6 +103,7 @@ impl ElyShell {
download_clear_confirmation: false,
download_security_confirmation: None,
history_clear_confirmation: None,
pending_history_domain_clear: None,
site_permissions_clear_confirmation: None,
plugin_install_error: None,
pending_plugin_install: None,