From d063d59a914ec36c3920f4205f75f9aa312844b4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 15 Nov 2018 00:01:49 +0900 Subject: [PATCH] [Client] Improve UI --- src/client/app/common/scripts/note-mixin.ts | 9 +++---- .../app/common/views/components/alert.vue | 25 +++++++++++++------ .../app/common/views/components/note-menu.vue | 18 ++++++++----- .../views/pages/deck/deck.user-column.vue | 6 +++-- 4 files changed, 38 insertions(+), 20 deletions(-) diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 80935927d5..91b0d1d9c0 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -141,11 +141,10 @@ export default (opts: Opts = {}) => ({ this.$root.api('notes/favorites/create', { noteId: this.appearNote.id }).then(() => { - // TODO - /*this.$root.alert({ - pointer: false, - autoClose: true - });*/ + this.$root.alert({ + type: 'success', + splash: true + }); }); }, diff --git a/src/client/app/common/views/components/alert.vue b/src/client/app/common/views/components/alert.vue index edf04666cb..27d876c87a 100644 --- a/src/client/app/common/views/components/alert.vue +++ b/src/client/app/common/views/components/alert.vue @@ -1,11 +1,11 @@