Add archive page command

This commit is contained in:
2026-05-08 01:36:56 -04:00
parent ca2033a6ef
commit ccb3972b75
3 changed files with 28 additions and 1 deletions
@@ -3,7 +3,7 @@ use ely_domain::{CommandIntent, CommandScope, ProfileId, ProfileKind, SpaceId};
use crate::{
CoreError,
navigation::{
about_url, bookmarks_url, downloads_url, history_url, move_tab_space_name,
about_url, archive_url, bookmarks_url, downloads_url, history_url, move_tab_space_name,
new_private_profile_name, new_profile_name, new_space_name, plugin_detail_url, plugins_url,
reading_list_url, search_url, settings_page_url, settings_url, space_icon,
switch_profile_name, sync_status_url, task_manager_url,
@@ -137,6 +137,10 @@ impl BrowserCore {
self.open_tab(history_url()?);
Ok(true)
}
"archive" | "open-archive" | "open archive" => {
self.open_tab(archive_url()?);
Ok(true)
}
"task-manager" | "tasks" | "open-task-manager" | "open task manager" => {
self.open_tab(task_manager_url()?);
Ok(true)