mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 05:53:08 +02:00
Exploreページに新規ユーザー一覧を追加 (#4295)
This commit is contained in:
parent
f632ec50c1
commit
a5660d6c82
3 changed files with 16 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
||||||
ChangeLog
|
ChangeLog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
unreleased
|
||||||
|
----------
|
||||||
|
* Exploreページに新規ユーザー一覧を追加
|
||||||
|
|
||||||
10.86.2
|
10.86.2
|
||||||
----------
|
----------
|
||||||
* 別タブでルートより下を開いたときにはデッキにしないように
|
* 別タブでルートより下を開いたときにはデッキにしないように
|
||||||
|
|
|
@ -224,6 +224,7 @@ common/views/pages/explore.vue:
|
||||||
verified-users: "公式アカウント"
|
verified-users: "公式アカウント"
|
||||||
popular-users: "人気のユーザー"
|
popular-users: "人気のユーザー"
|
||||||
recently-updated-users: "最近投稿したユーザー"
|
recently-updated-users: "最近投稿したユーザー"
|
||||||
|
recently-registered-users: "新規ユーザー"
|
||||||
|
|
||||||
common/views/components/games/reversi/reversi.vue:
|
common/views/components/games/reversi/reversi.vue:
|
||||||
matching:
|
matching:
|
||||||
|
|
|
@ -9,13 +9,16 @@
|
||||||
<mk-user-list :make-promise="recentlyUpdatedUsers">
|
<mk-user-list :make-promise="recentlyUpdatedUsers">
|
||||||
<span><fa :icon="faCommentAlt"/> {{ $t('recently-updated-users') }}</span>
|
<span><fa :icon="faCommentAlt"/> {{ $t('recently-updated-users') }}</span>
|
||||||
</mk-user-list>
|
</mk-user-list>
|
||||||
|
<mk-user-list :make-promise="recentlyRegisteredUsers">
|
||||||
|
<span><fa :icon="faPlus"/> {{ $t('recently-registered-users') }}</span>
|
||||||
|
</mk-user-list>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import i18n from '../../../i18n';
|
import i18n from '../../../i18n';
|
||||||
import { faChartLine } from '@fortawesome/free-solid-svg-icons';
|
import { faChartLine, faPlus } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { faBookmark, faCommentAlt } from '@fortawesome/free-regular-svg-icons';
|
import { faBookmark, faCommentAlt } from '@fortawesome/free-regular-svg-icons';
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
|
@ -40,7 +43,13 @@ export default Vue.extend({
|
||||||
sort: '+updatedAt',
|
sort: '+updatedAt',
|
||||||
limit: 10
|
limit: 10
|
||||||
}),
|
}),
|
||||||
faBookmark, faChartLine, faCommentAlt
|
recentlyRegisteredUsers: () => this.$root.api('users', {
|
||||||
|
origin: 'local',
|
||||||
|
state: 'alive',
|
||||||
|
sort: '+createdAt',
|
||||||
|
limit: 10
|
||||||
|
}),
|
||||||
|
faBookmark, faChartLine, faCommentAlt, faPlus
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue