agent links: swap config's gear icon for a wrench
mara, on PR#3765: "follow up: the gear looks broken in browser too" — bare gear (dropped the variation selector already, per argus's earlier review) still doesn't render as color emoji in her font. Same failure icons.tsx already documents for this exact codepoint. Landed on the wrench instead: a supplementary-plane pictograph with Emoji_Presentation=Yes, same category as the other three built-in icons this thread already fixed (stats/screen/forge/dashboard), so it doesn't need a variation selector to render as color emoji at all.
This commit is contained in:
parent
4f4f1ec3ee
commit
b103f4c999
1 changed files with 9 additions and 2 deletions
|
|
@ -324,7 +324,14 @@ fn read_own_status() -> (Option<String>, Option<i64>) {
|
|||
/// operator-declared `dashboardLinks` extras are already free-choice
|
||||
/// emoji, so the built-ins should read as the same family rather than
|
||||
/// mixing in plain text glyphs (which also don't reliably render as a
|
||||
/// hexagon/arrow across fonts to begin with).
|
||||
/// hexagon/arrow across fonts to begin with). `config` went through two
|
||||
/// rounds on this: gear (`⚙`, with and without a variation selector)
|
||||
/// still rendered broken in mara's browser either way — same
|
||||
/// font-unreliable codepoint `icons.tsx` already documents avoiding.
|
||||
/// Landed on the wrench (`🔧`) instead: a supplementary-plane pictograph
|
||||
/// with `Emoji_Presentation=Yes`, same category as every other icon
|
||||
/// here (`📊`/`🖥`/`🔨`/`🧭`), so it doesn't need a variation selector to
|
||||
/// render as color emoji in the first place.
|
||||
fn agent_links(label: &str, gui_enabled: bool) -> Vec<AgentLink> {
|
||||
let mut links = Vec::new();
|
||||
|
||||
|
|
@ -353,7 +360,7 @@ fn agent_links(label: &str, gui_enabled: bool) -> Vec<AgentLink> {
|
|||
});
|
||||
links.push(AgentLink {
|
||||
url: format!("/agent-configs/{label}"),
|
||||
icon: "⚙".to_owned(),
|
||||
icon: "🔧".to_owned(),
|
||||
label: "config".to_owned(),
|
||||
kind: AgentLinkKind::Forge,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue