damus icon indicating copy to clipboard operation
damus copied to clipboard

Read More (long notes) [Feature Request][Enhancement]

Open alltheseas opened this issue 2 years ago • 7 comments

User Story

As a pleb Damus user who is looking to manage my signal/noise ratio on Damus, I would like Damus to automatically cut-off notes over a certain character limit (for instance, 280, or 140), AND I would like the capability to click on "Read More", so that I can only obtain additional information where I am interested.

Acceptance Criteria

  1. Damus cuts off notes over ~280~ 140 characters in length, and
  2. Damus provides capability for Damus user to click "Read More", and where
  3. By clicking on "Read More" the note text is expanded beyond ~280~ 140 characters.
  4. Damus user has capability to click on "Read Less" after clicking on "Read More" button to compress text.

Sample implementations https://medium.com/@sdkcodes/quick-vue-how-to-implement-read-more-feature-a116b1ba48a8 https://www.w3schools.com/howto/howto_js_read_more.asp

https://damus.io/note1d49rlunaznlnttln8xv5709ymcz54yraakkffs50vcn7pxl5ty4qgs4hdt h/t Shap npub18ax5a5qcdjrvcl0f7ehlfxhy25wrz2n597ugtgqwlyak2l2v2utselzgh0

alltheseas avatar Jan 26 '23 19:01 alltheseas

image

@jb55 @tyiu got some user feedback on the long notes feature request

alltheseas avatar Feb 01 '23 19:02 alltheseas

"@Will 🔮⚡️ pls can you implement feature to reduce the long notes thank you 😂🫣" -yegorpetrov https://damus.io/note1zh6x3spdexvg2sz5k5zd5tuqwfvzuz4t9k24khm8tlw6f3258h9qqmvp7n

alltheseas avatar Feb 06 '23 14:02 alltheseas

@OlegAba saw you had a long thread loading performance PR https://github.com/damus-io/damus/pull/679. Does Read More feature fit into improving loading performance of long threads?

alltheseas avatar Feb 23 '23 19:02 alltheseas

My PR does not implement the read more feature if that's what you're asking.

OlegAba avatar Feb 23 '23 22:02 OlegAba

My PR does not implement the read more feature if that's what you're asking.

👍 Would you be interested in taking on the read more feature in a subsequent PR?

alltheseas avatar Feb 23 '23 22:02 alltheseas

@alltheseas working on this now

OlegAba avatar Mar 01 '23 01:03 OlegAba

@alltheseas working on this now

🚀

alltheseas avatar Mar 01 '23 02:03 alltheseas

✅ Damus cuts off notes over 280 140 characters in length, and ✅ Damus provides capability for Damus user to click "Read More", and where ✅ By clicking on "Read More" the note text is expanded beyond 280 140 characters.

  • Damus user has capability to click on "Read Less" after clicking on "Read More" button to compress text.

alltheseas avatar Mar 03 '23 04:03 alltheseas