diff --git a/README.md b/README.md index 9eb94853..8b6e47af 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Modern material design for Invidious - Integrates with Invidious subscriptions, watch history & more. - Live stream support. - Dash support (WIP). -- PWA support. +- Chapters. ## Todo - Port to [vidstack](https://www.vidstack.io/) once dash is supported. @@ -24,11 +24,11 @@ Modern material design for Invidious - Add different search filters. - Playlist support. - History deletion. -- Comment replies. - Load more for comments, history, subscriptions & search results. - Editing used instance for Return Dislikes & Sponsorblock. - Allow disabling Return Dislikes. - Audio only mode. +- PWA support. ## Previews ![Preview of player](./previews/player-preview.png) diff --git a/materialious/src/lib/Comment.svelte b/materialious/src/lib/Comment.svelte new file mode 100644 index 00000000..778cb09c --- /dev/null +++ b/materialious/src/lib/Comment.svelte @@ -0,0 +1,95 @@ + + +
+ comment profile +
+
+

+ {comment.author} + {comment.publishedText} +

+ {#if comment.isPinned} + push_pin + {/if} + {#if comment.isEdited} + edit + {/if} +
+

+ {comment.content} +

+
+

thumb_up {numberWithCommas(comment.likeCount)}

+ {#if comment.creatorHeart} +
+ Creator profile + favorite +
+ {/if} +
+ + {#if replies} + {#each replies.comments as reply} + + {/each} + {/if} + + {#if comment.replies && !replies} + + {/if} +
+
+ + diff --git a/materialious/src/routes/watch/[slug]/+page.svelte b/materialious/src/routes/watch/[slug]/+page.svelte index bd5a8fa4..7a944386 100644 --- a/materialious/src/routes/watch/[slug]/+page.svelte +++ b/materialious/src/routes/watch/[slug]/+page.svelte @@ -1,5 +1,6 @@