* Revert "Revert option to collapse long notes (#8561)"
This reverts commit 71150f21cd and reinstates
the option to collapse long notes again after they were expanded.
* fix(client): wrongly collapsed posts
* fix: don't use ref
* tweak style
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance: reusable visibility component
* rename renote tooltip component
The tooltip that is used for renotes can be used in other cases as well.
* add tooltip for specified recipients
* add changelog entry
* Update visibility.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: option to collapse long notes
Closes#8559
* do not collapse if cw exists
* use '閉じる' to close / show less.
* make it sticky
* Change style of the Show less button
* fix: emits use ev instead of e
* fix: errors use err instead of e
* fix: replace use of data where possible
* fix: events use evt instead of e
* fix: use strict equals
* fix: use emoji instead of e
* fix: vue lints
* refactor: deduplicate renote button into component
For now the renoters tooltip just uses the reaction viewer component
with a fixed emoji symbol instead.
* chore: remove unnecessary CSS
* fix: forgot to rename variable
* enhance: use own tooltip instead of reaction viewer
* clean up style
* fix additional renoters number
* rename file to better represent content