[GH-ISSUE #1025] [website] use svg instead of font-icons #360

Closed
opened 2026-03-16 14:53:31 +03:00 by kerem · 6 comments
Owner

Originally created by @ghost on GitHub (Jul 26, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1025

Originally assigned to: @liyasthomas on GitHub.

not sure if that's a a bug report or a feature request, but it is existing and has negative impact, so its a bug.

postwoman font-icons

not many places still use this technology, and for a good reason

Originally created by @ghost on GitHub (Jul 26, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1025 Originally assigned to: @liyasthomas on GitHub. not sure if that's a a bug report or a feature request, but it is existing and has negative impact, so its a bug. ![postwoman font-icons](https://user-images.githubusercontent.com/59403389/88475453-31da6e80-cf30-11ea-833d-d0134e878dfc.png) not many places still use this technology, and for a good reason
kerem 2026-03-16 14:53:31 +03:00
Author
Owner

@liyasthomas commented on GitHub (Jul 26, 2020):

Oops. I noticed this glitch on very first load of app. From second load onwards, icon font will be used from cache. I guess it's possible to replace icon font with SVGs since we're already using SVGs for some custom icons. But is there any other effective implementations?

I'm thinking of a native implementation around font-display property.

Also I noticed probability of occurring such a delayed render is high with low-speed network.

<!-- gh-comment-id:663962708 --> @liyasthomas commented on GitHub (Jul 26, 2020): Oops. I noticed this glitch on very first load of app. From second load onwards, icon font will be used from cache. I guess it's possible to replace icon font with SVGs since we're already using SVGs for some custom icons. But is there any other effective implementations? I'm thinking of a native implementation around [`font-display`](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display) property. Also I noticed probability of occurring such a delayed render is high with low-speed network.
Author
Owner

@liyasthomas commented on GitHub (Aug 7, 2020):

@dym-sh Is this feature mandatory? I can't find any hard trouble with the initial 1 second delay for loading the icon font. This delay is not even noticeable after initial load because of pre-fetch and caching. If you insist I can work on a solution with SVG module.

cc: @AndrewBastin

<!-- gh-comment-id:670691737 --> @liyasthomas commented on GitHub (Aug 7, 2020): @dym-sh Is this feature mandatory? I can't find any hard trouble with the initial 1 second delay for loading the icon font. This delay is not even noticeable after initial load because of pre-fetch and caching. If you insist I can work on a solution with [SVG module](https://github.com/nuxt-community/svg-module). cc: @AndrewBastin
Author
Owner

@ghost commented on GitHub (Aug 7, 2020):

the problem is when 3rd-party fonts are disabled or unsupported – you'd get the thing on screenshot, no matter the delay

<!-- gh-comment-id:670734978 --> @ghost commented on GitHub (Aug 7, 2020): the problem is when 3rd-party fonts are disabled or unsupported – you'd get the thing on screenshot, no matter the delay
Author
Owner

@ghost commented on GitHub (Aug 7, 2020):

im gonna try to solve this issue now, should not take too long

<!-- gh-comment-id:670747700 --> @ghost commented on GitHub (Aug 7, 2020): im gonna try to solve this issue now, should not take too long
Author
Owner

@AndrewBastin commented on GitHub (Aug 8, 2020):

Well, I think if we can get a proper implementation going, SVGs will be better than icon fonts.

Assigning to you @dym-sh !

<!-- gh-comment-id:670817542 --> @AndrewBastin commented on GitHub (Aug 8, 2020): Well, I think if we can get a proper implementation going, SVGs will be better than icon fonts. Assigning to you @dym-sh !
Author
Owner

@liyasthomas commented on GitHub (Aug 17, 2020):

@dym-sh if you're interested in working on this feature, I've made a working starting point for you. Checkout https://github.com/hoppscotch/hoppscotch/pull/1091 and follow the steps described in it to change remaining instances for icon font to svg icons.

Let me know if you've any doubts.

<!-- gh-comment-id:674981305 --> @liyasthomas commented on GitHub (Aug 17, 2020): @dym-sh if you're interested in working on this feature, I've made a working starting point for you. Checkout https://github.com/hoppscotch/hoppscotch/pull/1091 and follow the steps described in it to change remaining instances for icon font to svg icons. Let me know if you've any doubts.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#360
No description provided.