Merge branch 'small-fixes-and-improvements' into shigusegubu-themes3

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

View file

@ -144,7 +144,6 @@ const Notification = {
}
},
doApprove() {
this.$emit('interacted')
this.$store.state.api.backendInteractor.approveUser({ id: this.user.id })
this.$store.dispatch('removeFollowRequest', this.user)
this.$store.dispatch('markSingleNotificationAsSeen', {
@ -166,7 +165,6 @@ const Notification = {
}
},
doDeny() {
this.$emit('interacted')
this.$store.state.api.backendInteractor
.denyUser({ id: this.user.id })
.then(() => {

View file

@ -7,7 +7,7 @@
class="Notification"
:compact="true"
:statusoid="notification.status"
@interacted="interacted"
@click="interacted"
/>
</article>
<article

View file

@ -167,7 +167,7 @@ const Status = {
'controlledMediaPlaying',
'controlledSetMediaPlaying',
],
emits: ['interacted', 'goto', 'toggleExpanded'],
emits: ['goto', 'toggleExpanded'],
data() {
return {
uncontrolledReplying: false,
@ -560,11 +560,9 @@ const Status = {
this.error = error
},
clearError() {
this.$emit('interacted')
this.error = undefined
},
toggleReplying() {
this.$emit('interacted')
if (this.replying) {
this.$refs.postStatusForm.requestClose()
} else {

View file

@ -520,7 +520,6 @@
:status="status"
:replying="replying"
@toggle-replying="toggleReplying"
@interacted="e => $emit('interacted')"
/>
</div>
</div>

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"