From da52f980c4e3cca48d0da47903cc8b6b5e12949e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 14:42:29 +0900 Subject: [PATCH] :v: --- locales/ja.yml | 8 ++ src/client/app/mobile/script.ts | 2 + .../mobile/views/components/note-detail.vue | 2 - .../app/mobile/views/components/ui.nav.vue | 7 +- .../app/mobile/views/pages/favorites.vue | 94 +++++++++++++++++++ 5 files changed, 107 insertions(+), 6 deletions(-) create mode 100644 src/client/app/mobile/views/pages/favorites.vue diff --git a/locales/ja.yml b/locales/ja.yml index d727b01185..366a030c99 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -846,6 +846,10 @@ mobile/views/components/ui.nav.vue: messaging: "メッセージ" search: "検索" drive: "ドライブ" + favorites: "お気に入り" + widgets: "ウィジェット" + game: "ゲーム" + darkmode: "ダークモード" settings: "設定" about: "Misskeyについて" @@ -859,8 +863,12 @@ mobile/views/components/users-list.vue: known: "知り合い" load-more: "もっと" +mobile/views/pages/favorites.vue: + title: "お気に入り" + mobile/views/pages/drive.vue: drive: "ドライブ" + more: "もっと見る" mobile/views/pages/followers.vue: followers-of: "{}のフォロワー" diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index 5418aac090..4c3d8fc3bd 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -36,6 +36,7 @@ import MkNote from './views/pages/note.vue'; import MkSearch from './views/pages/search.vue'; import MkFollowers from './views/pages/followers.vue'; import MkFollowing from './views/pages/following.vue'; +import MkFavorites from './views/pages/favorites.vue'; import MkSettings from './views/pages/settings.vue'; import MkOthello from './views/pages/othello.vue'; @@ -72,6 +73,7 @@ init((launch) => { { path: '/signup', name: 'signup', component: MkSignup }, { path: '/i/settings', name: 'settings', component: MkSettings }, { path: '/i/notifications', name: 'notifications', component: MkNotifications }, + { path: '/i/favorites', name: 'favorites', component: MkFavorites }, { path: '/i/widgets', name: 'widgets', component: MkWidgets }, { path: '/i/messaging', name: 'messaging', component: MkMessaging }, { path: '/i/messaging/:user', component: MkMessagingRoom }, diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index d4606c0313..211ca27f1c 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -216,8 +216,6 @@ export default Vue.extend({ root(isDark) overflow hidden - margin 0 auto - padding 0 width 100% text-align left background isDark ? #282C37 : #fff diff --git a/src/client/app/mobile/views/components/ui.nav.vue b/src/client/app/mobile/views/components/ui.nav.vue index 033372ffef..dd1b9c8e25 100644 --- a/src/client/app/mobile/views/components/ui.nav.vue +++ b/src/client/app/mobile/views/components/ui.nav.vue @@ -18,18 +18,17 @@
  • %fa:home%%i18n:@home%%fa:angle-right%
  • %fa:R bell%%i18n:@notifications%%fa:angle-right%
  • %fa:R comments%%i18n:@messaging%%fa:angle-right%
  • -
  • %fa:gamepad%ゲーム%fa:angle-right%
  • +
  • %fa:gamepad%%i18n:@game%%fa:angle-right%
  • -

    %i18n:@about%

    diff --git a/src/client/app/mobile/views/pages/favorites.vue b/src/client/app/mobile/views/pages/favorites.vue new file mode 100644 index 0000000000..c4edd9d970 --- /dev/null +++ b/src/client/app/mobile/views/pages/favorites.vue @@ -0,0 +1,94 @@ + + + + +