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

[CORL-3012]: New commenter badge #4571

Merged
merged 12 commits into from
Mar 15, 2024
Merged

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Mar 11, 2024

What does this PR do?

These changes add a New commenter plant icon badge next to a commenter's username in the stream when they have joined Coral within the last seven days. It also shows a plant icon badge next to their username in the user history drawer. Also there is a configuration for the new commenter feature in the admin.

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

It adds newCommenter to settings and newCommenter to a user as well.

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

Sign up a new user. Comment. See the plant icon with tooltip next to their username in the stream. See the plant icon with tooltip next to their username in the user history drawer. Disable the new commenter feature. See that the plant icon shows.

Also check that users who have joined greater than seven days ago do not have the plant icon + tooltip.

Were any tests migrated to React Testing Library?

How do we deploy this PR?

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit d4e8cc2
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/65f44aca3de4f100096409f3

@kabeaty kabeaty requested a review from nick-funk March 11, 2024 17:34
@tessalt tessalt added this to the v8.8.1 milestone Mar 14, 2024
Copy link
Contributor

@nick-funk nick-funk left a comment

Choose a reason for hiding this comment

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

I love the little plant. Wall-E would approve 🪴

@tessalt tessalt added this pull request to the merge queue Mar 15, 2024
@tessalt tessalt removed this pull request from the merge queue due to a manual request Mar 15, 2024
@tessalt tessalt added this pull request to the merge queue Mar 15, 2024
Merged via the queue into develop with commit 52e96d7 Mar 15, 2024
6 checks passed
@tessalt tessalt deleted the feat/CORL-3012-new-commenter-badge branch March 15, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants