feat: emoji reactions for tasks and comments #2196

Merged
konrad merged 19 commits from feature/reactions into main 2024-03-12 19:26:01 +00:00
Showing only changes of commit 7558879d99 - Show all commits

View File

@ -11,6 +11,7 @@ import {nextTick, onBeforeUnmount, onMounted, ref} from 'vue'
import CustomTransition from '@/components/misc/CustomTransition.vue'
import {closeWhenClickedOutside} from '@/helpers/closeWhenClickedOutside'
import {useAuthStore} from '@/stores/auth'
import {useColorScheme} from '@/composables/useColorScheme'
const {
entityKind,
@ -23,6 +24,7 @@ const {
const authStore = useAuthStore()
const {t} = useI18n()
const reactionService = new ReactionService()
const {isDark} = useColorScheme()
const model = defineModel<IReactionPerEntity>()
@ -157,6 +159,7 @@ async function toggleReaction(value: string) {
@emojiClick="detail => addReaction(detail.unicode)"
ref="emojiPickerRef"
data-source="/emojis.json"
:is-dark="isDark"
/>
</CustomTransition>
</div>