go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.33k stars 5.51k forks source link

Fold long comment #23234

Open yp05327 opened 1 year ago

yp05327 commented 1 year ago

Feature Description

User can comment long text, such as https://gitea.com/gitea/act_runner/issues/28#issuecomment-732171 Maybe it is better to add a button to fold these long comments, or just do it automatically.

Screenshots

No response

delvh commented 1 year ago

Another easy fix would be to offer an Insert Details-button for the textfield that does nothing else than inserting

<details><summary>TITLE</summary>

CONTENT
</details>

That would most likely also help drastically already without forcing things on users.

yp05327 commented 1 year ago

How about add a notice when user comment long text without using details