Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(comments): switch to outlined icons where possible
Signed-off-by: Edward Ly <[email protected]>
  • Loading branch information
edward-ly authored and susnux committed Jul 4, 2025
commit 6aaa853e14ceb5f8a0bc93510234255c65a32d53
12 changes: 6 additions & 6 deletions apps/comments/src/components/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
<NcActionButton close-after-click
@click="onEdit">
<template #icon>
<IconEdit :size="20" />
<IconPencilOutline :size="20" />
</template>
{{ t('comments', 'Edit comment') }}
</NcActionButton>
<NcActionSeparator />
<NcActionButton close-after-click
@click="onDeleteWithUndo">
<template #icon>
<IconDelete :size="20" />
<IconTrashCanOutline :size="20" />
</template>
{{ t('comments', 'Delete comment') }}
</NcActionButton>
Expand Down Expand Up @@ -115,8 +115,8 @@ import NcUserBubble from '@nextcloud/vue/components/NcUserBubble'

import IconArrowRight from 'vue-material-design-icons/ArrowRight.vue'
import IconClose from 'vue-material-design-icons/Close.vue'
import IconDelete from 'vue-material-design-icons/Delete.vue'
import IconEdit from 'vue-material-design-icons/Pencil.vue'
import IconTrashCanOutline from 'vue-material-design-icons/TrashCanOutline.vue'
import IconPencilOutline from 'vue-material-design-icons/PencilOutline.vue'

import CommentMixin from '../mixins/CommentMixin.js'
import { mapStores } from 'pinia'
Expand All @@ -132,8 +132,8 @@ export default {
components: {
IconArrowRight,
IconClose,
IconDelete,
IconEdit,
IconTrashCanOutline,
IconPencilOutline,
NcActionButton,
NcActions,
NcActionSeparator,
Expand Down
18 changes: 9 additions & 9 deletions apps/comments/src/views/Comments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="comments__empty"
:name="t('comments', 'No comments yet, start the conversation!')">
<template #icon>
<MessageReplyTextIcon />
<IconMessageReplyTextOutline />
</template>
</NcEmptyContent>
<ul v-else>
Expand Down Expand Up @@ -51,12 +51,12 @@
<template v-else-if="error">
<NcEmptyContent class="comments__error" :name="error">
<template #icon>
<AlertCircleOutlineIcon />
<IconAlertCircleOutline />
</template>
</NcEmptyContent>
<NcButton class="comments__retry" @click="getComments">
<template #icon>
<RefreshIcon />
<IconRefresh />
</template>
{{ t('comments', 'Retry') }}
</NcButton>
Expand All @@ -72,9 +72,9 @@ import { vElementVisibility as elementVisibility } from '@vueuse/components'

import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'
import NcButton from '@nextcloud/vue/components/NcButton'
import RefreshIcon from 'vue-material-design-icons/Refresh.vue'
import MessageReplyTextIcon from 'vue-material-design-icons/MessageReplyText.vue'
import AlertCircleOutlineIcon from 'vue-material-design-icons/AlertCircleOutline.vue'
import IconRefresh from 'vue-material-design-icons/Refresh.vue'
import IconMessageReplyTextOutline from 'vue-material-design-icons/MessageReplyTextOutline.vue'
import IconAlertCircleOutline from 'vue-material-design-icons/AlertCircleOutline.vue'

import Comment from '../components/Comment.vue'
import CommentView from '../mixins/CommentView'
Expand All @@ -89,9 +89,9 @@ export default {
Comment,
NcEmptyContent,
NcButton,
RefreshIcon,
MessageReplyTextIcon,
AlertCircleOutlineIcon,
IconRefresh,
IconMessageReplyTextOutline,
IconAlertCircleOutline,
},

directives: {
Expand Down
Loading