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

[Feature request] "Read more" button for long post #2860

Open
lazzzis opened this issue May 3, 2024 · 1 comment
Open

[Feature request] "Read more" button for long post #2860

lazzzis opened this issue May 3, 2024 · 1 comment
Labels
c: feature Request for new feature

Comments

@lazzzis
Copy link
Contributor

lazzzis commented May 3, 2024

Some mastodon instances allow a long post, whose character limit can be over 5000. Request to add a "read more" / "show more" button in this case.

test post

examples:
Screenshot 2024-05-02 at 5 44 51 PM

Screenshot 2024-05-02 at 5 46 50 PM

Code references:

mastodon:

https://github.com/mastodon/mastodon/blob/4b2054ee57b41c304f85eab6236baebe0b732d95/app/javascript/mastodon/components/status_content.jsx#L135-L139

misskey:

https://github.com/misskey-dev/misskey/blob/c530a46e547791b22ecf12fe1b9e952f7df0a58c/packages/frontend/src/components/MkContainer.vue#L89-L94

@lazzzis lazzzis added the s: pending triage Pending Triage label May 3, 2024
Copy link

stackblitz bot commented May 3, 2024

Solve in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@shuuji3 shuuji3 added c: feature Request for new feature and removed s: pending triage Pending Triage labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: feature Request for new feature
Projects
None yet
Development

No branches or pull requests

2 participants