feat: Go to shows a repo file's icon before its name
CI / Checks (pull_request) Successful in 39s
PR title / Conventional title (pull_request) Successful in 1s

Search, Favourites, Recent and Opened links show the file's icon in its
colour (lock, leaf, whale, plain file), as the files pane does:
saft / 󰈔 backend/.env / COMPOSE_PROJECT_NAME.
This commit is contained in:
keb committed 2026-10-15 14:30:23 +02:00
1 parent 0f5248d8f6
commit 759c7d6863
4 files changed
+58 -29

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ func (m Model) refLabel(r ref.Ref) string {
default:
path = append(path, r.ContainerName(), r.Name)
}
label := m.pathLabel(r.Kind, path, "")
label := m.pathLabel(r.Kind, path, "", m.refFileIcon(r))
var extra []string
if t := strings.ToLower(pluralLabels[r.Type]); t != "" && r.Type != provider.TypeSecret {
if r.IsContainer() {