Skip to content

Conversation

@JulianPrieber
Copy link

Increase Default Favicon Resolution

Description

This pull request modifies the default favicon resolution fetched from the Google and DuckDuckGo APIs. Previously, the resolution defaulted to 16x16 pixels, which appeared pixelated on the dashboard. The new default resolution is now set to 64x64 pixels, providing a much sharper appearance.

Visual Comparison

Below is a visual comparison of the favicon resolution before and after the change:

Before (16x16) After (64x64)
image image

Rationale

The previous resolution of 16x16 pixels was not sharp enough for modern dashboards. By increasing the resolution to 64x64 pixels, we aim to enhance the visual quality without a significant performance trade-off.

Testing

This change has been tested with both Google and DuckDuckGo APIs to ensure compatibility and fallback behavior.

Checklist

  • Code tested locally

'google' => "https://www.google.com/s2/favicons?domain={$host}",
'duckduckgo' => "https://icons.duckduckgo.com/ip3/{$host}.ico",
'google' => "https://www.google.com/s2/favicons?domain={$host}&sz=64",
'duckduckgo' => "https://icons.duckduckgo.com/ip3/{$host}.ico&sz=64",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants