FIX: Rename deprecated icons, allow custom icons in badges

- adds a migration renaming FA4 icon names in badges
- allows all icons to be used in badges (previously was limited to icons prefixed with fa-)
- renames remaining FA 4.7 icons equivalents
This commit is contained in:
Penar Musaraj
2019-07-16 11:13:44 -04:00
committed by GitHub
parent ed5b31f427
commit a571efba35
16 changed files with 33 additions and 22 deletions

View File

@ -21,7 +21,7 @@ widgetTest("extendability", {
beforeEach(store) {
TopicStatusIcons.addObject([
"has_accepted_answer",
"check-square-o",
"far-check-square",
"solved"
]);
this.set("args", {
@ -32,6 +32,6 @@ widgetTest("extendability", {
});
},
test(assert) {
assert.ok(find(".topic-status .d-icon-check-square-o").length);
assert.ok(find(".topic-status .d-icon-far-check-square").length);
}
});