refactor: Centralize most icon resolution logic into IconResolver #57

Merged
javif89 merged 9 commits from refactor/icon-resolution into master 2026-08-07 18:58:17 -04:00
Owner

Why

Previously, icon resolution and fallback handling happened in:

  • 2 methods of the UI
  • Daemon code

This made it hard to follow icon resolution logic as well as handling fallbacks consistently. This PR doesn't consolidate all usages, but it's a good start and takes care of most of the host paths.

Closes #11
Fixes #53

## Why Previously, icon resolution and fallback handling happened in: - 2 methods of the UI - Daemon code This made it hard to follow icon resolution logic as well as handling fallbacks consistently. This PR doesn't consolidate _all_ usages, but it's a good start and takes care of most of the host paths. Closes #11 Fixes #53
chore: Final consolidation pass
Some checks failed
Changelog / require-fragment (pull_request) Failing after 5s
CI / test (pull_request) Failing after 53s
CI / clippy (pull_request) Failing after 56s
081015d1d5
chore: Add changelog fragments
Some checks failed
Changelog / require-fragment (pull_request) Successful in 8s
CI / test (pull_request) Has been cancelled
CI / clippy (pull_request) Has been cancelled
a3e400df45
chore: lint
Some checks failed
Changelog / require-fragment (pull_request) Successful in 7s
CI / clippy (pull_request) Failing after 55s
CI / test (pull_request) Failing after 1m4s
99bbf6013d
chore: Remove already addressed todo
Some checks failed
Changelog / require-fragment (pull_request) Successful in 8s
CI / test (pull_request) Failing after 57s
CI / clippy (pull_request) Failing after 59s
d9a32b3afc
chore: Bump rust version in ci workflows
Some checks failed
Changelog / require-fragment (pull_request) Successful in 10s
CI / clippy (pull_request) Failing after 1m0s
CI / test (pull_request) Has been cancelled
a8661882a4
chore: Bump rust version I missed
Some checks failed
Changelog / require-fragment (pull_request) Successful in 6s
CI / test (pull_request) Failing after 5m32s
CI / clippy (pull_request) Successful in 6m33s
58114154c0
chore: Remove test until I figure out how to make it pass in CI
All checks were successful
Changelog / require-fragment (pull_request) Successful in 4s
CI / clippy (pull_request) Successful in 1m23s
CI / test (pull_request) Successful in 5m19s
9be5d23089
javif89 merged commit 00200e842b into master 2026-08-07 18:58:17 -04:00
javif89 deleted branch refactor/icon-resolution 2026-08-07 18:58:18 -04:00
Sign in to join this conversation.
No description provided.