Add sync status route

This commit is contained in:
2026-05-08 00:20:16 -04:00
parent 479737a8b2
commit 5196aff6a3
4 changed files with 10 additions and 7 deletions
+3 -2
View File
@@ -23,6 +23,7 @@ fn internal_page_title(url: &str) -> Option<&'static str> {
"ely://settings/plugins" => Some("Plugin Settings"),
"ely://settings/profiles" => Some("Profile Settings"),
"ely://settings/sync" => Some("Sync Settings"),
"ely://sync/status" => Some("Sync Status"),
_ => None,
}
}
@@ -90,8 +91,8 @@ pub(crate) fn settings_url() -> Result<UrlText, CoreError> {
internal_page_url("ely://settings")
}
pub(crate) fn sync_url() -> Result<UrlText, CoreError> {
internal_page_url("ely://settings/sync")
pub(crate) fn sync_status_url() -> Result<UrlText, CoreError> {
internal_page_url("ely://sync/status")
}
pub(crate) fn settings_page_url(query: &str) -> Result<Option<UrlText>, CoreError> {