revert: timeline for non-logged in users

This commit is contained in:
ThatOneCalculator 2022-08-09 19:52:07 -07:00
parent 739d8a7b24
commit b8db50567c
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)
- 👍 also triggers generic like/favorite
- [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)
- Many changes from [Foundkey](https://akkoma.dev/FoundKeyGang/Foundkey)
- 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,
src: newSrc,
});
logoutSrc = newSrc ;
}
async function timetravel(): Promise<void> {
@ -121,12 +120,7 @@ const headerActions = $computed(() => [{
title: i18n.ts.antennas,
iconOnly: true,
handler: chooseAntenna,
}, /* {
icon: 'fas fa-satellite-dish',
title: i18n.ts.channel,
iconOnly: true,
handler: chooseChannel,
}, */ {
}, {
icon: 'fas fa-calendar-alt',
title: i18n.ts.jumpToSpecifiedDate,
iconOnly: true,
@ -150,36 +144,18 @@ const headerTabs = $computed(() => [{
icon: 'fas fa-signs-post',
iconOnly: true,
}] : []),
...(isLocalTimelineAvailable ? [{
...(isLocalTimelineAvailable ? [{
key: 'social',
title: i18n.ts._timelines.social,
icon: 'fas fa-handshake-simple',
iconOnly: true,
loginRequired: true,
}] : []), ...(isGlobalTimelineAvailable ? [{
}] : []),
...(isGlobalTimelineAvailable ? [{
key: 'global',
title: i18n.ts._timelines.global,
icon: 'fas fa-globe',
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(() => ({
title: i18n.ts.timeline,