Fallback display names for TUI skill mentions (#18786)

This updates TUI skill mentions to show a fallback label when a skill
does not define a display name, so unnamed skills remain understandable
in the picker without changing behavior for skills that already have
one.

<img width="1028" height="198" alt="Screenshot 2026-04-20 at 6 25 15 PM"
src="https://github.com/user-attachments/assets/84077b85-99d0-4db9-b533-37e1887b4506"
/>
This commit is contained in:
canvrno-oai
2026-04-20 20:46:55 -07:00
committed by GitHub
parent 1132ef887c
commit 2cc146f5ea
4 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ impl ChatWidget {
.iter()
.map(|skill| {
let core_skill = protocol_skill_to_core(skill);
let display_name = skill_display_name(&core_skill).to_string();
let display_name = skill_display_name(&core_skill);
let description = skill_description(&core_skill).to_string();
let name = core_skill.name.clone();
let path = core_skill.path_to_skills_md;