diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 23:05:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 23:05:41 +0900 |
| commit | 87d3a06dcd6a76120789c050dd6a0c7111bf7224 (patch) | |
| tree | ec0035b3284c30459033e97fbdc986b5cb5cf430 /src/client | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.tar.gz sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.tar.bz2 sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.zip | |
revert rename
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/deck/deck.column-core.vue | 2 | ||||
| -rw-r--r-- | src/client/app/common/views/deck/deck.tl-column.vue | 4 | ||||
| -rw-r--r-- | src/client/app/common/views/deck/deck.tl.vue | 6 | ||||
| -rw-r--r-- | src/client/app/common/views/deck/deck.vue | 6 | ||||
| -rw-r--r-- | src/client/app/desktop/views/home/timeline.core.vue | 6 | ||||
| -rw-r--r-- | src/client/app/desktop/views/home/timeline.vue | 6 | ||||
| -rw-r--r-- | src/client/app/mobile/views/pages/home.timeline.vue | 6 | ||||
| -rw-r--r-- | src/client/app/mobile/views/pages/home.vue | 10 |
8 files changed, 23 insertions, 23 deletions
diff --git a/src/client/app/common/views/deck/deck.column-core.vue b/src/client/app/common/views/deck/deck.column-core.vue index e3f92dea16..974c58235d 100644 --- a/src/client/app/common/views/deck/deck.column-core.vue +++ b/src/client/app/common/views/deck/deck.column-core.vue @@ -3,7 +3,7 @@ <x-notifications-column v-else-if="column.type == 'notifications'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> <x-tl-column v-else-if="column.type == 'home'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> <x-tl-column v-else-if="column.type == 'local'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> -<x-tl-column v-else-if="column.type == 'social'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> +<x-tl-column v-else-if="column.type == 'hybrid'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> <x-tl-column v-else-if="column.type == 'global'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> <x-tl-column v-else-if="column.type == 'list'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> <x-tl-column v-else-if="column.type == 'hashtag'" :column="column" :is-stacked="isStacked" v-on="$listeners"/> diff --git a/src/client/app/common/views/deck/deck.tl-column.vue b/src/client/app/common/views/deck/deck.tl-column.vue index f6a9ee5286..5ab8ccb12f 100644 --- a/src/client/app/common/views/deck/deck.tl-column.vue +++ b/src/client/app/common/views/deck/deck.tl-column.vue @@ -3,7 +3,7 @@ <template #header> <fa v-if="column.type == 'home'" icon="home"/> <fa v-if="column.type == 'local'" :icon="['far', 'comments']"/> - <fa v-if="column.type == 'social'" icon="share-alt"/> + <fa v-if="column.type == 'hybrid'" icon="share-alt"/> <fa v-if="column.type == 'global'" icon="globe"/> <fa v-if="column.type == 'list'" icon="list"/> <fa v-if="column.type == 'hashtag'" icon="hashtag"/> @@ -80,7 +80,7 @@ export default Vue.extend({ switch (this.column.type) { case 'home': return this.$t('@deck.home'); case 'local': return this.$t('@deck.local'); - case 'social': return this.$t('@deck.social'); + case 'hybrid': return this.$t('@deck.hybrid'); case 'global': return this.$t('@deck.global'); case 'list': return this.column.list.name; case 'hashtag': return this.$store.state.settings.tagTimelines.find(x => x.id == this.column.tagTlId).title; diff --git a/src/client/app/common/views/deck/deck.tl.vue b/src/client/app/common/views/deck/deck.tl.vue index 83fc149a03..9284f06ee1 100644 --- a/src/client/app/common/views/deck/deck.tl.vue +++ b/src/client/app/common/views/deck/deck.tl.vue @@ -51,7 +51,7 @@ export default Vue.extend({ switch (this.src) { case 'home': return this.$root.stream.useSharedConnection('homeTimeline'); case 'local': return this.$root.stream.useSharedConnection('localTimeline'); - case 'social': return this.$root.stream.useSharedConnection('socialTimeline'); + case 'hybrid': return this.$root.stream.useSharedConnection('hybridTimeline'); case 'global': return this.$root.stream.useSharedConnection('globalTimeline'); } }, @@ -60,7 +60,7 @@ export default Vue.extend({ switch (this.src) { case 'home': return 'notes/timeline'; case 'local': return 'notes/local-timeline'; - case 'social': return 'notes/social-timeline'; + case 'hybrid': return 'notes/hybrid-timeline'; case 'global': return 'notes/global-timeline'; } }, @@ -107,7 +107,7 @@ export default Vue.extend({ this.$root.getMeta().then(meta => { this.disabled = !this.$store.state.i.isModerator && !this.$store.state.i.isAdmin && ( - meta.disableLocalTimeline && ['local', 'social'].includes(this.src) || + meta.disableLocalTimeline && ['local', 'hybrid'].includes(this.src) || meta.disableGlobalTimeline && ['global'].includes(this.src)); }); }, diff --git a/src/client/app/common/views/deck/deck.vue b/src/client/app/common/views/deck/deck.vue index a1bef84008..b46f2167ad 100644 --- a/src/client/app/common/views/deck/deck.vue +++ b/src/client/app/common/views/deck/deck.vue @@ -145,11 +145,11 @@ export default Vue.extend({ } }, { icon: 'share-alt', - text: this.$t('@deck.social'), + text: this.$t('@deck.hybrid'), action: () => { this.$store.commit('device/addDeckColumn', { id: uuid(), - type: 'social' + type: 'hybrid' }); } }, { @@ -302,7 +302,7 @@ export default Vue.extend({ isTlColumn(id) { const column = this.columns.find(c => c.id === id); - return ['home', 'local', 'social', 'global', 'list', 'hashtag', 'mentions', 'direct'].includes(column.type); + return ['home', 'local', 'hybrid', 'global', 'list', 'hashtag', 'mentions', 'direct'].includes(column.type); } } }); diff --git a/src/client/app/desktop/views/home/timeline.core.vue b/src/client/app/desktop/views/home/timeline.core.vue index 934b1aa787..12806365d4 100644 --- a/src/client/app/desktop/views/home/timeline.core.vue +++ b/src/client/app/desktop/views/home/timeline.core.vue @@ -77,9 +77,9 @@ export default Vue.extend({ this.endpoint = 'notes/local-timeline'; this.connection = this.$root.stream.useSharedConnection('localTimeline'); this.connection.on('note', prepend); - } else if (this.src == 'social') { - this.endpoint = 'notes/social-timeline'; - this.connection = this.$root.stream.useSharedConnection('socialTimeline'); + } else if (this.src == 'hybrid') { + this.endpoint = 'notes/hybrid-timeline'; + this.connection = this.$root.stream.useSharedConnection('hybridTimeline'); this.connection.on('note', prepend); } else if (this.src == 'global') { this.endpoint = 'notes/global-timeline'; diff --git a/src/client/app/desktop/views/home/timeline.vue b/src/client/app/desktop/views/home/timeline.vue index ccd55d1d7a..f257f1fa97 100644 --- a/src/client/app/desktop/views/home/timeline.vue +++ b/src/client/app/desktop/views/home/timeline.vue @@ -6,7 +6,7 @@ <header class="zahtxcqi"> <span :data-active="src == 'home'" @click="src = 'home'"><fa icon="home"/> {{ $t('home') }}</span> <span :data-active="src == 'local'" @click="src = 'local'" v-if="enableLocalTimeline"><fa :icon="['far', 'comments']"/> {{ $t('local') }}</span> - <span :data-active="src == 'social'" @click="src = 'social'" v-if="enableLocalTimeline"><fa icon="share-alt"/> {{ $t('social') }}</span> + <span :data-active="src == 'hybrid'" @click="src = 'hybrid'" v-if="enableLocalTimeline"><fa icon="share-alt"/> {{ $t('hybrid') }}</span> <span :data-active="src == 'global'" @click="src = 'global'" v-if="enableGlobalTimeline"><fa icon="globe"/> {{ $t('global') }}</span> <span :data-active="src == 'tag'" @click="src = 'tag'" v-if="tagTl"><fa icon="hashtag"/> {{ tagTl.title }}</span> <span :data-active="src == 'list'" @click="src = 'list'" v-if="list"><fa icon="list"/> {{ list.name }}</span> @@ -78,7 +78,7 @@ export default Vue.extend({ ) && this.src === 'global') this.src = 'local'; if (!( this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin - ) && ['local', 'social'].includes(this.src)) this.src = 'home'; + ) && ['local', 'hybrid'].includes(this.src)) this.src = 'home'; }); if (this.$store.state.device.tl) { @@ -89,7 +89,7 @@ export default Vue.extend({ this.tagTl = this.$store.state.device.tl.arg; } } else if (this.$store.state.i.followingCount == 0) { - this.src = 'social'; + this.src = 'hybrid'; } }, diff --git a/src/client/app/mobile/views/pages/home.timeline.vue b/src/client/app/mobile/views/pages/home.timeline.vue index 36aea1ffcd..809158dd29 100644 --- a/src/client/app/mobile/views/pages/home.timeline.vue +++ b/src/client/app/mobile/views/pages/home.timeline.vue @@ -78,9 +78,9 @@ export default Vue.extend({ this.endpoint = 'notes/local-timeline'; this.connection = this.$root.stream.useSharedConnection('localTimeline'); this.connection.on('note', prepend); - } else if (this.src == 'social') { - this.endpoint = 'notes/social-timeline'; - this.connection = this.$root.stream.useSharedConnection('socialTimeline'); + } else if (this.src == 'hybrid') { + this.endpoint = 'notes/hybrid-timeline'; + this.connection = this.$root.stream.useSharedConnection('hybridTimeline'); this.connection.on('note', prepend); } else if (this.src == 'global') { this.endpoint = 'notes/global-timeline'; diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue index 7e39441996..cf15670f3f 100644 --- a/src/client/app/mobile/views/pages/home.vue +++ b/src/client/app/mobile/views/pages/home.vue @@ -5,7 +5,7 @@ <span :class="$style.title"> <span v-if="src == 'home'"><fa icon="home"/>{{ $t('home') }}</span> <span v-if="src == 'local'"><fa :icon="['far', 'comments']"/>{{ $t('local') }}</span> - <span v-if="src == 'social'"><fa icon="share-alt"/>{{ $t('social') }}</span> + <span v-if="src == 'hybrid'"><fa icon="share-alt"/>{{ $t('hybrid') }}</span> <span v-if="src == 'global'"><fa icon="globe"/>{{ $t('global') }}</span> <span v-if="src == 'mentions'"><fa icon="at"/>{{ $t('mentions') }}</span> <span v-if="src == 'messages'"><fa :icon="['far', 'envelope']"/>{{ $t('messages') }}</span> @@ -32,7 +32,7 @@ <div> <span :data-active="src == 'home'" @click="src = 'home'"><fa icon="home"/> {{ $t('home') }}</span> <span :data-active="src == 'local'" @click="src = 'local'" v-if="enableLocalTimeline"><fa :icon="['far', 'comments']"/> {{ $t('local') }}</span> - <span :data-active="src == 'social'" @click="src = 'social'" v-if="enableLocalTimeline"><fa icon="share-alt"/> {{ $t('social') }}</span> + <span :data-active="src == 'hybrid'" @click="src = 'hybrid'" v-if="enableLocalTimeline"><fa icon="share-alt"/> {{ $t('hybrid') }}</span> <span :data-active="src == 'global'" @click="src = 'global'" v-if="enableGlobalTimeline"><fa icon="globe"/> {{ $t('global') }}</span> <div class="hr"></div> <span :data-active="src == 'mentions'" @click="src = 'mentions'"><fa icon="at"/> {{ $t('mentions') }}<i class="badge" v-if="$store.state.i.hasUnreadMentions"><fa icon="circle"/></i></span> @@ -50,7 +50,7 @@ <div class="tl"> <x-tl v-if="src == 'home'" ref="tl" key="home" src="home"/> <x-tl v-if="src == 'local'" ref="tl" key="local" src="local"/> - <x-tl v-if="src == 'social'" ref="tl" key="social" src="social"/> + <x-tl v-if="src == 'hybrid'" ref="tl" key="hybrid" src="hybrid"/> <x-tl v-if="src == 'global'" ref="tl" key="global" src="global"/> <x-tl v-if="src == 'mentions'" ref="tl" key="mentions" src="mentions"/> <x-tl v-if="src == 'messages'" ref="tl" key="messages" src="messages"/> @@ -120,7 +120,7 @@ export default Vue.extend({ ) && this.src === 'global') this.src = 'local'; if (!( this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin - ) && ['local', 'social'].includes(this.src)) this.src = 'home'; + ) && ['local', 'hybrid'].includes(this.src)) this.src = 'home'; }); if (this.$store.state.device.tl) { @@ -131,7 +131,7 @@ export default Vue.extend({ this.tagTl = this.$store.state.device.tl.arg; } } else if (this.$store.state.i.followingCount == 0) { - this.src = 'social'; + this.src = 'hybrid'; } }, |