This commit is contained in:
syuilo 2023-05-29 17:24:46 +09:00
parent 25d1b66ca4
commit a1200ad886
11 changed files with 6 additions and 41 deletions

View file

@ -9,7 +9,7 @@
</template>
<div style="padding: 8px;">
<MkChart :src="chartSrc" :args="{ user, withoutAll: true }" span="day" :limit="limit" :bar="true" :stacked="true" :detailed="false" :aspect-ratio="5"/>
<MkChart :src="chartSrc" :args="{ user, withoutAll: true }" span="day" :limit="limit" :bar="true" :stacked="true" :detailed="false" :aspectRatio="5"/>
</div>
</MkContainer>
</template>

View file

@ -4,7 +4,7 @@
<i class="ti ti-antenna"></i><span style="margin-left: 8px;">{{ column.name }}</span>
</template>
<MkTimeline v-if="column.antennaId" ref="timeline" src="antenna" :antenna="column.antennaId" @after="() => emit('loaded')"/>
<MkTimeline v-if="column.antennaId" ref="timeline" src="antenna" :antenna="column.antennaId"/>
</XColumn>
</template>
@ -21,10 +21,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
(ev: 'loaded'): void;
}>();
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
onMounted(() => {

View file

@ -8,7 +8,7 @@
<div style="padding: 8px; text-align: center;">
<MkButton primary gradate rounded inline @click="post"><i class="ti ti-pencil"></i></MkButton>
</div>
<MkTimeline ref="timeline" src="channel" :channel="column.channelId" @after="() => emit('loaded')"/>
<MkTimeline ref="timeline" src="channel" :channel="column.channelId"/>
</template>
</XColumn>
</template>
@ -27,10 +27,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
(ev: 'loaded'): void;
}>();
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
let channel = $shallowRef<misskey.entities.Channel>();

View file

@ -17,9 +17,6 @@ defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
}>();
const pagination = {
endpoint: 'notes/mentions' as const,
limit: 10,

View file

@ -4,7 +4,7 @@
<i class="ti ti-list"></i><span style="margin-left: 8px;">{{ column.name }}</span>
</template>
<MkTimeline v-if="column.listId" ref="timeline" src="list" :list="column.listId" @after="() => emit('loaded')"/>
<MkTimeline v-if="column.listId" ref="timeline" src="list" :list="column.listId"/>
</XColumn>
</template>
@ -21,10 +21,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
(ev: 'loaded'): void;
}>();
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
if (props.column.listId == null) {

View file

@ -25,9 +25,6 @@ defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
}>();
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
provide('router', mainRouter);

View file

@ -17,9 +17,6 @@ defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
}>();
const pagination = {
endpoint: 'notes/mentions' as const,
limit: 10,

View file

@ -19,9 +19,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
}>();
function func() {
os.popup(defineAsyncComponent(() => import('@/components/MkNotificationSettingWindow.vue')), {
includingTypes: props.column.includingTypes,

View file

@ -4,7 +4,7 @@
<i class="ti ti-badge"></i><span style="margin-left: 8px;">{{ column.name }}</span>
</template>
<MkTimeline v-if="column.roleId" ref="timeline" src="role" :role="column.roleId" @after="() => emit('loaded')"/>
<MkTimeline v-if="column.roleId" ref="timeline" src="role" :role="column.roleId"/>
</XColumn>
</template>
@ -21,10 +21,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
(ev: 'loaded'): void;
}>();
let timeline = $shallowRef<InstanceType<typeof MkTimeline>>();
onMounted(() => {

View file

@ -15,7 +15,7 @@
</p>
<p :class="$style.disabledDescription">{{ i18n.ts._disabledTimeline.description }}</p>
</div>
<MkTimeline v-else-if="column.tl" ref="timeline" :key="column.tl" :src="column.tl" @after="() => emit('loaded')"/>
<MkTimeline v-else-if="column.tl" ref="timeline" :key="column.tl" :src="column.tl"/>
</XColumn>
</template>
@ -34,10 +34,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
(ev: 'loaded'): void;
}>();
let disabled = $ref(false);
const isLocalTimelineAvailable = (($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable));

View file

@ -21,9 +21,6 @@ const props = defineProps<{
isStacked: boolean;
}>();
const emit = defineEmits<{
}>();
let edit = $ref(false);
function addWidget(widget) {