matrix-org / matrix-org/matrix-hookshot

Option to configure `<details>` for commit lists

Open
#328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GitHub GitLab T-Enhancement
Dominant language
TypeScript
Stars
450
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
23

Description

**Is your feature request related to a problem? Please describe.**
When an instance is configured to receive push hooks, it includes commit lists.
It might be desirable to be able to display the commit messages in matrix, but collapse them by default.

**Describe the solution you'd like**
Put the push hook summary into `` and the list of commits into ``
Similar to
![](https://user-images.githubusercontent.com/2803622/163999599-c2dca1d1-e851-413f-8351-ad6ce0de2e94.png)

This is a simple option that requires very little code and should be well maintainable.

Applies to GitHub and GitLab

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the TypeScript code for GitHub and GitLab push-hook commit-list rendering; the issue names no file or test. Confirm how the hook summary and commit messages are currently formatted, then verify the requested configurable output places the summary in and commits in collapsible for both integrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.