-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/condensed post body #994
Feature/condensed post body #994
Conversation
Thanks for this, this is really cool! I just have one discussion about architecture for this. Since we're starting to add new views to the post body, I'm thinking this is a good chance to make the setting as adaptable as possible to any potential future post view types. Instead of using Then, we can store an enum value (e.g., I know I used |
Great idea! All done! setting_refactor.mp4 |
44ef10d
to
6553d10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for changing it :D
I'll hold off on merging this until I get the 0.2.7 general release out
Pull Request Description
This PR introduces a new view type for post bodies. Inspired by Relay, this allows the post body to be condensed, meaning that any link or image previews will remain as a small thumbnail on the side. Text posts are still fully expanded (and collapsible).
The use case here is that you've already viewed the image/link from the main feed, so now you want to jump right to the comments. Seeing the full image again is often unnecessary.
Note
I removed the duplicate "Show Cross Posts" setting from the General page, and made a new section on the Appearance > Posts page for post body settings.
Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
qemu-system-x86_64_mGcC5dkilz.mp4
Checklist
semanticLabel
s where applicable for accessibility?