feat: add an option to collapse replies
What does this PR do? (Please give us a brief description of what this PR does.)
provides an option to collapse replies to make timeline more compact
collapsed replies look like this:
or with Misskey note layout:
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
- Resolved by sugar
(this is related to #532 (closed))
thank you for this!
can you compare your implementation with kopper/Sharkey@f2f947fb ?
From your screenshots, the collapsed note seems to hide a bit too much information, maybe we could show the full username? (the actual note "body", which is provided by
getNoteSummary
function, is probably good enough)minor: this is not about collapsing "replies", but collapsing the note being replied to (yes,
appearNote.reply
is a terrible name, should have probably been.inReplyTo
, but it wasn't our choice…), so could you change the text and the identifiers?Edited by dakkar
added 1 commit
- c8081472 - replace reply with inReplyTo in in-reply-to collapse code
- Resolved by dakkar
added 1 commit
- a061c6c2 - reduce margin-top for collapsed in replies to in small containers
added 1 commit
- ed8b1b8f - keep renoteCollapsed as it was before adding reply collapse
mentioned in commit a22450d4