mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-07 12:08:13 +00:00
DEV: update all suffix alt icon names (#1075)
This commit is contained in:
parent
890b85bff3
commit
7957796e56
@ -35,7 +35,7 @@ class ReviewableAiChatMessage < Reviewable
|
||||
def build_actions(actions, guardian, args)
|
||||
return unless pending?
|
||||
|
||||
return build_action(actions, :ignore, icon: "external-link-alt") if chat_message.blank?
|
||||
return build_action(actions, :ignore, icon: "up-right-from-square") if chat_message.blank?
|
||||
|
||||
agree =
|
||||
actions.add_bundle("#{id}-agree", icon: "thumbs-up", label: "reviewables.actions.agree.title")
|
||||
@ -67,7 +67,7 @@ class ReviewableAiChatMessage < Reviewable
|
||||
)
|
||||
end
|
||||
|
||||
build_action(actions, :ignore, icon: "external-link-alt")
|
||||
build_action(actions, :ignore, icon: "up-right-from-square")
|
||||
|
||||
build_action(actions, :delete_and_agree, icon: "far-trash-can") unless chat_message.deleted_at?
|
||||
end
|
||||
|
@ -61,12 +61,12 @@ class ReviewableAiPost < Reviewable
|
||||
icon: "far-trash-can",
|
||||
label: "reviewables.actions.delete.title",
|
||||
)
|
||||
build_action(actions, :delete_and_ignore, icon: "external-link-alt", bundle: delete)
|
||||
build_action(actions, :delete_and_ignore, icon: "up-right-from-square", bundle: delete)
|
||||
if post.reply_count > 0
|
||||
build_action(
|
||||
actions,
|
||||
:delete_and_ignore_replies,
|
||||
icon: "external-link-alt",
|
||||
icon: "up-right-from-square",
|
||||
confirm: true,
|
||||
bundle: delete,
|
||||
)
|
||||
@ -76,7 +76,7 @@ class ReviewableAiPost < Reviewable
|
||||
build_action(
|
||||
actions,
|
||||
:delete_and_agree_replies,
|
||||
icon: "external-link-alt",
|
||||
icon: "up-right-from-square",
|
||||
bundle: delete,
|
||||
confirm: true,
|
||||
)
|
||||
@ -85,7 +85,7 @@ class ReviewableAiPost < Reviewable
|
||||
|
||||
delete_user_actions(actions) if guardian.can_delete_user?(target_created_by)
|
||||
|
||||
build_action(actions, :ignore, icon: "external-link-alt")
|
||||
build_action(actions, :ignore, icon: "up-right-from-square")
|
||||
end
|
||||
|
||||
def perform_agree_and_hide(performed_by, args)
|
||||
|
@ -149,7 +149,7 @@ export default class AiLlmQuotaEditor extends Component {
|
||||
</td>
|
||||
<td class="ai-llm-quotas__cell ai-llm-quotas__cell--actions">
|
||||
<DButton
|
||||
@icon="trash-alt"
|
||||
@icon="trash-can"
|
||||
class="btn-danger ai-llm-quotas__delete-btn"
|
||||
@action={{fn this.deleteQuota quota}}
|
||||
/>
|
||||
|
@ -227,7 +227,7 @@ function initializeShareTopicButton(api) {
|
||||
|
||||
api.registerTopicFooterButton({
|
||||
id: "share-ai-conversation",
|
||||
icon: "share-alt",
|
||||
icon: "share-nodes",
|
||||
label: "discourse_ai.ai_bot.share_ai_conversation.name",
|
||||
title: "discourse_ai.ai_bot.share_ai_conversation.title",
|
||||
action() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user