Skip to content

Add support for migrating GitLab comment reactions #29413

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

invliD
Copy link
Contributor

@invliD invliD commented Feb 26, 2024

Reactions (or "awards" as the Gitlab API calls them) already existed for issues and pull requests. This PR adds support for reactions on individual comments on both issues and pull requests as well, resolving an old pre-existing TODO comment.

ref: https://docs.gitlab.com/ee/api/emoji_reactions.html#list-a-comments-emoji-reactions

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 26, 2024
@invliD invliD force-pushed the gitlab-comment-reactions branch from c834fc1 to da75245 Compare February 26, 2024 06:21
@invliD invliD marked this pull request as ready for review February 26, 2024 07:29
@lunny lunny added the type/enhancement An improvement of existing functionality label Mar 2, 2024
@@ -594,7 +594,7 @@ func TestNoteToComment(t *testing.T) {
}}

for i, note := range notes {
actualComment := *downloader.convertNoteToComment(17, &note)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have some tests for reactions mirgrations?

@lunny lunny added this to the 1.24.0 milestone Dec 17, 2024
@lunny lunny mentioned this pull request Dec 17, 2024
@lunny lunny modified the milestones: 1.24.0, 1.25.0 Apr 10, 2025
@lunny lunny mentioned this pull request May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants