Skip to content
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

Added option to collapse post body #888

Merged
merged 4 commits into from
Nov 21, 2023
Merged

Added option to collapse post body #888

merged 4 commits into from
Nov 21, 2023

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Nov 12, 2023

Pull Request Description

This PR adds the ability to collapse a post body when in the Post page. If there are any images present, it will hide the images when the post is collapsed.

For any body text, it will collapse it and provide a small preview of the body. Additionally, when the post preview is tapped, it will also toggle the preview.

Review with whitespace off.

Issue Being Fixed

Issue Number: #114

Screenshots / Recordings

1ea0a8b0-a2be-4e45-ba51-5659bc3b90a9.mp4

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

@hjiangsu hjiangsu changed the base branch from develop to 0.2.7 November 21, 2023 01:52
@hjiangsu hjiangsu merged commit df20a53 into 0.2.7 Nov 21, 2023
@hjiangsu hjiangsu deleted the feature/collapse-post branch November 21, 2023 02:12
hjiangsu added a commit that referenced this pull request Nov 23, 2023
* Migration of textScaleFactor to textScaler (#830)

* migration of to be deprecated textScalingFactor, and a lot of linter fixes

* added ScalableText to missing instance

* linting

* Added option to collapse post body (#888)

* added option to collapse a post in the post view

* added ability to tap on post preview to expand post, linting

* moved changelog to proper place
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.

1 participant