Improve desktop UX (#4262)
* wip * wip * wip * wip * wip * wip * Merge * wip * wip * wip * wip * wip * wip
This commit is contained in:
parent
38ca514f53
commit
53422ffcb2
60 changed files with 1132 additions and 1222 deletions
21
src/client/app/desktop/views/widgets/customize.vue
Normal file
21
src/client/app/desktop/views/widgets/customize.vue
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<template>
|
||||
<div class="mkw-customize">
|
||||
<ui-button @click="customize()">{{ $t('@.customize-home') }}</ui-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default define({
|
||||
name: 'customize',
|
||||
}).extend({
|
||||
i18n: i18n(),
|
||||
methods: {
|
||||
customize(date) {
|
||||
location.href = '/?customize';
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
@ -9,6 +9,7 @@ import wPolls from './polls.vue';
|
|||
import wPostForm from './post-form.vue';
|
||||
import wMessaging from './messaging.vue';
|
||||
import wProfile from './profile.vue';
|
||||
import wCustomize from './customize.vue';
|
||||
|
||||
Vue.component('mkw-notifications', wNotifications);
|
||||
Vue.component('mkw-timemachine', wTimemachine);
|
||||
|
|
@ -19,3 +20,4 @@ Vue.component('mkw-polls', wPolls);
|
|||
Vue.component('mkw-post-form', wPostForm);
|
||||
Vue.component('mkw-messaging', wMessaging);
|
||||
Vue.component('mkw-profile', wProfile);
|
||||
Vue.component('mkw-customize', wCustomize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue