searchmysite / searchmysite.net

searchmysite.net is an open source search engine and search as a service
GNU Affero General Public License v3.0
75 stars 7 forks source link

Graceful degradation if fonts are not downloaded #114

Open m-i-l opened 1 year ago

m-i-l commented 1 year ago

Feedback from a user: "It looks the redesign introduced icon fonts on the website which not only expects that the user will download those icon fonts (which is unnecessary), if the user blocks those icon fonts, the website appears "broken". I've attached an image that highlights this issue."

Ideally there would be graceful degradation if the correct fonts are not downloaded, i.e. layout should still work and the icons should be either not present or replaced with images.

b56ce78171011e8e

alcinnz commented 1 year ago

How about switching to SVG icons?

squalx commented 1 year ago

How about switching to SVG icons?

That could be a solution. I'll talk about it with m-i-l. A linked SVG would have to load too, although it's smaller. An embedded one would be instant, but will make pages larger and won't cache. So we'll see what m-i-l prefers. Otherwise we'll explore other ideas.

m-i-l commented 1 year ago

SVG icons sounds a good idea, given they're pretty widely supported and relatively lightweight. I'm not too worried if the design doesn't look exactly perfect if a user doesn't have the specific fonts, but there shouldn't be anything that makes it look "broken".

squalx commented 1 year ago

@m-i-l , can you assign this to me please? Just to make sure. Thanks.