Skip to content

Let the Web Client choose the icon resolution - #1085

Merged
manuelmayer-dev merged 2 commits into
mainfrom
feature/client-icon-resolution
Sep 29, 2026
Merged

manuelmayer-dev merged 2 commits into
mainfrom
feature/client-icon-resolution

Conversation

@manuelmayer-dev

@manuelmayer-dev manuelmayer-dev commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Requested by the maintainer (no issue).

Summary

The Web Client settings gain Icon resolution: Automatic, 128, 256 or 512 px. Automatic picks the size per widget from how large the icon is drawn and shows the size in use; the host serves icon resources at the requested size through an optional size parameter, and clients without it keep getting 256 px.

Testing

Full solution build and test suites pass, plus runtime and Web Client specs (including legacy and ES5 checks). Verified in a browser against a running host: a phone-sized deck loads 128 px icons, a larger one 256 px, a fixed 512 px applies without reload, and resizing never steps an icon down.

Notes

The icon prefetch still warms only the host side: folder data carries no resource hash, so it cannot hit the exact URL the deck loads (unchanged from before).

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added feature New feature or request area:host Host: Domain, Application, Infrastructure area:web-client The framework-free web client area:runtime Shared UI runtime consumed by both clients area:localization Translations and localization catalogs area:docs The published developer documentation site labels Sep 29, 2026
…esolution

# Conflicts:
#	ui/web-client/src/settings/client-settings.ts
#	ui/web-client/src/shell.ts
@manuelmayer-dev
manuelmayer-dev merged commit e7adc57 into main Sep 29, 2026
17 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the feature/client-icon-resolution branch September 29, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs The published developer documentation site area:host Host: Domain, Application, Infrastructure area:localization Translations and localization catalogs area:runtime Shared UI runtime consumed by both clients area:web-client The framework-free web client feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant