revert Fix Compiler Errors pt3

How to destroy the code 101
This commit is contained in:
fox 2023-03-11 20:36:20 +00:00
parent cbcb9a4dfc
commit a19cb16462
27 changed files with 43 additions and 46 deletions

View file

@ -55,7 +55,7 @@
>
{{ $t('user_card.report') }}
</button>
<button
<button
v-if="pleromaChatMessagesAvailable"
class="btn button-default btn-block dropdown-item"
@click="openChat"

View file

@ -96,7 +96,7 @@
</div>
</template>
<script src="./chat_message.js" />
<script src="./chat_message.js"/>
<style lang="scss">
@import './chat_message.scss';

View file

@ -9,7 +9,7 @@
class="btn button-default"
>
{{ $t('domain_mute_card.unmute') }}
<template #progress>
<template v#progress>
{{ $t('domain_mute_card.unmute_progress') }}
</template>
</ProgressButton>

View file

@ -11,10 +11,10 @@
<PostStatusForm
class="panel-body"
v-bind="params"
@posted="closeModal"
:disablePolls="true"
:disableVisibilitySelector="true"
:post-handler="doEditStatus"
@posted="closeModal"
/>
</div>
</Modal>

View file

@ -43,8 +43,7 @@
:class="{ highlighted: index === highlighted }"
@click.stop.prevent="onClick($event, suggestion)"
>
<span v-if="!suggestion.mfm"
class="image">
<span v-if="!suggestion.mfm" class="image">
<img
v-if="suggestion.img"
:src="suggestion.img"

View file

@ -41,7 +41,7 @@
</div>
</template>
<script src="./emoji_reactions.js" />
<script src="./emoji_reactions.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -7,7 +7,7 @@
:bound-to="{ x: 'container' }"
remove-padding
>
<template #content="{close}">
<template v-slot:content="{close}">
<div class="dropdown-menu">
<button
v-if="canMute && !status.thread_muted"
@ -172,7 +172,7 @@
</button>
</div>
</template>
<template #trigger>
<template v-slot:trigger>
<button class="button-unstyled popover-trigger">
<FAIcon
class="fa-scale-110 fa-old-padding"
@ -205,7 +205,7 @@
</Popover>
</template>
<script src="./extra_buttons.js" />
<script src="./extra_buttons.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -35,7 +35,7 @@
</div>
</template>
<script src="./favorite_button.js" />
<script src="./favorite_button.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -44,7 +44,7 @@
</div>
</template>
<script src="./features_panel.js" />
<script src="./features_panel.js" ></script>
<style lang="scss">
.features-panel li {

View file

@ -1,7 +1,5 @@
<template>
<basic-user-card
v-if="show"
:user="user">
<basic-user-card :user="user" v-if="show">
<div class="follow-request-card-content-container">
<button
class="btn button-default"

View file

@ -47,7 +47,7 @@
</div>
</template>
<script src="./font_control.js" />
<script src="./font_control.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -14,6 +14,6 @@
</span>
</template>
<script src="./hashtag_link.js" />
<script src="./hashtag_link.js"/>
<style lang="scss" src="./hashtag_link.scss" />
<style lang="scss" src="./hashtag_link.scss"/>

View file

@ -10,4 +10,4 @@
</div>
</template>
<script src="./instance_specific_panel.js" />
<script src="./instance_specific_panel.js" ></script>

View file

@ -10,7 +10,7 @@
</div>
</div>
<div class="panel-body">
<p>{{ $t("about.bubble_instances_description") }}:</p>
<p>{{ $t("about.bubble_instances_description")}}:</p>
<ul>
<li
v-for="instance in bubbleInstances"

View file

@ -90,7 +90,7 @@
</div>
</template>
<script src="./login_form.js" />
<script src="./login_form.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -26,7 +26,7 @@
</label>
</template>
<script src="./media_upload.js" />
<script src="./media_upload.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -66,6 +66,6 @@
</span>
</template>
<script src="./mention_link.js" />
<script src="./mention_link.js"/>
<style lang="scss" src="./mention_link.scss" />
<style lang="scss" src="./mention_link.scss"/>

View file

@ -37,5 +37,5 @@
</span>
</span>
</template>
<script src="./mentions_line.js" />
<script src="./mentions_line.js" ></script>
<style lang="scss" src="./mentions_line.scss" />

View file

@ -69,4 +69,4 @@
</div>
</div>
</template>
<script src="./recovery_form.js" />
<script src="./recovery_form.js" ></script>

View file

@ -24,7 +24,7 @@
class="button-default"
@click.stop="updateReportState('open')"
>
{{ $t('moderation.reports.reopen') }}
{{ $t('moderation.reports.reopen') }}
</button>
</div>
<div
@ -47,8 +47,8 @@
</div>
</div>
<div
v-if="!hidden && this.statuses.length > 0"
class="dropdown"
v-if="!hidden && this.statuses.length > 0"
>
<button
class="button button-unstyled dropdown-header"
@ -74,8 +74,8 @@
</div>
</div>
<div
v-if="!hidden && this.notes.length > 0"
class="dropdown"
v-if="!hidden && this.notes.length > 0"
>
<button
class="button button-unstyled dropdown-header"
@ -100,8 +100,8 @@
<div class="report-add-note">
<textarea
rows="1"
v-model.trim="note"
cols="1"
v-model.trim="note"
:placeholder="$t('moderation.reports.note_placeholder')"
/>
<button
@ -134,7 +134,7 @@
:offset="{ y: 5 }"
remove-padding
>
<template #trigger>
<template v-slot:trigger>
<button
class="btn button-default"
:disabled="!tagPolicyEnabled"
@ -147,7 +147,7 @@
/>
</button>
</template>
<template #content="{close}">
<template v-slot:content="{close}">
<div
class="dropdown-menu"
:disabled="!tagPolicyEnabled"

View file

@ -8,7 +8,7 @@
@show="setToggled(true)"
@close="setToggled(false)"
>
<template #content>
<template v-slot:content>
<div class="dropdown-menu">
<span v-if="user.is_local">
<button
@ -122,7 +122,7 @@
</span>
</div>
</template>
<template #trigger>
<template v-slot:trigger>
<button
class="btn button-default btn-block moderation-tools-button"
:class="{ toggled }"
@ -137,11 +137,11 @@
v-if="showDeleteUserDialog"
:on-cancel="deleteUserDialog.bind(this, false)"
>
<template #header>
<template v-slot:header>
{{ $t('user_card.admin_menu.delete_user') }}
</template>
<p>{{ $t('user_card.admin_menu.delete_user_confirmation') }}</p>
<template #footer>
<template v-slot:footer>
<button
class="btn button-default"
@click="deleteUserDialog(false)"

View file

@ -120,7 +120,7 @@
</div>
</template>
<script src="./nav_panel.js" />
<script src="./nav_panel.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -5,7 +5,7 @@
placement="bottom"
:bound-to="{ x: 'container' }"
>
<template #content>
<template v-slot:content>
<div class="dropdown-menu">
<button
class="button-default dropdown-item"
@ -72,7 +72,7 @@
</button>
</div>
</template>
<template #trigger>
<template v-slot:trigger>
<button class="filter-trigger-button button-unstyled">
<FAIcon icon="filter" />
</button>

View file

@ -8,13 +8,13 @@
remove-padding
@show="focusInput"
>
<template #content="{close}">
<template v-slot:content="{close}">
<EmojiPicker
:enable-sticker-picker="false"
@emoji="addReaction($event, close)"
/>
</template>
<template #trigger>
<template v-slot:trigger>
<button
class="button-unstyled popover-trigger"
:title="$t('tool_tip.add_reaction')"
@ -28,7 +28,7 @@
</Popover>
</template>
<script src="./react_button.js" />
<script src="./react_button.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -54,7 +54,7 @@
</div>
</template>
<script src="./retweet_button.js" />
<script src="./retweet_button.js" ></script>
<style lang="scss">
@import '../../_variables.scss';

View file

@ -24,7 +24,7 @@
:items="items"
:get-key="getKey"
>
<template #item="{item}">
<template v-slot:item="{item}">
<div
class="selectable-list-item-inner"
:class="{ 'selectable-list-item-selected-inner': isSelected(item) }"
@ -41,7 +41,7 @@
/>
</div>
</template>
<template #empty>
<template v-slot:empty>
<slot name="empty" />
</template>
</List>

View file

@ -101,7 +101,7 @@
max="730"
class="expire-posts-days"
:placeholder="$t('settings.expire_posts_input_placeholder')"
/>
></input>
</p>
<p>
<interface-language-switcher