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

Implement "Read More" Feature for Long Post Captions #183

Closed
Shruti-1910 opened this issue Jun 19, 2024 · 0 comments
Closed

Implement "Read More" Feature for Long Post Captions #183

Shruti-1910 opened this issue Jun 19, 2024 · 0 comments

Comments

@Shruti-1910
Copy link
Collaborator

Description:

Currently, when a post caption exceeds a certain length, only the first few lines are displayed. There is no indication that the caption is truncated, nor is there a provision for users to view the full caption. This can lead to confusion and incomplete understanding of the post content. The app should provide a way to indicate truncated captions and allow users to view the entire caption.

Expected Behavior:

  • When a post caption exceeds the specified length, only the first few lines should be displayed initially.
  • An indication (e.g., "...read more") should be provided to inform users that the caption is truncated.
  • Clicking on the "...read more" link should expand the caption to display the full text.

Acceptance Criteria:

1.User Interface:

  • Long captions should be truncated to the first few lines (exact length to be determined).
  • A clickable "...read more" link should appear at the end of the truncated caption to indicate that more text is available.
  • When the "...read more" link is clicked, the full caption should be displayed in place.

2.Functionality:

  • The caption should be truncated dynamically based on the specified length limit.
  • The "...read more" link should expand the caption to show the full text without reloading the page.
  • The expanded caption should seamlessly integrate with the rest of the post content.
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

No branches or pull requests

2 participants