refactor: simplify desktop client UI labels and remove local config section

Replace Unix timestamp with "Just now" label in now_label helper. Update profile label from "No profile provisioned" to "Not provisioned". Change brand copy subtitle based on enrollment state. Rename "Current profile" to "Overview" and "Profile" to "Access" in status panel. Remove "Stored config" surface section showing profile path and revision. Update resources sidebar instructions and rename resource-list to resource-
This commit is contained in:
2026-03-17 21:49:55 +01:00
parent 1b684aecbb
commit 767c633afa
3 changed files with 17 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
mod tunnel_manager;
use std::{fs, path::PathBuf, sync::Mutex, time::{SystemTime, UNIX_EPOCH}};
use std::{fs, path::PathBuf, sync::Mutex};
use base64::{engine::general_purpose::STANDARD, Engine as _};
use rand_core::OsRng;
@@ -314,11 +314,7 @@ fn generate_keypair() -> (String, String) {
}
fn now_label() -> String {
let seconds = SystemTime::now()
.duration_since(UNIX_EPOCH)
.map(|duration| duration.as_secs())
.unwrap_or(0);
format!("synced at {}", seconds)
"Just now".into()
}
fn build_fingerprint(server_url: &str, username: &str, public_key: &str) -> String {