ipeychev / liferay-aui-upgrade-tool

1 stars 1 forks source link

Add support for icon class names #11

Closed robframpton closed 2 years ago

robframpton commented 11 years ago

Many icons have been deprecated with the migration. We should add support to automatically change icon classes to equivalent classes/icons that are now in Portal (font awesome and glyphicons). For example

toolbarChildren.push(
    {
        icon: 'block'
    }
);

can be changed to

toolbarChildren.push(
    {
        icon: 'icon-ban-circle'
    }
);

This way we save the developer time, shuffling through the many icons available.

This can be handled similarly to the 'portlet-msg-alert 'classes

ipeychev commented 11 years ago

Good idea, do we have a list with these replacements?

robframpton commented 11 years ago

We'd have to compile it. The only issue is that some deprecated icons do not have exact replacements.

On Sat, Aug 24, 2013 at 12:53 AM, Iliyan Peychev notifications@github.comwrote:

Good idea, do we have a list with these replacements?

— Reply to this email directly or view it on GitHubhttps://github.com/ipeychev/liferay-aui-upgrade-tool/issues/11#issuecomment-23204814 .

ipeychev commented 11 years ago

Okay, then provide me what you have so far. I will implement the feature and we can continue extending the list with the icons.