refactor server repo

This commit is contained in:
Adem Baccara
2025-08-25 11:59:21 +01:00
parent adc843f1cf
commit b3d343cf2e
11 changed files with 647 additions and 448 deletions
-7
View File
@@ -23,13 +23,6 @@ import (
"github.com/mattn/go-runewidth"
)
func joinTags(tags []string) string {
if len(tags) == 0 {
return "-"
}
return strings.Join(tags, ",")
}
// renderTagBadgesForList renders up to two colored tag chips for the server list.
// If there are more tags, it appends a subtle gray "+N" badge. Returns an empty
// string when there are no tags to avoid cluttering the list.