Project

General

Profile

Actions

Feature #23980

closed

Replace icon images with Tabler SVG icons

Added by Marius BĂLTEANU about 8 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Icon fonts have some advantages over the classical images:
- being vector graphics, they are scalable an can be resized without losing quality.
- can be customized directly from CSS (size, colour, etc)
- less HTTP requests to server because they are loaded only with one or a few requests. Now, Redmine make a request for each image.
- some of the current custom themes already use icon fonts (Abacus theme, Minelab, PurpleMine2, our custom theme and I think the theme from plan.io).

We're interested to contribute with a patch that implements the FontAwesome icons, but because there are at least two ways to implement them, we want some feedback before from Redmine contributors and/or users.

1. Using i tags:

Advantages:
  • Is the recommended way on their official page
  • We can use all the build-in rules available in the FontAwesome CSS.
Disadvantages:
  • it'll be required to add the i elements in views.

2. Only from css

Advantages:
  • the views will not be modified
Disadvantages:
  • The build-in rules must be reimplemented in the current CSS
  • The icons will be defined using their unicode. For example, the fa-pencil icon (similar with the current images for icon-edit) has the unicode f040.

Only for demo purposes, I've attached a patch that replaces the icons from issue page with font awesome icons (using i tags).


Files

font_awesome_icons.patch (15.3 KB) font_awesome_icons.patch Marius BĂLTEANU, 2016-10-04 02:06
font_awesome.png (263 KB) font_awesome.png Marius BĂLTEANU, 2016-10-04 02:19
use_font_awesome_icons_for_all_elements_that_use_icon_class.patch (399 KB) use_font_awesome_icons_for_all_elements_that_use_icon_class.patch Marius BĂLTEANU, 2016-10-09 12:11
replace_images_with_fa_icons.patch (15 KB) replace_images_with_fa_icons.patch Marius BĂLTEANU, 2016-11-29 01:33
font-mfizz.zip (243 KB) font-mfizz.zip Marius BĂLTEANU, 2016-11-29 02:05
fonts_folder.png (92.8 KB) fonts_folder.png Marius BĂLTEANU, 2016-11-29 02:06
admin_fa.png (142 KB) admin_fa.png Marius BĂLTEANU, 2016-11-29 02:09
issue_fa.png (236 KB) issue_fa.png Marius BĂLTEANU, 2016-11-29 02:09
activity_fa.png (293 KB) activity_fa.png Marius BĂLTEANU, 2016-11-29 02:09
overview_fa.png (191 KB) overview_fa.png Marius BĂLTEANU, 2016-11-29 02:10
projects_fa.png (124 KB) projects_fa.png Marius BĂLTEANU, 2016-11-29 02:10
issues_fa.png (319 KB) issues_fa.png Marius BĂLTEANU, 2016-11-29 02:10
repository_fa.png (324 KB) repository_fa.png Marius BĂLTEANU, 2016-11-29 02:10
roadmap_fa.png (211 KB) roadmap_fa.png Marius BĂLTEANU, 2016-11-29 02:10
replace_images_with_fa_icons_v2.patch (15.6 KB) replace_images_with_fa_icons_v2.patch Marius BĂLTEANU, 2016-11-29 02:40
gitlab.png (50.4 KB) gitlab.png Marius BĂLTEANU, 2019-05-20 08:46
before.png (50.5 KB) before.png Marius BĂLTEANU, 2019-09-25 21:45
after.png (43.6 KB) after.png Marius BĂLTEANU, 2019-09-25 21:45
issue.png (114 KB) issue.png Marius BĂLTEANU, 2021-10-10 20:15
0001-Replace-icon-images-with-inline-SVG-icons.patch (29.8 KB) 0001-Replace-icon-images-with-inline-SVG-icons.patch Marius BĂLTEANU, 2021-10-10 20:16
0001-Add-tag-helper-patch.patch (31.5 KB) 0001-Add-tag-helper-patch.patch Takashi Kato, 2022-03-21 22:31
0002-Add-svg-icons.patch (98.7 KB) 0002-Add-svg-icons.patch Takashi Kato, 2022-03-21 22:31
0003-Support-expand-collapse-with-svg-icons.patch (21.8 KB) 0003-Support-expand-collapse-with-svg-icons.patch Takashi Kato, 2022-03-21 22:32
0004-Support-jsToolbar.patch (7.77 KB) 0004-Support-jsToolbar.patch Takashi Kato, 2022-03-21 22:32
0005-Replace-tags-with-helper.patch (19.3 KB) 0005-Replace-tags-with-helper.patch Takashi Kato, 2022-03-21 22:32
0006-Add-a-temporary-svg-icon-to-the-plugin-template.patch (2.04 KB) 0006-Add-a-temporary-svg-icon-to-the-plugin-template.patch Takashi Kato, 2022-03-21 22:33
svg-icon.png (325 KB) svg-icon.png Takashi Kato, 2022-03-21 22:37
css#mask.png (163 KB) css#mask.png Marius BĂLTEANU, 2024-07-15 01:27
svg#use.png (566 KB) svg#use.png Marius BĂLTEANU, 2024-07-15 01:28
inline-svg-demo-from-sprite.patch (75 KB) inline-svg-demo-from-sprite.patch Marius BĂLTEANU, 2024-07-22 22:40
02-using-mask.patch (16 KB) 02-using-mask.patch Marius BĂLTEANU, 2024-07-22 23:38
01-svg-icons.patch (74.9 KB) 01-svg-icons.patch Marius BĂLTEANU, 2024-07-22 23:38
0001-Add-SVG-Icons.patch (110 KB) 0001-Add-SVG-Icons.patch Takashi Kato, 2024-07-28 18:34
0002-Change-Replace-png-icons-with-svg-icons-using-mask-a.patch (17.1 KB) 0002-Change-Replace-png-icons-with-svg-icons-using-mask-a.patch Takashi Kato, 2024-07-28 18:35
0003-Replace-more-icons-to-svg.patch (27.6 KB) 0003-Replace-more-icons-to-svg.patch Takashi Kato, 2024-07-28 18:35
0004-Remove-unused-line.patch (3.75 KB) 0004-Remove-unused-line.patch Takashi Kato, 2024-07-28 18:35
svg-icon-fetch-task.patch (16.9 KB) svg-icon-fetch-task.patch Takashi Kato, 2024-07-28 18:36
0001-Replace-images-with-SVG-icons.patch (152 KB) 0001-Replace-images-with-SVG-icons.patch Marius BĂLTEANU, 2024-08-20 22:57
replace-toggle-checkboxes-icon.patch (6.17 KB) replace-toggle-checkboxes-icon.patch Mizuki ISHIKAWA, 2024-09-09 10:23
screenshot 2024-09-09 17.28.28.png (21.2 KB) screenshot 2024-09-09 17.28.28.png Mizuki ISHIKAWA, 2024-09-09 10:29
screenshot 2024-09-09 17.28.17.png (34.4 KB) screenshot 2024-09-09 17.28.17.png Mizuki ISHIKAWA, 2024-09-09 10:29
svg-revision-graph.png (66.7 KB) svg-revision-graph.png Minoru Maeda, 2024-09-18 04:53
svg-progress-line.png (127 KB) svg-progress-line.png Minoru Maeda, 2024-09-18 04:53
screenshot 2024-09-25 10.21.09.png (21.8 KB) screenshot 2024-09-25 10.21.09.png Mizuki ISHIKAWA, 2024-09-25 04:24
fix-some-icons-color.patch (9.18 KB) fix-some-icons-color.patch Mizuki ISHIKAWA, 2024-09-25 04:26
tabler1.png (92.3 KB) tabler1.png Takashi Kato, 2024-09-25 17:51
tabler2.png (57.1 KB) tabler2.png Takashi Kato, 2024-09-25 17:52
clipboard-202409260014-wghmp.png (187 KB) clipboard-202409260014-wghmp.png Marius BĂLTEANU, 2024-09-25 23:14
0001-Add-tabler-icons.patch (67 KB) 0001-Add-tabler-icons.patch Takashi Kato, 2024-09-26 17:53
0001-Adds-rake-task-to-download-SVG-icons-from-Tabler-Git.patch (7.54 KB) 0001-Adds-rake-task-to-download-SVG-icons-from-Tabler-Git.patch Marius BĂLTEANU, 2024-10-06 21:45
wiki-syntax-help_commonmark_after.png (109 KB) wiki-syntax-help_commonmark_after.png Katsuya HIDAKA, 2024-10-13 16:49
wiki-syntax-help_commonmark_before.png (108 KB) wiki-syntax-help_commonmark_before.png Katsuya HIDAKA, 2024-10-13 16:49
0001-Replaced-icons-on-the-syntax-help-page-with-SVG-icons.patch (263 KB) 0001-Replaced-icons-on-the-syntax-help-page-with-SVG-icons.patch Katsuya HIDAKA, 2024-10-13 16:49
0002-Removed-unused-syntax-icon-images.patch (13.6 KB) 0002-Removed-unused-syntax-icon-images.patch Katsuya HIDAKA, 2024-10-13 16:49

Related issues

Related to Redmine - Feature #5830: Replace famfamfam icons with the fugue setClosed2010-07-07

Actions
Related to Redmine - Feature #11757: Add support for HDPI screens (retina)Closed

Actions
Related to Redmine - Feature #30229: Optimization: all UI icons collapsed into a single spriteClosed

Actions
Related to Redmine - Patch #41710: Checkmarks in tables still have the old icon styleClosedMarius BĂLTEANU

Actions
Related to Redmine - Defect #41712: Fix Path for Plugin Assets Added by Rake TaskClosedMarius BĂLTEANU

Actions
Related to Redmine - Patch #41720: Switch checked icon in context menu to SVG iconClosedGo MAEDA

Actions
Related to Redmine - Defect #41724: Missing key icon image on Change password buttonClosedMarius BĂLTEANU

Actions
Related to Redmine - Defect #41714: Replace search and magnifier icons with SVG iconClosedMarius BĂLTEANU

Actions
Related to Redmine - Defect #41715: Allow Custom SVG Icons for Plugin-Added Admin Menu ItemsClosedMarius BĂLTEANU

Actions
Related to Redmine - Defect #41729: Installing Redmine 6.0.0 may cause a LoadError for svg_spriteClosedMarius BĂLTEANU

Actions
Related to Redmine - Defect #41853: Group icons in watchers and membership modals are using a mix of legacy and SVG iconsClosedMarius BĂLTEANU

Actions
Blocked by Redmine - Defect #41447: Gantt collapse/expand buttons are not availableClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF