Add shortcut settings page

This commit is contained in:
2026-05-08 02:48:35 -04:00
parent 8b75b33761
commit f6e2b1b96b
9 changed files with 649 additions and 32 deletions
@@ -8,7 +8,8 @@ use crate::{
about_url, archive_idle_days, 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,
settings_url, shortcut_settings_url, space_icon, switch_profile_name, sync_status_url,
task_manager_url,
},
};
@@ -181,6 +182,10 @@ impl BrowserCore {
self.open_tab(settings_url()?);
Ok(true)
}
"shortcuts" | "open-shortcuts" | "open shortcuts" => {
self.open_tab(shortcut_settings_url()?);
Ok(true)
}
"sync" | "open-sync-status" | "open sync status" => {
self.open_tab(sync_status_url()?);
Ok(true)