diff --git a/app/assets/javascripts/discourse-common/addon/deprecation-workflow.js b/app/assets/javascripts/discourse-common/addon/deprecation-workflow.js index 5782e89fc56..a9848601f7b 100644 --- a/app/assets/javascripts/discourse-common/addon/deprecation-workflow.js +++ b/app/assets/javascripts/discourse-common/addon/deprecation-workflow.js @@ -4,10 +4,6 @@ const DEPRECATION_WORKFLOW = [ handler: "silence", matchId: "discourse.decorate-widget.hamburger-widget-links", }, - { - handler: "silence", - matchId: "discourse.fontawesome-6-upgrade", - }, { handler: "silence", matchId: "discourse.post-menu-widget-overrides", diff --git a/app/assets/javascripts/discourse/app/components/about-page.gjs b/app/assets/javascripts/discourse/app/components/about-page.gjs index 40e08008156..63abe5f27c7 100644 --- a/app/assets/javascripts/discourse/app/components/about-page.gjs +++ b/app/assets/javascripts/discourse/app/components/about-page.gjs @@ -215,7 +215,7 @@ export default class AboutPage extends Component { {{#if this.currentUser.admin}}

- {{dIcon "pencil-alt"}} + {{dIcon "pencil"}} {{i18n "about.edit"}}

diff --git a/app/assets/javascripts/discourse/app/components/post/menu/buttons/edit.gjs b/app/assets/javascripts/discourse/app/components/post/menu/buttons/edit.gjs index c394b1683c4..69b0f1bd692 100644 --- a/app/assets/javascripts/discourse/app/components/post/menu/buttons/edit.gjs +++ b/app/assets/javascripts/discourse/app/components/post/menu/buttons/edit.gjs @@ -35,7 +35,7 @@ export default class PostMenuEditButton extends Component { }} ...attributes @action={{@buttonActions.editPost}} - @icon={{if @post.wiki "far-edit" "pencil-alt"}} + @icon={{if @post.wiki "far-edit" "pencil"}} @label={{if this.showLabel "post.controls.edit_action"}} @title="post.controls.edit" /> diff --git a/app/assets/javascripts/discourse/tests/fixtures/user-fixtures.js b/app/assets/javascripts/discourse/tests/fixtures/user-fixtures.js index 47c9fc0c046..b180a2b9fe9 100644 --- a/app/assets/javascripts/discourse/tests/fixtures/user-fixtures.js +++ b/app/assets/javascripts/discourse/tests/fixtures/user-fixtures.js @@ -34,7 +34,7 @@ export default { grant_count: 7, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -64,7 +64,7 @@ export default { grant_count: 30, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -334,7 +334,7 @@ export default { grant_count: 7, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -364,7 +364,7 @@ export default { grant_count: 30, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -2462,7 +2462,7 @@ export default { grant_count: 3, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -2758,7 +2758,7 @@ export default { grant_count: 3, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -2837,7 +2837,7 @@ export default { grant_count: 3, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -2907,7 +2907,7 @@ export default { grant_count: 3, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -3195,7 +3195,7 @@ export default { grant_count: 7, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, @@ -3225,7 +3225,7 @@ export default { grant_count: 30, allow_title: true, multiple_grant: false, - icon: "fa-user", + icon: "user", image: null, listable: true, enabled: true, diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index d93fca7585d..82821787ebb 100644 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -22,7 +22,7 @@ <%- if can_sign_up? %> " class='btn btn-primary btn-small sign-up-button'><%= I18n.t('sign_up') %> <%- end %> - " class='btn btn-primary btn-small login-button btn-icon-text'><%= SvgSprite.raw_svg('fa-user') %><%= I18n.t('log_in') %> + " class='btn btn-primary btn-small login-button btn-icon-text'><%= SvgSprite.raw_svg('user') %><%= I18n.t('log_in') %> <%- end %> diff --git a/app/views/exceptions/not_found.html.erb b/app/views/exceptions/not_found.html.erb index 57bd2504b03..276ad240fdb 100644 --- a/app/views/exceptions/not_found.html.erb +++ b/app/views/exceptions/not_found.html.erb @@ -12,7 +12,7 @@

<%= @title %>

<%- if !@current_user %> - " class='btn btn-primary'><%= SvgSprite.raw_svg('fa-user') %><%= I18n.t('log_in') %> + " class='btn btn-primary'><%= SvgSprite.raw_svg('user') %><%= I18n.t('log_in') %> <%- end %> <%- if @group&.dig(:allow_membership_requests) %> diff --git a/db/fixtures/006_badges.rb b/db/fixtures/006_badges.rb index d3488b254ba..12bf022cbf7 100644 --- a/db/fixtures/006_badges.rb +++ b/db/fixtures/006_badges.rb @@ -58,7 +58,7 @@ SQL b.trigger = Badge::Trigger::TrustLevelChange # allow title for tl3 and above b.default_allow_title = id > Badge::Member - b.default_icon = "fa-user" + b.default_icon = "user" b.system = true end end diff --git a/lib/svg_sprite.rb b/lib/svg_sprite.rb index d878324f4a6..3c26ba54cb5 100644 --- a/lib/svg_sprite.rb +++ b/lib/svg_sprite.rb @@ -523,8 +523,7 @@ License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL new_name = remap_from_fa5(new_name) if icon_name != new_name - # TODO: Enable message once core and official themes/plugins are updated - # Discourse.deprecate("The icon `#{icon_name}` is deprecated. Use `#{new_name}` instead.") + Discourse.deprecate("The icon `#{icon_name}` is deprecated. Use `#{new_name}` instead.") return new_name end