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)
|
def build_actions(actions, guardian, args)
|
||||||
return unless pending?
|
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 =
|
agree =
|
||||||
actions.add_bundle("#{id}-agree", icon: "thumbs-up", label: "reviewables.actions.agree.title")
|
actions.add_bundle("#{id}-agree", icon: "thumbs-up", label: "reviewables.actions.agree.title")
|
||||||
@ -67,7 +67,7 @@ class ReviewableAiChatMessage < Reviewable
|
|||||||
)
|
)
|
||||||
end
|
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?
|
build_action(actions, :delete_and_agree, icon: "far-trash-can") unless chat_message.deleted_at?
|
||||||
end
|
end
|
||||||
|
@ -61,12 +61,12 @@ class ReviewableAiPost < Reviewable
|
|||||||
icon: "far-trash-can",
|
icon: "far-trash-can",
|
||||||
label: "reviewables.actions.delete.title",
|
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
|
if post.reply_count > 0
|
||||||
build_action(
|
build_action(
|
||||||
actions,
|
actions,
|
||||||
:delete_and_ignore_replies,
|
:delete_and_ignore_replies,
|
||||||
icon: "external-link-alt",
|
icon: "up-right-from-square",
|
||||||
confirm: true,
|
confirm: true,
|
||||||
bundle: delete,
|
bundle: delete,
|
||||||
)
|
)
|
||||||
@ -76,7 +76,7 @@ class ReviewableAiPost < Reviewable
|
|||||||
build_action(
|
build_action(
|
||||||
actions,
|
actions,
|
||||||
:delete_and_agree_replies,
|
:delete_and_agree_replies,
|
||||||
icon: "external-link-alt",
|
icon: "up-right-from-square",
|
||||||
bundle: delete,
|
bundle: delete,
|
||||||
confirm: true,
|
confirm: true,
|
||||||
)
|
)
|
||||||
@ -85,7 +85,7 @@ class ReviewableAiPost < Reviewable
|
|||||||
|
|
||||||
delete_user_actions(actions) if guardian.can_delete_user?(target_created_by)
|
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
|
end
|
||||||
|
|
||||||
def perform_agree_and_hide(performed_by, args)
|
def perform_agree_and_hide(performed_by, args)
|
||||||
|
@ -149,7 +149,7 @@ export default class AiLlmQuotaEditor extends Component {
|
|||||||
</td>
|
</td>
|
||||||
<td class="ai-llm-quotas__cell ai-llm-quotas__cell--actions">
|
<td class="ai-llm-quotas__cell ai-llm-quotas__cell--actions">
|
||||||
<DButton
|
<DButton
|
||||||
@icon="trash-alt"
|
@icon="trash-can"
|
||||||
class="btn-danger ai-llm-quotas__delete-btn"
|
class="btn-danger ai-llm-quotas__delete-btn"
|
||||||
@action={{fn this.deleteQuota quota}}
|
@action={{fn this.deleteQuota quota}}
|
||||||
/>
|
/>
|
||||||
|
@ -227,7 +227,7 @@ function initializeShareTopicButton(api) {
|
|||||||
|
|
||||||
api.registerTopicFooterButton({
|
api.registerTopicFooterButton({
|
||||||
id: "share-ai-conversation",
|
id: "share-ai-conversation",
|
||||||
icon: "share-alt",
|
icon: "share-nodes",
|
||||||
label: "discourse_ai.ai_bot.share_ai_conversation.name",
|
label: "discourse_ai.ai_bot.share_ai_conversation.name",
|
||||||
title: "discourse_ai.ai_bot.share_ai_conversation.title",
|
title: "discourse_ai.ai_bot.share_ai_conversation.title",
|
||||||
action() {
|
action() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user