Truncate extension descriptions

This is for #8216.

- [ ] Code to toggle between original and truncated description
- [ ] Visual review
- [ ] Code review
This may be a very good reason to slightly refactor `truncateDescription` to make it more generic and move it to `StringUtils` or something like that.