diff --git a/app/assets/javascripts/admin/addon/components/admin-report.hbs b/app/assets/javascripts/admin/addon/components/admin-report.hbs index f13e0c7d6a2..6217cd62c5d 100644 --- a/app/assets/javascripts/admin/addon/components/admin-report.hbs +++ b/app/assets/javascripts/admin/addon/components/admin-report.hbs @@ -28,7 +28,7 @@ @interactive={{this.model.description_link.length}} > <:trigger> - {{d-icon "question-circle"}} + {{d-icon "circle-question"}} <:content> {{#if this.model.description_link}} @@ -78,21 +78,21 @@ {{#if this.showError}} {{#if this.showTimeoutError}}
- {{d-icon "exclamation-triangle"}}
+ {{d-icon "triangle-exclamation"}}
{{i18n "admin.badges.preview.bad_count_warning.header"}}
diff --git a/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs b/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs
index 902358aeaa6..8376d1a84b5 100644
--- a/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs
+++ b/app/assets/javascripts/admin/addon/components/modal/custom-date-range.hbs
@@ -16,7 +16,7 @@
-
{{/if}}
\ No newline at end of file
diff --git a/app/assets/javascripts/admin/addon/components/emoji-value-list.hbs b/app/assets/javascripts/admin/addon/components/emoji-value-list.hbs
index 1be68d11178..8562b1cd92d 100644
--- a/app/assets/javascripts/admin/addon/components/emoji-value-list.hbs
+++ b/app/assets/javascripts/admin/addon/components/emoji-value-list.hbs
@@ -4,7 +4,7 @@
{{d-icon
- "exclamation-triangle"
+ "triangle-exclamation"
class="bulk-award-status-icon failure"
}}
diff --git a/app/assets/javascripts/admin/addon/templates/admin-badges/show.hbs b/app/assets/javascripts/admin/addon/templates/admin-badges/show.hbs
index 553b604f560..67735c6bf64 100644
--- a/app/assets/javascripts/admin/addon/templates/admin-badges/show.hbs
+++ b/app/assets/javascripts/admin/addon/templates/admin-badges/show.hbs
@@ -33,7 +33,7 @@
@route="adminSiteText"
@query={{hash q=(concat this.textCustomizationPrefix "name")}}
>
- {{d-icon "pencil-alt"}}
+ {{d-icon "pencil"}}
{{else}}
@@ -116,7 +116,7 @@
@route="adminSiteText"
@query={{hash q=(concat this.textCustomizationPrefix "description")}}
>
- {{d-icon "pencil-alt"}}
+ {{d-icon "pencil"}}
{{else}}
@@ -145,7 +145,7 @@
q=(concat this.textCustomizationPrefix "long_description")
}}
>
- {{d-icon "pencil-alt"}}
+ {{d-icon "pencil"}}
{{else}}
diff --git a/app/assets/javascripts/admin/addon/templates/api-keys-index.hbs b/app/assets/javascripts/admin/addon/templates/api-keys-index.hbs
index 3611a65fd05..5845aab6135 100644
--- a/app/assets/javascripts/admin/addon/templates/api-keys-index.hbs
+++ b/app/assets/javascripts/admin/addon/templates/api-keys-index.hbs
@@ -20,7 +20,7 @@
{{#each this.model as |k|}}
diff --git a/app/assets/javascripts/admin/addon/templates/email-sent.hbs b/app/assets/javascripts/admin/addon/templates/email-sent.hbs
index bedeef4c5ce..3e4a4334a84 100644
--- a/app/assets/javascripts/admin/addon/templates/email-sent.hbs
+++ b/app/assets/javascripts/admin/addon/templates/email-sent.hbs
@@ -51,7 +51,7 @@
- {{#if k.revoked_at}}{{d-icon "times-circle"}}{{/if}}
+ {{#if k.revoked_at}}{{d-icon "circle-xmark"}}{{/if}}
{{k.truncatedKey}}
@@ -57,13 +57,13 @@
{{#if k.revoked_at}}
{{scope.action}}
diff --git a/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs b/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs
index cde89fa060f..2a120f53f7d 100644
--- a/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs
+++ b/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs
@@ -9,7 +9,11 @@
- {{d-icon "exclamation-triangle"}} + {{d-icon "triangle-exclamation"}} {{i18n "admin.groups.delete_warning"}}
\ No newline at end of file diff --git a/app/assets/javascripts/discourse/app/components/discourse-banner.hbs b/app/assets/javascripts/discourse/app/components/discourse-banner.hbs index 4e4c98ae62b..0b063a22587 100644 --- a/app/assets/javascripts/discourse/app/components/discourse-banner.hbs +++ b/app/assets/javascripts/discourse/app/components/discourse-banner.hbs @@ -4,7 +4,7 @@ diff --git a/app/assets/javascripts/discourse/app/components/edit-topic-timer-form.hbs b/app/assets/javascripts/discourse/app/components/edit-topic-timer-form.hbs index c33573afce9..4bb019d204a 100644 --- a/app/assets/javascripts/discourse/app/components/edit-topic-timer-form.hbs +++ b/app/assets/javascripts/discourse/app/components/edit-topic-timer-form.hbs @@ -48,7 +48,7 @@ {{#if this.willCloseImmediately}}- {{icon "exclamation-triangle"}} + {{icon "triangle-exclamation"}} {{this.concatErrors @error.messages}}
diff --git a/app/assets/javascripts/discourse/app/helpers/reviewable-history-description.js b/app/assets/javascripts/discourse/app/helpers/reviewable-history-description.js index 2284dfb2a0d..133d0b3a6a3 100644 --- a/app/assets/javascripts/discourse/app/helpers/reviewable-history-description.js +++ b/app/assets/javascripts/discourse/app/helpers/reviewable-history-description.js @@ -8,7 +8,7 @@ export default function reviewableHistoryDescription(rh) { switch (rh.reviewable_history_type) { case EDITED: return htmlSafe( - iconHTML("pencil-alt") + " " + I18n.t("review.history.edited") + iconHTML("pencil") + " " + I18n.t("review.history.edited") ); default: return htmlSafe(htmlStatus(rh.status)); diff --git a/app/assets/javascripts/discourse/app/helpers/reviewable-status.js b/app/assets/javascripts/discourse/app/helpers/reviewable-status.js index a649a0f2952..ddd9ac29296 100644 --- a/app/assets/javascripts/discourse/app/helpers/reviewable-status.js +++ b/app/assets/javascripts/discourse/app/helpers/reviewable-status.js @@ -38,30 +38,30 @@ function dataFor(status, type) { switch (type) { case "ReviewableQueuedPost": return { - icon: "times", + icon: "xmark", name: "rejected_post", cssClass: "rejected", }; case "ReviewableUser": return { - icon: "times", + icon: "xmark", name: "rejected_user", cssClass: "rejected", }; default: return { - icon: "times", + icon: "xmark", name: "rejected_flag", cssClass: "rejected", }; } case IGNORED: return { - icon: "external-link-alt", + icon: "up-right-from-square", name: "ignored", }; case DELETED: - return { icon: "trash-alt", name: "deleted" }; + return { icon: "trash-can", name: "deleted" }; } } diff --git a/app/assets/javascripts/discourse/app/helpers/user-status.js b/app/assets/javascripts/discourse/app/helpers/user-status.js index 9e4afefbe82..31b2ec1f1a1 100644 --- a/app/assets/javascripts/discourse/app/helpers/user-status.js +++ b/app/assets/javascripts/discourse/app/helpers/user-status.js @@ -12,7 +12,7 @@ export default function userStatus(user, { currentUser } = {}) { if (user.admin && currentUser?.staff) { return htmlSafe( - iconHTML("shield-alt", { + iconHTML("shield-halved", { label: I18n.t("user.admin", { user: name }), }) ); @@ -20,7 +20,7 @@ export default function userStatus(user, { currentUser } = {}) { if (user.moderator) { return htmlSafe( - iconHTML("shield-alt", { + iconHTML("shield-halved", { label: I18n.t("user.moderator", { user: name }), }) ); diff --git a/app/assets/javascripts/discourse/app/instance-initializers/enable-emoji.js b/app/assets/javascripts/discourse/app/instance-initializers/enable-emoji.js index 2ad79909a60..5d400109e3e 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/enable-emoji.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/enable-emoji.js @@ -14,7 +14,7 @@ export default { toolbar.addButton({ id: "emoji", group: "extras", - icon: "far-smile", + icon: "far-face-smile", action: () => toolbar.context.send("emoji"), title: "composer.emoji", className: "emoji insert-emoji", diff --git a/app/assets/javascripts/discourse/app/instance-initializers/logout.js b/app/assets/javascripts/discourse/app/instance-initializers/logout.js index 6a00e33d69c..f482181dcd1 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/logout.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/logout.js @@ -42,7 +42,7 @@ class LogoutInit { this.dialog.alert({ message: I18n.t("logout"), - confirmButtonLabel: "home", + confirmButtonLabel: "house", didConfirm: logout, didCancel: logout, shouldDisplayCancel: false, diff --git a/app/assets/javascripts/discourse/app/instance-initializers/post-decorations.js b/app/assets/javascripts/discourse/app/instance-initializers/post-decorations.js index 322ac160d48..ac254d84084 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/post-decorations.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/post-decorations.js @@ -199,7 +199,7 @@ export default { title: "table_builder.edit.btn_edit", label: "table_builder.edit.btn_edit", icon: { - name: "pencil-alt", + name: "pencil", class: "edit-table-icon", }, }); diff --git a/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js b/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js index 9deb040a700..dd9e4db8633 100644 --- a/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js +++ b/app/assets/javascripts/discourse/app/instance-initializers/video-placeholder.js @@ -44,7 +44,7 @@ export default { const notice = document.createElement("div"); notice.className = "notice"; notice.innerHTML = - iconHTML("exclamation-triangle") + + iconHTML("triangle-exclamation") + " " + I18n.t("cannot_render_video"); diff --git a/app/assets/javascripts/discourse/app/lib/autocomplete.js b/app/assets/javascripts/discourse/app/lib/autocomplete.js index 46e441e9418..0e263ea8d6a 100644 --- a/app/assets/javascripts/discourse/app/lib/autocomplete.js +++ b/app/assets/javascripts/discourse/app/lib/autocomplete.js @@ -176,7 +176,7 @@ export default function (options) { const divs = transformed.map((itm) => { let d = $( `` ); const $parent = me.parent(); diff --git a/app/assets/javascripts/discourse/app/lib/notification-types/admin-problems.js b/app/assets/javascripts/discourse/app/lib/notification-types/admin-problems.js index 4009929092d..f1b798beb96 100644 --- a/app/assets/javascripts/discourse/app/lib/notification-types/admin-problems.js +++ b/app/assets/javascripts/discourse/app/lib/notification-types/admin-problems.js @@ -16,6 +16,6 @@ export default class extends NotificationTypeBase { } get icon() { - return "exclamation-triangle"; + return "triangle-exclamation"; } } diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.gjs b/app/assets/javascripts/discourse/app/lib/plugin-api.gjs index a923fa31214..1cc160fd546 100644 --- a/app/assets/javascripts/discourse/app/lib/plugin-api.gjs +++ b/app/assets/javascripts/discourse/app/lib/plugin-api.gjs @@ -504,17 +504,17 @@ class PluginApi { * * // for the place in code that render a string * string() { - * return ""; + * return ""; * }, * * // for the places in code that render virtual dom elements * node() { * return h("svg", { - * attributes: { class: "fa d-icon d-icon-far-smile", "aria-hidden": true }, + * attributes: { class: "fa d-icon d-icon-far-face-smile", "aria-hidden": true }, * namespace: "http://www.w3.org/2000/svg" * },[ * h("use", { - * "href": attributeHook("http://www.w3.org/1999/xlink", `#far-smile`), + * "href": attributeHook("http://www.w3.org/1999/xlink", `#far-face-smile`), * namespace: "http://www.w3.org/2000/svg" * })] * ); @@ -779,7 +779,7 @@ class PluginApi { * api.addPostMenuButton('coffee', () => { * return { * action: 'drinkCoffee', - * icon: 'coffee', + * icon: 'mug-saucer', * className: 'hot-coffee', * title: 'coffee.title', * position: 'first' // can be `first`, `last` or `second-last-hidden` @@ -808,7 +808,7 @@ class PluginApi { * drinkCoffee(post); * showFeedback('discourse_plugin.coffee.drink'); * }, - * icon: 'coffee', + * icon: 'mug-saucer', * className: 'hot-coffee', * } * } @@ -829,7 +829,7 @@ class PluginApi { * action: () => { * alert('You clicked on the coffee button!'); * }, - * icon: 'coffee', + * icon: 'mug-saucer', * className: 'hot-coffee', * label: 'coffee.title', * }; @@ -853,7 +853,7 @@ class PluginApi { * action: () => { * alert('You clicked on the coffee button!'); * }, - * icon: 'coffee', + * icon: 'mug-saucer', * className: 'hot-coffee', * label: 'coffee.title', * }; @@ -2181,7 +2181,7 @@ class PluginApi { * * ``` * api.addQuickAccessProfileItem({ - * icon: "pencil-alt", + * icon: "pencil", * href: "/somewhere", * content: I18n.t("user.somewhere") * }) @@ -2864,7 +2864,7 @@ class PluginApi { * } * * get actionsIcon() { - * return "cog"; + * return "gear"; * } * * get actions() { @@ -2943,7 +2943,7 @@ class PluginApi { * return "icon"; * } * get hoverValue() { - * return "times"; + * return "xmark"; * } * get hoverAction() { * return () => {}; @@ -3106,7 +3106,7 @@ class PluginApi { * ``` * api.addBulkActionButton({ * label: "super_plugin.bulk.enhance", - * icon: "magic", + * icon: wand-magic, * class: "btn-default", * visible: ({ currentUser, siteSettings }) => siteSettings.super_plugin_enabled && currentUser.staff, * async action({ setComponent }) { diff --git a/app/assets/javascripts/discourse/app/lib/render-topic-featured-link.js b/app/assets/javascripts/discourse/app/lib/render-topic-featured-link.js index 43381915709..1906148aad3 100644 --- a/app/assets/javascripts/discourse/app/lib/render-topic-featured-link.js +++ b/app/assets/javascripts/discourse/app/lib/render-topic-featured-link.js @@ -47,7 +47,7 @@ export default function renderTopicFeaturedLink(topic) { if (meta) { return `${renderIcon("string", "external-link-alt")} ${ + }" href="${meta.href}">${renderIcon("string", "up-right-from-square")} ${ meta.domain }`; } else { @@ -63,7 +63,7 @@ export function topicFeaturedLinkNode(topic) { { attributes: { href: meta.href, rel: meta.rel, target: meta.target }, }, - [renderIcon("node", "external-link-alt"), meta.domain] + [renderIcon("node", "up-right-from-square"), meta.domain] ); } } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js b/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js index 6a830a6d3aa..79ff51cbaae 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js @@ -9,7 +9,7 @@ export const ADMIN_NAV_MAP = [ name: "admin_backups", route: "admin.backups", label: "admin.account.sidebar_link.backups", - icon: "archive", + icon: "box-archive", }, { name: "admin_whats_new", @@ -44,7 +44,7 @@ export const ADMIN_NAV_MAP = [ routeModels: ["required"], query: { filter: "" }, label: "admin.community.sidebar_link.about_your_site", - icon: "cog", + icon: "gear", }, { name: "admin_badges", @@ -86,7 +86,7 @@ export const ADMIN_NAV_MAP = [ name: "admin_user_fields", route: "adminUserFields", label: "admin.community.sidebar_link.user_fields", - icon: "user-edit", + icon: "user-pen", }, { name: "admin_watched_words", @@ -149,7 +149,7 @@ export const ADMIN_NAV_MAP = [ routeModels: ["all_results"], query: { filter: "navigation" }, label: "admin.appearance.sidebar_link.navigation", - icon: "project-diagram", + icon: "diagram-project", }, { name: "admin_themes", @@ -157,7 +157,7 @@ export const ADMIN_NAV_MAP = [ routeModels: ["themes"], model: "themes", label: "admin.appearance.sidebar_link.themes", - icon: "paint-brush", + icon: "paintbrush", }, { name: "admin_components", @@ -195,7 +195,7 @@ export const ADMIN_NAV_MAP = [ name: "admin_server_setup", route: "adminEmail.index", label: "admin.email_settings.sidebar_link.server_setup", - icon: "cog", + icon: "gear", }, ], }, @@ -213,13 +213,13 @@ export const ADMIN_NAV_MAP = [ name: "admin_email_skipped", route: "adminEmail.skipped", label: "admin.email_logs.sidebar_link.skipped", - icon: "angle-double-right", + icon: "angles-right", }, { name: "admin_email_bounced", route: "adminEmail.bounced", label: "admin.email_logs.sidebar_link.bounced", - icon: "times", + icon: "xmark", }, { name: "admin_email_received", @@ -243,7 +243,7 @@ export const ADMIN_NAV_MAP = [ name: "admin_logs_error_logs", href: getURL("/logs"), label: "admin.security.sidebar_link.error_logs", - icon: "external-link-alt", + icon: "up-right-from-square", }, { name: "admin_logs_screened_emails", @@ -270,7 +270,7 @@ export const ADMIN_NAV_MAP = [ name: "admin_logs_search_logs", route: "adminSearchLogs", label: "admin.security.sidebar_link.search_logs", - icon: "search", + icon: "magnifying-glass", moderator: true, }, { @@ -348,7 +348,7 @@ export const ADMIN_NAV_MAP = [ routeModels: ["user_api"], query: { filter: "" }, label: "admin.advanced.sidebar_link.user_api", - icon: "random", + icon: "shuffle", }, { name: "admin_api_web_hooks", @@ -386,7 +386,7 @@ export const ADMIN_NAV_MAP = [ routeModels: ["search"], query: { filter: "" }, label: "admin.advanced.sidebar_link.search", - icon: "search", + icon: "magnifying-glass", }, { name: "admin_experimental", diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/admin-sidebar.js b/app/assets/javascripts/discourse/app/lib/sidebar/admin-sidebar.js index ae6a95e424f..895a301f2d6 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/admin-sidebar.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/admin-sidebar.js @@ -190,7 +190,7 @@ export function useAdminNavConfig(navMap) { name: "admin_home", route: "admin.dashboard.general", label: "admin.dashboard.title", - icon: "home", + icon: "house", moderator: true, }, { @@ -204,7 +204,7 @@ export function useAdminNavConfig(navMap) { name: "admin_all_site_settings", route: "adminSiteSettings", label: "admin.advanced.sidebar_link.all_site_settings", - icon: "cog", + icon: "gear", }, ], }, @@ -282,7 +282,7 @@ function pluginAdminRouteLinks() { ? [plugin.admin_route.location] : [], label: plugin.admin_route.label, - icon: "cog", + icon: "gear", }; }); } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/about-section-link.js b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/about-section-link.js index 5974670bcb8..bae4df2ebc1 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/about-section-link.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/about-section-link.js @@ -22,6 +22,6 @@ export default class AboutSectionLink extends BaseSectionLink { } get defaultPrefixValue() { - return "info-circle"; + return "circle-info"; } } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/faq-section-link.js b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/faq-section-link.js index 1f9bb6d3cd2..dcb1643dac8 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/faq-section-link.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/faq-section-link.js @@ -38,6 +38,6 @@ export default class FAQSectionLink extends BaseSectionLink { } get defaultPrefixValue() { - return "question-circle"; + return "circle-question"; } } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/groups-section-link.js b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/groups-section-link.js index b8db34fbd03..57218009aff 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/groups-section-link.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/common/community-section/groups-section-link.js @@ -26,6 +26,6 @@ export default class GroupsSectionLink extends BaseSectionLink { } get defaultPrefixValue() { - return "user-friends"; + return "user-group"; } } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/custom-sections.js b/app/assets/javascripts/discourse/app/lib/sidebar/custom-sections.js index ede0078e9ee..2a7f5c1bf9b 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/custom-sections.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/custom-sections.js @@ -17,7 +17,7 @@ class MainSidebarPanel { } get switchButtonIcon() { - return "random"; + return "shuffle"; } get switchButtonDefaultUrl() { diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/section.js b/app/assets/javascripts/discourse/app/lib/sidebar/section.js index 4c076ae676f..c3a3c010ec1 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/section.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/section.js @@ -54,7 +54,7 @@ export default class Section { } get headerActionIcon() { - return "pencil-alt"; + return "pencil"; } @bind diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/admin-section.js b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/admin-section.js index 49dbaa757e3..756bd31ceb6 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/admin-section.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/admin-section.js @@ -24,6 +24,6 @@ export default class extends CommonCommunitySection { } get moreSectionButtonIcon() { - return "pencil-alt"; + return "pencil"; } } diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js index ef1493cdce2..4e93ba5512b 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js @@ -100,7 +100,7 @@ export default class MyPostsSectionLink extends BaseSectionLink { get defaultPrefixValue() { if (this._hasDraft && this.currentUser?.new_new_view_enabled) { - return "pencil-alt"; + return "pencil"; } return "user"; } diff --git a/app/assets/javascripts/discourse/app/lib/time-shortcut.js b/app/assets/javascripts/discourse/app/lib/time-shortcut.js index 6922e47a5dd..e9830f709fb 100644 --- a/app/assets/javascripts/discourse/app/lib/time-shortcut.js +++ b/app/assets/javascripts/discourse/app/lib/time-shortcut.js @@ -139,7 +139,7 @@ export function timeShortcuts(timezone) { laterThisWeek() { return { id: TIME_SHORTCUT_TYPES.LATER_THIS_WEEK, - icon: "angle-double-right", + icon: "angles-right", label: "time_shortcut.later_this_week", time: laterThisWeek(timezone), timeFormatKey: "dates.time_short_day", @@ -241,7 +241,7 @@ export function timeShortcuts(timezone) { }, custom() { return { - icon: "calendar-alt", + icon: "calendar-days", id: TIME_SHORTCUT_TYPES.CUSTOM, label: "time_shortcut.custom", time: null, @@ -250,7 +250,7 @@ export function timeShortcuts(timezone) { }, lastCustom() { return { - icon: "undo", + icon: "arrow-rotate-left", id: TIME_SHORTCUT_TYPES.LAST_CUSTOM, label: "time_shortcut.last_custom", time: null, @@ -268,7 +268,7 @@ export function timeShortcuts(timezone) { now() { return { id: TIME_SHORTCUT_TYPES.NOW, - icon: "magic", + icon: "wand-magic", label: "time_shortcut.now", time: now(timezone), }; diff --git a/app/assets/javascripts/discourse/app/models/composer.js b/app/assets/javascripts/discourse/app/models/composer.js index 5af6748b4b6..9dbc5dfd803 100644 --- a/app/assets/javascripts/discourse/app/models/composer.js +++ b/app/assets/javascripts/discourse/app/models/composer.js @@ -108,7 +108,7 @@ export const SAVE_LABELS = { }; export const SAVE_ICONS = { - [EDIT]: "pencil-alt", + [EDIT]: "pencil", [EDIT_SHARED_DRAFT]: "far-clipboard", [REPLY]: "reply", [CREATE_TOPIC]: "plus", diff --git a/app/assets/javascripts/discourse/app/models/user-action.js b/app/assets/javascripts/discourse/app/models/user-action.js index 4c1eacef541..ed269a72fd5 100644 --- a/app/assets/javascripts/discourse/app/models/user-action.js +++ b/app/assets/javascripts/discourse/app/models/user-action.js @@ -174,7 +174,7 @@ export default class UserAction extends RestModel { groups = { likes: UserActionGroup.create({ icon: "heart" }), stars: UserActionGroup.create({ icon: "star" }), - edits: UserActionGroup.create({ icon: "pencil-alt" }), + edits: UserActionGroup.create({ icon: "pencil" }), bookmarks: UserActionGroup.create({ icon: "bookmark" }), }; } diff --git a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr index 9f6383cf399..5bf4235e64e 100644 --- a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr +++ b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr @@ -1,7 +1,7 @@