mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 17:23:03 +00:00
wip
This commit is contained in:
parent
204d4dfe31
commit
e4120e930c
3 changed files with 9 additions and 4 deletions
|
@ -10,15 +10,15 @@
|
|||
<option value="calendar">カレンダー</option>
|
||||
<option value="timemachine">カレンダー(タイムマシン)</option>
|
||||
<option value="activity">アクティビティ</option>
|
||||
<option value="rss-reader">RSSリーダー</option>
|
||||
<option value="rss">RSSリーダー</option>
|
||||
<option value="trends">トレンド</option>
|
||||
<option value="photo-stream">フォトストリーム</option>
|
||||
<option value="slideshow">スライドショー</option>
|
||||
<option value="version">バージョン</option>
|
||||
<option value="broadcast">ブロードキャスト</option>
|
||||
<option value="notifications">通知</option>
|
||||
<option value="user-recommendation">おすすめユーザー</option>
|
||||
<option value="recommended-polls">投票</option>
|
||||
<option value="users">おすすめユーザー</option>
|
||||
<option value="polls">投票</option>
|
||||
<option value="post-form">投稿フォーム</option>
|
||||
<option value="messaging">メッセージ</option>
|
||||
<option value="channel">チャンネル</option>
|
||||
|
|
|
@ -59,6 +59,7 @@ export default Vue.extend({
|
|||
}).then(posts => {
|
||||
this.posts = posts;
|
||||
this.fetching = false;
|
||||
this.$emit('loaded');
|
||||
if (cb) cb();
|
||||
});
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<mk-ui>
|
||||
<mk-home :mode="mode"/>
|
||||
<mk-home :mode="mode" @loaded="loaded"/>
|
||||
</mk-ui>
|
||||
</template>
|
||||
|
||||
|
@ -40,6 +40,10 @@ export default Vue.extend({
|
|||
document.removeEventListener('visibilitychange', this.onVisibilitychange);
|
||||
},
|
||||
methods: {
|
||||
loaded() {
|
||||
Progress.done();
|
||||
},
|
||||
|
||||
onStreamPost(post) {
|
||||
if (document.hidden && post.user_id != (this as any).os.i.id) {
|
||||
this.unreadCount++;
|
||||
|
|
Loading…
Reference in a new issue