feat: show compact posts (#22)

Add a new UI setting for showing compact posts:

- Show a small thumbnail to the right of the metadata and title if a
  thumbnail is available or if the post is an image
- Do not show normal thumbnail or text bodies.
This commit is contained in:
Peter Bui authored and GitHub committed 2023-07-26 10:32:04 -07:00
1 parent d696e2ee00
commit e028113ab0
3 files changed
+79 -43

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ interface Settings {
instance?: string
revertColors: boolean
showInstance: boolean
showCompactPosts: boolean
defaultSort: {
sort: 'Hot' | 'TopAll' | 'Active' | 'New'
feed: 'All' | 'Subscribed' | 'Local'
@@ -19,6 +20,7 @@ const defaultSettings: Settings = {
markReadPosts: true,
revertColors: false,
showInstance: false,
showCompactPosts: false,
defaultSort: {
sort: 'Active',
feed: 'Local',