diff --git a/routes/_actions/timeline.js b/routes/_actions/timeline.js index 2bdce46..176ef3a 100644 --- a/routes/_actions/timeline.js +++ b/routes/_actions/timeline.js @@ -66,19 +66,6 @@ async function fetchTimelineItemsAndPossiblyFallBack () { stop('fetchTimelineItemsAndPossiblyFallBack') } -export function initializeTimeline () { - mark('initializeTimeline') - let instanceName = store.get('currentInstance') - let timeline = store.get('currentTimeline') - requestAnimationFrame(() => { - requestAnimationFrame(() => { - console.log('initialized') - store.setForTimeline(instanceName, timeline, {initialized: true}) - }) - }) - stop('initializeTimeline') -} - export async function setupTimeline () { mark('setupTimeline') // If we don't have any item ids, or if the current item ids are stale diff --git a/routes/_components/TimelineHomePage.html b/routes/_components/TimelineHomePage.html new file mode 100644 index 0000000..2608577 --- /dev/null +++ b/routes/_components/TimelineHomePage.html @@ -0,0 +1,54 @@ + +
+ {{#if hidePage}} + + {{/if}} + {{#if $currentVerifyCredentials }} +
+ + \ No newline at end of file diff --git a/routes/_components/TimelinePage.html b/routes/_components/TimelinePage.html new file mode 100644 index 0000000..de9a7f6 --- /dev/null +++ b/routes/_components/TimelinePage.html @@ -0,0 +1,47 @@ +
+ {{#if hidePage}} + + {{/if}} +
+ +
+
+ {{#if !hidePage && hideTimeline}} + + {{/if}} +
+ +
+
+
+ + \ No newline at end of file diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html index 0615d60..5778228 100644 --- a/routes/_components/compose/ComposeBox.html +++ b/routes/_components/compose/ComposeBox.html @@ -1,4 +1,4 @@ -
+
{{#if contentWarningShown}}
-
-
+
+
-
+
\ No newline at end of file diff --git a/routes/_components/virtualList/VirtualList.html b/routes/_components/virtualList/VirtualList.html index 3257a6a..1e4f6d0 100644 --- a/routes/_components/virtualList/VirtualList.html +++ b/routes/_components/virtualList/VirtualList.html @@ -1,5 +1,5 @@ - -
+
@@ -21,7 +21,6 @@ \ No newline at end of file diff --git a/routes/_pages/lists/[listId].html b/routes/_pages/lists/[listId].html index 7006ead..c6078a0 100644 --- a/routes/_pages/lists/[listId].html +++ b/routes/_pages/lists/[listId].html @@ -1,19 +1,20 @@ {{#if $isUserLoggedIn}} -{{#if $pinnedPage !== `/lists/${params.listId}`}} - -{{/if}} - + + {{#if $pinnedPage !== `/lists/${params.listId}`}} + + {{/if}} + {{else}} - - -

List

+ + +

List

-

A list will appear here when logged in.

-
-
+

A list will appear here when logged in.

+
+
{{/if}} \ No newline at end of file diff --git a/routes/_pages/statuses/[statusId]/index.html b/routes/_pages/statuses/[statusId]/index.html index c9435ae..725cbf3 100644 --- a/routes/_pages/statuses/[statusId]/index.html +++ b/routes/_pages/statuses/[statusId]/index.html @@ -1,29 +1,30 @@ {{#if $isUserLoggedIn}} - - + + + {{else}} - - -

Status

+ + +

Status

-

A status thread will appear here when logged in.

-
-
+

A status thread will appear here when logged in.

+
+
{{/if}} \ No newline at end of file diff --git a/routes/_pages/tags/[tagName].html b/routes/_pages/tags/[tagName].html index 378101d..f6aacdd 100644 --- a/routes/_pages/tags/[tagName].html +++ b/routes/_pages/tags/[tagName].html @@ -1,17 +1,18 @@ {{#if $isUserLoggedIn}} - - + + + {{else}} - - -

#{{params.tagName}}

+ + +

#{{params.tagName}}

-

A hashtag timeline will appear here when logged in.

-
-
+

A hashtag timeline will appear here when logged in.

+
+
{{/if}}