logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 9940739f1f9309ad218e1572b9683251be9e6bf0
parent e029c2864f1c06822213f3308d0df3c63a41a45b
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 30 Mar 2022 23:52:24 +0300

Merge branch 'vue3-again' into vue3-no-compat

* vue3-again:
  fix some mishaps i noticed during self-review

Diffstat:

Msrc/components/chat_message/chat_message.js1+
Msrc/components/post_status_form/post_status_form.js6++++++
Msrc/components/selectable_list/selectable_list.vue4++--
Msrc/components/user_reporting_modal/user_reporting_modal.vue2+-
Msrc/hocs/with_load_more/with_load_more.jsx1-
5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/components/chat_message/chat_message.js b/src/components/chat_message/chat_message.js @@ -27,6 +27,7 @@ const ChatMessage = { 'chatViewItem', 'hoveredMessageChain' ], + emits: ['hover'], components: { Popover, Attachment, diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js @@ -78,6 +78,12 @@ const PostStatusForm = { 'emojiPickerPlacement', 'optimisticPosting' ], + emits: [ + 'posted', + 'resize', + 'mediaplay' + 'mediapause' + ], components: { MediaUpload, EmojiInput, diff --git a/src/components/selectable_list/selectable_list.vue b/src/components/selectable_list/selectable_list.vue @@ -8,7 +8,7 @@ <Checkbox :model-value="allSelected" :indeterminate="someSelected" - @change="toggleAll" + @update:model-value="toggleAll" > {{ $t('selectable_list.select_all') }} </Checkbox> @@ -32,7 +32,7 @@ <div class="selectable-list-checkbox-wrapper"> <Checkbox :model-value="isSelected(item)" - @change="checked => toggle(checked, item)" + @update:model-value="checked => toggle(checked, item)" /> </div> <slot diff --git a/src/components/user_reporting_modal/user_reporting_modal.vue b/src/components/user_reporting_modal/user_reporting_modal.vue @@ -54,7 +54,7 @@ /> <Checkbox :model-value="isChecked(item.id)" - @change="checked => toggleStatus(checked, item.id)" + @update:model-value="checked => toggleStatus(checked, item.id)" /> </div> </template> diff --git a/src/hocs/with_load_more/with_load_more.jsx b/src/hocs/with_load_more/with_load_more.jsx @@ -81,7 +81,6 @@ const withLoadMore = ({ } }, render () { - console.log(this.$listeners) const props = { ...this.$props, [childPropName]: this.entries