[Improvement]: Enhance post cards UI with engagement stats, content preview, and reuse functionality

Summary

The current UI for post cards under "My Posts" is minimal and lacks key insights and clarity — especially for published content. Currently, users see only basic metadata and titles, making it hard to understand post performance or even what the post contained. This is particularly limiting when posts need to be reviewed, reused, or compared.

This improvement aims to redesign the UI cards used across all post types (drafts, scheduled, published) to give users more visibility and actionable insights. The highest priority use case is for published posts, where we’ll also surface engagement data such as number of likes and comments, using data we now have via the Community and posts API.

This will significantly improve the UX, drive re-engagement with successful content, and differentiate Postline through a more insightful publishing dashboard.

Objective and solution

Redesign and upgrade the post UI cards across all views (drafts, scheduled, published) with the following improvements:

  1. Show character count of the post.
  2. Display attached media previews inline.
  3. Render an excerpt of the post content (e.g. first few lines) with a “Show more” toggle.
  4. In the "Published" section only:
  • Show number of likes and comments (pulled via API).
  • Add a "Rewrite Post" button that opens a new chat with the post preloaded and a system message: “I posted this previously. Please rewrite it with updated information, but keep it similar.”
  • Enable sorting by:
    • Date published
    • Number of likes
    • Number of comments

Tasks

  • [ ] For all post cards (draft/scheduled/published), display:
  • [ ] Attached media preview (if any)
  • [ ] Character count (e.g., "📏 248 characters")
  • [ ] First 3 lines of the post, with a “Show more” toggle for full view
  • [ ] For published posts:
  • [ ] Show number of likes and number of comments directly on the card
    • [ ] Data pulled via API
    • [ ] Optional: Refresh data manually (button) or auto-refresh weekly
  • [ ] Add sorting dropdown (or similar UX pattern) with:
    • [ ] Sort by Date Published (default)
    • [ ] Sort by Likes
    • [ ] Sort by Comments
  • [ ] Add a "Rewrite Post" button to the card:
    • [ ] Clicking opens chat with the post preloaded in editor
    • [ ] Sends system prompt: "I posted this previously. Please rewrite it with updated information, but keep it similar."

Please authenticate to join the conversation.

Upvoters
Status

In Progress

Board

💡 Feature Request

Date

2 months ago

Author

Linear

Subscribe to post

Get notified by email when there are changes.