Skip to content
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

Bug 1916929 - Prevent emoji reactions on old, closed bugs #2313

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

kyoshino
Copy link
Collaborator

@kyoshino kyoshino commented Sep 5, 2024

Bug 1916929 - Prevent emoji reactions on old, closed bugs

Compare cf_last_resolved and the current timestamp to see if comment reactions are accepted. If not, hide the emoji picker button and raise an error in case the API is used.

Not sure if we could test this time lapse thing but you can test it by changing months => 3 to minutes => 1 😅

@dklawren dklawren merged commit 5c53f75 into mozilla-bteam:master Sep 6, 2024
17 checks passed
@kyoshino kyoshino deleted the 1916929-reactions-closed branch September 6, 2024 01:43
@kyoshino
Copy link
Collaborator Author

kyoshino commented Sep 6, 2024

@dklawren Thanks for all the reviews 🙌🏼

@dklawren
Copy link
Collaborator

dklawren commented Sep 6, 2024

@dklawren Thanks for all the reviews 🙌🏼

Thanks for the fast turnaround on the fixes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants