revert: timeline for non-logged in users

This commit is contained in:
ThatOneCalculator 2022-08-09 19:52:07 -07:00
parent 68b628628a
commit cd803fd199
2 changed files with 5 additions and 30 deletions

View File

@ -67,7 +67,6 @@
- [Star is generic like/favorite](https://github.com/JakeMBauer/Misskey-Extras/blob/master/patches/star-is-like.patch) - [Star is generic like/favorite](https://github.com/JakeMBauer/Misskey-Extras/blob/master/patches/star-is-like.patch)
- 👍 also triggers generic like/favorite - 👍 also triggers generic like/favorite
- [Add additional background for acrylic popups if backdrop-filter is unsupported](https://github.com/misskey-dev/misskey/pull/8671) - [Add additional background for acrylic popups if backdrop-filter is unsupported](https://github.com/misskey-dev/misskey/pull/8671)
- [Timeline page for non-login users](https://github.com/misskey-dev/misskey/pull/8927)
- [Add parameters to MFM rotate](https://github.com/misskey-dev/misskey/pull/8549) - [Add parameters to MFM rotate](https://github.com/misskey-dev/misskey/pull/8549)
- Many changes from [Foundkey](https://akkoma.dev/FoundKeyGang/Foundkey) - Many changes from [Foundkey](https://akkoma.dev/FoundKeyGang/Foundkey)
- 0ece67b04c3f0365057624c1068808276ccab981: refactor pages/auth.form.vue to composition API - 0ece67b04c3f0365057624c1068808276ccab981: refactor pages/auth.form.vue to composition API

View File

@ -95,7 +95,6 @@ function saveSrc(newSrc: 'home' | 'local' | 'social' | 'global'): void {
...defaultStore.state.tl, ...defaultStore.state.tl,
src: newSrc, src: newSrc,
}); });
logoutSrc = newSrc ;
} }
async function timetravel(): Promise<void> { async function timetravel(): Promise<void> {
@ -121,12 +120,7 @@ const headerActions = $computed(() => [{
title: i18n.ts.antennas, title: i18n.ts.antennas,
iconOnly: true, iconOnly: true,
handler: chooseAntenna, handler: chooseAntenna,
}, /* { }, {
icon: 'fas fa-satellite-dish',
title: i18n.ts.channel,
iconOnly: true,
handler: chooseChannel,
}, */ {
icon: 'fas fa-calendar-alt', icon: 'fas fa-calendar-alt',
title: i18n.ts.jumpToSpecifiedDate, title: i18n.ts.jumpToSpecifiedDate,
iconOnly: true, iconOnly: true,
@ -150,36 +144,18 @@ const headerTabs = $computed(() => [{
icon: 'fas fa-signs-post', icon: 'fas fa-signs-post',
iconOnly: true, iconOnly: true,
}] : []), }] : []),
...(isLocalTimelineAvailable ? [{ ...(isLocalTimelineAvailable ? [{
key: 'social', key: 'social',
title: i18n.ts._timelines.social, title: i18n.ts._timelines.social,
icon: 'fas fa-handshake-simple', icon: 'fas fa-handshake-simple',
iconOnly: true, iconOnly: true,
loginRequired: true, }] : []),
}] : []), ...(isGlobalTimelineAvailable ? [{ ...(isGlobalTimelineAvailable ? [{
key: 'global', key: 'global',
title: i18n.ts._timelines.global, title: i18n.ts._timelines.global,
icon: 'fas fa-globe', icon: 'fas fa-globe',
iconOnly: true, iconOnly: true,
}] : []), { }] : [])]);
icon: 'fas fa-list-ul',
title: i18n.ts.lists,
iconOnly: true,
loginRequired: true,
onClick: chooseList,
}, {
icon: 'fas fa-satellite',
title: i18n.ts.antennas,
iconOnly: true,
loginRequired: true,
onClick: chooseAntenna,
}, {
icon: 'fas fa-satellite-dish',
title: i18n.ts.channel,
iconOnly: true,
loginRequired: true,
onClick: chooseChannel,
}]);
definePageMetadata(computed(() => ({ definePageMetadata(computed(() => ({
title: i18n.ts.timeline, title: i18n.ts.timeline,