mattermost / mattermost/mattermost-plugin-gitlab
Deleted tag notification shows hyperlinked tag name
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 152
- Forks
- 97
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 8
Description
When a GitLab tag is deleted, the Mattermost GitLab plugin sends a notification. The deleted tag name appears as a hyperlink, but clicking it leads to a 404 in GitLab since the tag no longer exists. For deleted tag events, the tag name should not be hyperlinked only created tag events should link to the tag.
Sreps to Reproduce:-
- Connect GitLab with Mattermost using the GitLab plugin.
- Subscribe to a GitLab repository in a Mattermost channel.
- In GitLab, delete an existing tag from the repository.
- Observe the Mattermost notification.
Expected Behavior:
The deleted tag name should be displayed as plain text (not a hyperlink).
Actual Behavior:
- The deleted tag name is shown as a hyperlink.
- Clicking the link redirects to a 404 Not Found page in GitLab.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GitLab plugin's tag event notification handling, focusing on how deleted and created tag events build their messages. Reproduce the deleted-tag notification and verify that deleted tag names are plain text while created tag names remain linked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100