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

add functions to manage user.stats.userCreatedComments #3557

Merged
merged 2 commits into from
May 23, 2024

Conversation

goratt12
Copy link
Contributor

PR Checklist

PR Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Developer experience (improves developer workflows for contributing to the project)

Description

Using Firebase Functions

  • Add user created/edited comments to user.stats.userCreatedComments
  • Remove on comment deletion

Git Issues

Closes #3451

Screenshots/Videos

If useful, provide screenshot or capture to highlight main changes


What happens next?

Thanks for the contribution! We try to make sure all PRs are reviewed ahead of our monthly maintainers call (first Monday of the month)

If the PR is working as intended it'll be merged and included in the next platform release, if not changes will be requested and re-reviewed once updated.

If you need more immediate feedback you can try reaching out on Discord in the Community Platform development channel.

@goratt12 goratt12 requested a review from a team as a code owner May 18, 2024 14:12
Copy link
Collaborator

@mariojsnunes mariojsnunes left a comment

Choose a reason for hiding this comment

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

looking good!

@benfurber
Copy link
Member

Nice one. Same comment about manual testing as the other one.

@goratt12
Copy link
Contributor Author

Tested manually and working :)
image
image

@benfurber
Copy link
Member

@goratt12 Now I've merged in your other branch, I think you've got some fun merge conflicts here now?

Copy link

cypress bot commented May 22, 2024

2 flaky tests on run #5670 ↗︎

0 78 1 0 Flakiness 2

Details:

Merge branch 'master' into 3451-add-discussion-stats
Project: onearmy-community-platform Commit: e4ad09bf21
Status: Passed Duration: 15:08 💡
Started: May 23, 2024 2:27 PM Ended: May 23, 2024 2:42 PM
Flakiness  settings.spec.ts • 1 flaky test • ci-chrome

View Output Video

Test Artifacts
[Settings] > Focus Plastic Collection Point > [Edit a new profile] Test Replay Screenshots Video
Flakiness  howto/comments.spec.ts • 1 flaky test • ci-chrome

View Output Video

Test Artifacts
[How To Commenting] > [By Authenticated] > [Commenting] Test Replay Screenshots Video

Review all test suite changes for PR #3557 ↗︎

Copy link

codecov bot commented May 23, 2024

Codecov Report

Attention: Patch coverage is 94.59459% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 68.32%. Comparing base (6cccfbe) to head (e4ad09b).

Files Patch % Lines
functions/src/discussionUpdates/index.ts 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3557      +/-   ##
==========================================
+ Coverage   68.23%   68.32%   +0.09%     
==========================================
  Files         444      445       +1     
  Lines       13935    13972      +37     
  Branches     2507     2509       +2     
==========================================
+ Hits         9509     9547      +38     
+ Misses       4378     4377       -1     
  Partials       48       48              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benfurber benfurber merged commit 0ae5bd2 into ONEARMY:master May 23, 2024
20 checks passed
@goratt12 goratt12 deleted the 3451-add-discussion-stats branch May 23, 2024 15:17
@onearmy-bot
Copy link
Collaborator

🎉 This PR is included in version 1.183.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@onearmy-bot
Copy link
Collaborator

🎉 This PR is included in version 1.185.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Discussions: Add user comments to the user.stats field
4 participants