chore: formatting
This commit is contained in:
parent
9d6172757c
commit
c6aa87cc9c
@ -1,9 +1,7 @@
|
||||
import * as Post from "@/misc/post.js";
|
||||
import create from "@/services/note/create.js";
|
||||
import { Users } from "@/models/index.js";
|
||||
import type {
|
||||
DbUserImportMastoPostJobData,
|
||||
} from "@/queue/types.js";
|
||||
import type { DbUserImportMastoPostJobData } from "@/queue/types.js";
|
||||
import { queueLogger } from "../../logger.js";
|
||||
import type Bull from "bull";
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
import create from "@/services/note/create.js";
|
||||
import { Users } from "@/models/index.js";
|
||||
import type {
|
||||
DbUserImportMastoPostJobData,
|
||||
} from "@/queue/types.js";
|
||||
import type { DbUserImportMastoPostJobData } from "@/queue/types.js";
|
||||
import { queueLogger } from "../../logger.js";
|
||||
import type Bull from "bull";
|
||||
import { htmlToMfm } from "@/remote/activitypub/misc/html-to-mfm.js";
|
||||
|
@ -3,7 +3,10 @@ import { Users, DriveFiles } from "@/models/index.js";
|
||||
import type { DbUserImportPostsJobData } from "@/queue/types.js";
|
||||
import { queueLogger } from "../../logger.js";
|
||||
import type Bull from "bull";
|
||||
import { createImportCkPostJob, createImportMastoPostJob } from "@/queue/index.js";
|
||||
import {
|
||||
createImportCkPostJob,
|
||||
createImportMastoPostJob,
|
||||
} from "@/queue/index.js";
|
||||
|
||||
const logger = queueLogger.createSubLogger("import-posts");
|
||||
|
||||
|
@ -341,7 +341,7 @@ function focusFooter(ev) {
|
||||
> :deep(button) {
|
||||
margin-top: 10px;
|
||||
margin-left: 0;
|
||||
margin-right: .4rem;
|
||||
margin-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -57,7 +57,10 @@
|
||||
{{ i18n.ts._mfm.warn }}
|
||||
</template>
|
||||
</FormSwitch> -->
|
||||
<FormSwitch v-model="reduceAnimation" class="_formBlock">
|
||||
<FormSwitch
|
||||
v-model="reduceAnimation"
|
||||
class="_formBlock"
|
||||
>
|
||||
{{ i18n.ts.reduceUiAnimation }}
|
||||
</FormSwitch>
|
||||
</section>
|
||||
|
@ -16,9 +16,7 @@
|
||||
<template #label>
|
||||
<i class="ph-pencil-line ph-bold ph-lg"></i>
|
||||
{{ i18n.ts._experiments.enablePostEditing }}
|
||||
<span class="_beta">
|
||||
{{ i18n.ts.beta }}</span
|
||||
>
|
||||
<span class="_beta"> {{ i18n.ts.beta }}</span>
|
||||
</template>
|
||||
<template #caption>{{
|
||||
i18n.ts._experiments.postEditingCaption
|
||||
|
@ -99,7 +99,7 @@ const keymap = {
|
||||
t: focus,
|
||||
};
|
||||
|
||||
let timelines = ['home'];
|
||||
let timelines = ["home"];
|
||||
|
||||
if (isLocalTimelineAvailable) {
|
||||
timelines.push("local");
|
||||
@ -108,7 +108,7 @@ if (isRecommendedTimelineAvailable) {
|
||||
timelines.push("recommended");
|
||||
}
|
||||
if (isLocalTimelineAvailable) {
|
||||
timelines.push('social');
|
||||
timelines.push("social");
|
||||
}
|
||||
if (isGlobalTimelineAvailable) {
|
||||
timelines.push("global");
|
||||
@ -235,9 +235,9 @@ const headerActions = $computed(() => [
|
||||
|
||||
const headerTabs = $computed(() => [
|
||||
{
|
||||
key: 'home',
|
||||
key: "home",
|
||||
title: i18n.ts._timelines.home,
|
||||
icon: 'ph-house ph-bold ph-lg',
|
||||
icon: "ph-house ph-bold ph-lg",
|
||||
iconOnly: true,
|
||||
},
|
||||
...(isLocalTimelineAvailable
|
||||
@ -263,9 +263,9 @@ const headerTabs = $computed(() => [
|
||||
...(isLocalTimelineAvailable
|
||||
? [
|
||||
{
|
||||
key: 'social',
|
||||
key: "social",
|
||||
title: i18n.ts._timelines.social,
|
||||
icon: 'ph-handshake ph-bold ph-lg',
|
||||
icon: "ph-handshake ph-bold ph-lg",
|
||||
iconOnly: true,
|
||||
},
|
||||
]
|
||||
@ -286,16 +286,16 @@ definePageMetadata(
|
||||
computed(() => ({
|
||||
title: i18n.ts.timeline,
|
||||
icon:
|
||||
src === 'local'
|
||||
? 'ph-users ph-bold ph-lg'
|
||||
: src === 'social'
|
||||
? 'ph-handshake ph-bold ph-lg'
|
||||
: src === 'recommended'
|
||||
? 'ph-thumbs-up ph-bold ph-lg'
|
||||
: src === 'global'
|
||||
? 'ph-planet ph-bold ph-lg'
|
||||
: 'ph-house ph-bold ph-lg',
|
||||
})),
|
||||
src === "local"
|
||||
? "ph-users ph-bold ph-lg"
|
||||
: src === "social"
|
||||
? "ph-handshake ph-bold ph-lg"
|
||||
: src === "recommended"
|
||||
? "ph-thumbs-up ph-bold ph-lg"
|
||||
: src === "global"
|
||||
? "ph-planet ph-bold ph-lg"
|
||||
: "ph-house ph-bold ph-lg",
|
||||
}))
|
||||
);
|
||||
|
||||
let swiperRef: any = null;
|
||||
|
Loading…
Reference in New Issue
Block a user