Merge branch 'develop' into sw-notification-action
This commit is contained in:
commit
90b735f588
938 changed files with 33452 additions and 464 deletions
|
|
@ -68,40 +68,58 @@ import * as symbols from '@client/symbols';
|
|||
const patrons = [
|
||||
'Satsuki Yanagi',
|
||||
'noellabo',
|
||||
'Gargron',
|
||||
'Atsuko Tominaga',
|
||||
'mametsuko',
|
||||
'AureoleArk',
|
||||
'Gargron',
|
||||
'Nokotaro Takeda',
|
||||
'Suji Yan',
|
||||
'Hekovic',
|
||||
'Gitmo Life Services',
|
||||
'nenohi',
|
||||
'naga_rus',
|
||||
'Melilot',
|
||||
'Hekovic',
|
||||
'Nokotaro Takeda',
|
||||
'dansup',
|
||||
'nenohi',
|
||||
'motcha',
|
||||
'nanami kan',
|
||||
'Eduardo Quiros',
|
||||
'Peter G.',
|
||||
'YUKIMOCHI',
|
||||
'Efertone',
|
||||
'makokunsan',
|
||||
'oi_yekssim',
|
||||
'nanami kan',
|
||||
'motcha',
|
||||
'dansup',
|
||||
'Quinton Macejkovic',
|
||||
'YUKIMOCHI',
|
||||
'mewl hayabusa',
|
||||
'makokunsan',
|
||||
'Peter G.',
|
||||
'Nesakko',
|
||||
'regtan',
|
||||
'見当かなみ',
|
||||
'natalie',
|
||||
'Jerry',
|
||||
'takimura',
|
||||
'sikyosyounin',
|
||||
'weepjp',
|
||||
'mydarkstar',
|
||||
'Nesakko',
|
||||
'YuzuRyo61',
|
||||
'sheeta.s',
|
||||
'osapon',
|
||||
'YuzuRyo61',
|
||||
'wara',
|
||||
'mkatze',
|
||||
'kiritan',
|
||||
'CG',
|
||||
'nafuchoco',
|
||||
'Takumi Sugita',
|
||||
'chidori ninokura',
|
||||
'mydarkstar',
|
||||
'kiritan',
|
||||
'kabo2468y',
|
||||
'weepjp',
|
||||
'Liaizon Wakest',
|
||||
'Steffen K9',
|
||||
'Roujo',
|
||||
'uroco @99',
|
||||
'totokoro',
|
||||
'public_yusuke',
|
||||
'wara',
|
||||
'S Y',
|
||||
'Denshi',
|
||||
'Osushimaru',
|
||||
'Liaizon Wakest',
|
||||
'吴浥',
|
||||
'DignifiedSilence',
|
||||
't_w',
|
||||
];
|
||||
|
||||
export default defineComponent({
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ export default defineComponent({
|
|||
|
||||
showTypeMenu(e: MouseEvent) {
|
||||
return new Promise<ThemeValue>((resolve) => {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$ts._theme.defaultValue,
|
||||
action: () => resolve(null),
|
||||
}, {
|
||||
|
|
|
|||
|
|
@ -152,8 +152,8 @@ export default defineComponent({
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: var(--blur, blur(16px));
|
||||
backdrop-filter: var(--blur, blur(16px));
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ export default defineComponent({
|
|||
|
||||
methods: {
|
||||
menu(ev) {
|
||||
os.modalMenu([this.isOwned ? {
|
||||
os.popupMenu([this.isOwned ? {
|
||||
icon: 'fas fa-pencil-alt',
|
||||
text: this.$ts.edit,
|
||||
action: async () => {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<div class="body" v-html="body"></div>
|
||||
<div class="footer">
|
||||
<MkLink :url="`https://github.com/misskey-dev/misskey/blob/master/src/docs/${lang}/${doc}.md`" class="at">{{ $ts.docSource }}</MkLink>
|
||||
<p v-if="lang !== 'ja-JP'">{{ $ts.translateWarn }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -115,7 +116,7 @@ export default defineComponent({
|
|||
line-height: 1.5;
|
||||
|
||||
&.max-width_500px {
|
||||
padding: 16px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
> .main {
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ export default defineComponent({
|
|||
|
||||
methods: {
|
||||
menu(emoji, ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
type: 'label',
|
||||
text: ':' + emoji.name + ':',
|
||||
}, {
|
||||
|
|
|
|||
|
|
@ -228,6 +228,7 @@ export default defineComponent({
|
|||
> .footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.9em;
|
||||
|
||||
> .status {
|
||||
&.suspended {
|
||||
|
|
@ -249,7 +250,6 @@ export default defineComponent({
|
|||
|
||||
> .right {
|
||||
margin-left: auto;
|
||||
font-size: 0.9em;
|
||||
|
||||
> .latestStatus {
|
||||
border: solid 1px var(--divider);
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
</FormKeyValueView>
|
||||
</FormGroup>
|
||||
|
||||
<FormButton v-if="$i.isAdmin || $i.isModerator" @click="info" primary>{{ $ts.settings }}</FormButton>
|
||||
|
||||
<FormTextarea readonly :value="instance.description">
|
||||
<span>{{ $ts.description }}</span>
|
||||
</FormTextarea>
|
||||
|
|
@ -147,6 +149,7 @@ import * as os from '@client/os';
|
|||
import number from '@client/filters/number';
|
||||
import bytes from '@client/filters/bytes';
|
||||
import * as symbols from '@client/symbols';
|
||||
import MkInstanceInfo from '@client/pages/instance/instance.vue';
|
||||
|
||||
const chartLimit = 90;
|
||||
const sum = (...arr) => arr.reduce((r, a) => r.map((b, i) => a[i] + b));
|
||||
|
|
@ -440,6 +443,12 @@ export default defineComponent({
|
|||
}]
|
||||
};
|
||||
},
|
||||
|
||||
info() {
|
||||
os.popup(MkInstanceInfo, {
|
||||
instance: this.instance
|
||||
}, {}, 'closed');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
remoteMenu(emoji, ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
type: 'label',
|
||||
text: ':' + emoji.name + ':',
|
||||
}, {
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ export default defineComponent({
|
|||
};
|
||||
|
||||
const lookup = (ev) => {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: i18n.locale.user,
|
||||
icon: 'fas fa-user',
|
||||
action: () => {
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
start(ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$ts.messagingWithUser,
|
||||
icon: 'fas fa-user',
|
||||
action: () => { this.startUser() }
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ const Component = defineComponent({
|
|||
menu(ev) {
|
||||
const path = this.groupId ? `/my/messaging/group/${this.groupId}` : `/my/messaging/${this.userAcct}`;
|
||||
|
||||
os.modalMenu([this.inWindow ? undefined : {
|
||||
os.popupMenu([this.inWindow ? undefined : {
|
||||
text: this.$ts.openInWindow,
|
||||
icon: 'fas fa-window-maximize',
|
||||
action: () => {
|
||||
|
|
|
|||
|
|
@ -333,8 +333,8 @@ export default defineComponent({
|
|||
top: var(--stickyTop, 0px);
|
||||
padding: 16px;
|
||||
font-weight: bold;
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: var(--blur, blur(10px));
|
||||
backdrop-filter: var(--blur, blur(10px));
|
||||
background-color: var(--X16);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<template>
|
||||
<div class="qkcjvfiv _section">
|
||||
<div class="qkcjvfiv">
|
||||
<MkButton @click="create" primary class="add"><i class="fas fa-plus"></i> {{ $ts.createList }}</MkButton>
|
||||
|
||||
<MkPagination :pagination="pagination" #default="{items}" class="lists _content" ref="list">
|
||||
<div class="list _panel" v-for="(list, i) in items" :key="list.id">
|
||||
<MkA :to="`/my/lists/${ list.id }`">{{ list.name }}</MkA>
|
||||
</div>
|
||||
<MkA v-for="list in items" :key="list.id" class="list _panel" :to="`/my/lists/${ list.id }`">
|
||||
<div class="name">{{ list.name }}</div>
|
||||
<MkAvatars :user-ids="list.userIds"/>
|
||||
</MkA>
|
||||
</MkPagination>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -14,6 +15,7 @@
|
|||
import { defineComponent } from 'vue';
|
||||
import MkPagination from '@client/components/ui/pagination.vue';
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
import MkAvatars from '@client/components/avatars.vue';
|
||||
import * as os from '@client/os';
|
||||
import * as symbols from '@client/symbols';
|
||||
|
||||
|
|
@ -21,6 +23,7 @@ export default defineComponent({
|
|||
components: {
|
||||
MkPagination,
|
||||
MkButton,
|
||||
MkAvatars,
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
@ -57,14 +60,27 @@ export default defineComponent({
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.qkcjvfiv {
|
||||
padding: 16px;
|
||||
|
||||
> .add {
|
||||
margin: 0 auto var(--margin) auto;
|
||||
}
|
||||
|
||||
> .lists {
|
||||
> .list {
|
||||
display: flex;
|
||||
display: block;
|
||||
padding: 16px;
|
||||
border: solid 1px var(--divider);
|
||||
border-radius: 6px;
|
||||
|
||||
&:hover {
|
||||
border: solid 1px var(--accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
> .name {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ export default defineComponent({
|
|||
|
||||
methods: {
|
||||
menu(account, ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$ts.switch,
|
||||
icon: 'fas fa-exchange-alt',
|
||||
action: () => this.switchAccount(account),
|
||||
|
|
@ -77,7 +77,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
addAccount(ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$ts.existingAccount,
|
||||
action: () => { this.addExistingAccount(); },
|
||||
}, {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
<template #label>{{ $ts.appearance }}</template>
|
||||
<FormSwitch v-model:value="disableAnimatedMfm">{{ $ts.disableAnimatedMfm }}</FormSwitch>
|
||||
<FormSwitch v-model:value="reduceAnimation">{{ $ts.reduceUiAnimation }}</FormSwitch>
|
||||
<FormSwitch v-model:value="useBlurEffect">{{ $ts.useBlurEffect }}</FormSwitch>
|
||||
<FormSwitch v-model:value="useBlurEffectForModal">{{ $ts.useBlurEffectForModal }}</FormSwitch>
|
||||
<FormSwitch v-model:value="showGapBetweenNotesInTimeline">{{ $ts.showGapBetweenNotesInTimeline }}</FormSwitch>
|
||||
<FormSwitch v-model:value="loadRawImages">{{ $ts.loadRawImages }}</FormSwitch>
|
||||
|
|
@ -132,6 +133,7 @@ export default defineComponent({
|
|||
serverDisconnectedBehavior: defaultStore.makeGetterSetter('serverDisconnectedBehavior'),
|
||||
reduceAnimation: defaultStore.makeGetterSetter('animation', v => !v, v => !v),
|
||||
useBlurEffectForModal: defaultStore.makeGetterSetter('useBlurEffectForModal'),
|
||||
useBlurEffect: defaultStore.makeGetterSetter('useBlurEffect'),
|
||||
showGapBetweenNotesInTimeline: defaultStore.makeGetterSetter('showGapBetweenNotesInTimeline'),
|
||||
disableAnimatedMfm: defaultStore.makeGetterSetter('animatedMfm', v => !v, v => !v),
|
||||
useOsNativeEmojis: defaultStore.makeGetterSetter('useOsNativeEmojis'),
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
remove(reaction, ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$ts.remove,
|
||||
action: () => {
|
||||
this.reactions = this.reactions.filter(x => x !== reaction)
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ export default defineComponent({
|
|||
this.saveSrc();
|
||||
}
|
||||
}));
|
||||
os.modalMenu(items, ev.currentTarget || ev.target);
|
||||
os.popupMenu(items, ev.currentTarget || ev.target);
|
||||
},
|
||||
|
||||
async chooseAntenna(ev) {
|
||||
|
|
@ -161,7 +161,7 @@ export default defineComponent({
|
|||
this.saveSrc();
|
||||
}
|
||||
}));
|
||||
os.modalMenu(items, ev.currentTarget || ev.target);
|
||||
os.popupMenu(items, ev.currentTarget || ev.target);
|
||||
},
|
||||
|
||||
async chooseChannel(ev) {
|
||||
|
|
@ -177,7 +177,7 @@ export default defineComponent({
|
|||
this.$router.push(`/channels/${channel.id}`);
|
||||
}
|
||||
}));
|
||||
os.modalMenu(items, ev.currentTarget || ev.target);
|
||||
os.popupMenu(items, ev.currentTarget || ev.target);
|
||||
},
|
||||
|
||||
saveSrc() {
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
menu(ev) {
|
||||
os.modalMenu(getUserMenu(this.user), ev.currentTarget || ev.target);
|
||||
os.popupMenu(getUserMenu(this.user), ev.currentTarget || ev.target);
|
||||
},
|
||||
|
||||
parallaxLoop() {
|
||||
|
|
@ -613,8 +613,8 @@ export default defineComponent({
|
|||
position: absolute;
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: var(--blur, blur(8px));
|
||||
backdrop-filter: var(--blur, blur(8px));
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
padding: 8px;
|
||||
border-radius: 24px;
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
showMenu(ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$t('aboutX', { x: instanceName }),
|
||||
icon: 'fas fa-info-circle',
|
||||
action: () => {
|
||||
|
|
@ -260,6 +260,7 @@ export default defineComponent({
|
|||
display: block;
|
||||
margin: 0;
|
||||
padding: 32px 32px 24px 32px;
|
||||
font-size: 1.5em;
|
||||
|
||||
> .logo {
|
||||
vertical-align: bottom;
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
showMenu(ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$t('aboutX', { x: instanceName }),
|
||||
icon: 'fas fa-info-circle',
|
||||
action: () => {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
showMenu(ev) {
|
||||
os.modalMenu([{
|
||||
os.popupMenu([{
|
||||
text: this.$t('aboutX', { x: instanceName }),
|
||||
icon: 'fas fa-info-circle',
|
||||
action: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue