Open downloads from command bar

This commit is contained in:
2026-05-07 20:54:57 -04:00
parent 3ba9db7819
commit 9c5f93bcb8
6 changed files with 64 additions and 5 deletions
@@ -3,8 +3,8 @@ use ely_domain::{CommandIntent, CommandScope, ProfileId, ProfileKind, SpaceId};
use crate::{
CoreError,
navigation::{
move_tab_space_name, new_profile_name, new_space_name, search_url, space_icon,
switch_profile_name,
downloads_url, move_tab_space_name, new_profile_name, new_space_name, search_url,
space_icon, switch_profile_name,
},
};
@@ -85,6 +85,10 @@ impl BrowserCore {
self.open_tab(self.new_tab_url.clone());
Ok(true)
}
"downloads" | "open-downloads" | "open downloads" => {
self.open_tab(downloads_url()?);
Ok(true)
}
"close-tab" => {
self.close_active_tab()?;
Ok(true)