Skip to content

Project icons: auto-detected from the repo (favicon, app icon, HTML link), overridable per project #610

Closed

Description

@currentbits

What T3 does

Every project carries an icon, resolved automatically and overridable. ProjectFaviconResolver (apps/server/src/project/ProjectFaviconResolver.ts) checks, in order: iconPath from the repo's checked-in t3.json, then common favicon/app-icon paths, then icon <link> tags in the project's HTML files. A user override is set from Settings -> Projects -> Appearance -> Choose a project file (SVG, PNG, ICO, JPEG, GIF, AVIF, WebP), stored as faviconPath on the project and pushed to every connected client (apps/server/src/ws.ts:1883); "Automatic" restores detection. The choice applies to every checkout in the project group, so worktrees of the same repo do not each need their own.

Solenta today

Projects are text only: the sidebar renders p.slug || p.name with no visual identity anywhere. With several projects open, the group headers are five near-identical rows of grey text, and the thread cards inherit nothing to tell them apart at a glance.

Why it matters

Cheap, high-signal. Solenta is explicitly a multi-project app (project groups in the sidebar, #443 project picker, #553 filters, #207 planboard scoping) and the one thing that makes a multi-project sidebar scannable is a per-project glyph. It also gives the app icon-sized identity for the places we already want it: #384 menu-bar tray, #443 picker, #186 deep links.

Scope suggestion

  • Resolver in the main process: t3.json-style checked-in path first (see the repo-shared config layer in Settings as code: layered config files with schema, repo-shared layer, migration flow #438), then public/favicon.*, static/favicon.*, assets/icon.*, icon.png, app-icon.*, then <link rel="icon"> in the repo's HTML.
  • Cache per repo root (git common dir), so worktree threads reuse the main checkout's answer.
  • Override + "Automatic" in the edit-project modal; store iconPath on the project.
  • Fallback stays the current initial/slug text, so nothing regresses on a repo with no icon.

Activity

  1. added
    enhancement
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Aug 20, 2026
  2. currentbits commented on Aug 20, 2026

    @currentbits
    OwnerAuthor

    Shipped on main (78fe3bf); verified in the tree. Moving to plan:done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions