Skip to content

feat: add custom user icon file support and improve favicon reliability - #71

Open
ali-mirsalari wants to merge 1 commit into
DenysMb:mainfrom
ali-mirsalari:main
Open

feat: add custom user icon file support and improve favicon reliability#71
ali-mirsalari wants to merge 1 commit into
DenysMb:mainfrom
ali-mirsalari:main

Conversation

@ali-mirsalari

Copy link
Copy Markdown

Add the ability to select a custom image file (PNG, JPG, SVG, ICO) as a permanent widget icon, independent of system icon themes or internet connectivity.

  • Add customUserIconPath config entry for persistent user icon file path
  • Add file picker with preview in Appearance settings under Custom icon mode
  • Add radio toggle between System Icon and Custom File sources
  • Handle file:// URIs in CompactRepresentation icon resolution

Improve favicon handling for poor or no internet connectivity:

  • Add fallback timeout timer (5s) for stalled favicon fetches
  • Fall back to cached lastFavIcon when no new favicon is found
  • Fall back to adaptive logo when favicon mode has no favicon available
  • Add onStatusChanged handler to recover from failed icon loads
  • Fix undefined icon reference to use webview.icon in checkAndUpdateFavicon

Add the ability to select a custom image file (PNG, JPG, SVG, ICO) as a
permanent widget icon, independent of system icon themes or internet
connectivity.

- Add customUserIconPath config entry for persistent user icon file path
- Add file picker with preview in Appearance settings under Custom icon mode
- Add radio toggle between System Icon and Custom File sources
- Handle file:// URIs in CompactRepresentation icon resolution

Improve favicon handling for poor or no internet connectivity:

- Add fallback timeout timer (5s) for stalled favicon fetches
- Fall back to cached lastFavIcon when no new favicon is found
- Fall back to adaptive logo when favicon mode has no favicon available
- Add onStatusChanged handler to recover from failed icon loads
- Fix undefined icon reference to use webview.icon in checkAndUpdateFavicon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant