Skip to content

Post layout update#304

Merged
jwr1 merged 19 commits intomainfrom
post_layout_update
Nov 21, 2025
Merged

Post layout update#304
jwr1 merged 19 commits intomainfrom
post_layout_update

Conversation

@olorin99
Copy link
Copy Markdown
Contributor

@olorin99 olorin99 commented Nov 8, 2025

Adds setting to present posts in the feed view as cards or not. Closes #269

Separates some of the ContentItem out into smaller widgets and adds setting to allow changing the order of these widgets. Closes #208, closes #112
The reorderable widgets are as follows

  • Image
  • Title
  • Link
  • Info (community, user, is nsfw, etc)
  • Body

Also changed so when a post is a link and the image is less than 800px in width the image is treated as a thumbnail and drawn on the side of the post. Closes #214.
Not sure if 800px is the best cuttoff point for this. I chose it based on the inverse of how currently if the page width is greater than 800 it moves all images over to the right. Based on some testing 800 does seem to work fine. Smaller link images are shown on the side while the large high def images are shown in full.

@olorin99 olorin99 requested a review from jwr1 November 8, 2025 06:25
Fix reply button shown on guest account.
Copy link
Copy Markdown
Member

@jwr1 jwr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks good overall! I just had a few suggestions.

Comment thread lib/src/widgets/image.dart
Comment thread lib/src/widgets/content_item/content_item.dart
Comment thread lib/src/widgets/content_item/content_item.dart
Comment thread lib/src/screens/settings/display_screen.dart
Comment thread lib/src/screens/settings/post_layout.dart
Comment thread lib/src/widgets/content_item/content_item.dart
Comment thread lib/src/widgets/content_item/content_item.dart
Comment thread lib/src/widgets/content_item/content_item.dart
Comment thread lib/src/screens/settings/post_layout.dart
# Conflicts:
#	lib/src/controller/database.dart
#	lib/src/controller/profile.dart
#	lib/src/screens/feed/feed_screen.dart
@olorin99 olorin99 requested a review from jwr1 November 20, 2025 05:08
Comment thread lib/src/screens/settings/display_screen.dart
@jwr1
Copy link
Copy Markdown
Member

jwr1 commented Nov 20, 2025

It does appear that there is now zero top padding for comments.

image

Disable divider thickness slider when not available.
@olorin99 olorin99 requested a review from jwr1 November 21, 2025 01:01
Copy link
Copy Markdown
Member

@jwr1 jwr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jwr1 jwr1 merged commit c668674 into main Nov 21, 2025
2 checks passed
@jwr1 jwr1 deleted the post_layout_update branch November 21, 2025 14:37
@olorin99 olorin99 mentioned this pull request Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

full width view Link images small Additional post views post appearance options

2 participants