mark as interacted on any click on status, not specific actions

This commit is contained in:
Henry Jameson 2026-05-05 22:21:06 +03:00
commit cbc492a939
9 changed files with 3 additions and 14 deletions

View file

@ -67,7 +67,6 @@ export default {
'doAction',
'outerClose',
],
emits: ['interacted'],
components: {
StatusBookmarkFolderMenu,
EmojiPicker,
@ -138,7 +137,6 @@ export default {
this.button.interactive ? !this.button.interactive(this.funcArg) : false
)
return
this.$emit('interacted')
if (button.name === 'emoji') {
this.$refs.picker.showPicker()
} else {

View file

@ -20,7 +20,6 @@ export default {
UserTimedFilterModal,
},
props: ['button', 'status'],
emits: ['interacted'],
mounted() {
if (this.button.name === 'mute') {
this.$store.dispatch('fetchDomainMutes')

View file

@ -79,7 +79,6 @@
:button="button"
:status="status"
v-bind="$attrs"
@interacted="e => $emit('interacted')"
/>
<teleport to="#modal">
<MuteConfirm

View file

@ -16,7 +16,7 @@ library.add(faEllipsisH)
const StatusActionButtons = {
props: ['status', 'replying'],
emits: ['toggleReplying', 'interacted'],
emits: ['toggleReplying'],
data() {
return {
showPin: false,

View file

@ -20,7 +20,6 @@
:get-component="getComponent"
:close="() => { /* no-op */ }"
:do-action="doAction"
@interacted="e => $emit('interacted')"
/>
<button
v-if="showPin && currentUser"
@ -75,7 +74,6 @@
:get-component="getComponent"
:outer-close="close"
:do-action="doAction"
@interacted="e => $emit('interacted')"
/>
<button
v-if="showPin && currentUser"