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

Avoid notification when user edits pin or howto and it was previuosly accepted. #1008 #1021

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

alromh87
Copy link
Collaborator

@alromh87 alromh87 commented Aug 27, 2020

There was a mistake in 252df32, firebase syntax was used instead of firestore.

Avoid notification when user edits pin or howto and it was previuosly accepted.

Notification will be triggered if user reverts to draft and then try to publish after being accepted.

Note: will trigger disscord message, maybe we could add field in DB to know it has been accepted before.... Would it brake frontend??

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)

PR Checklist

  • - Latest master branch merged
  • - PR title descriptive (can be used in release notes)
  • - Passes Tests

Description

What this PR does

Git Issues

_Closes #1008

Screenshots/Videos

If useful, provide screenshot or capture to highlight main changes

There was a mistake in 252df32, firebase syntax was used instead of firestore.

Avoid notification when user edits pin or howto and it was previuosly accepted.

Notification will be triggered if user reverts to draft and then try to publish after being accepted.

Note: will trigger disscord message, maybe we could add field in DB to know it has been accepted before.... Would it brake frontend??
@alromh87 alromh87 changed the title Fixes #1008 Avoid notification when user edits pin or howto and it was previuosly accepted. #1008 Aug 27, 2020
@cypress
Copy link

cypress bot commented Aug 27, 2020



Test summary

60 0 0 0


Run details

Project onearmy-community-platform
Status Passed
Commit 64e5a01 ℹ️
Started Aug 28, 2020 4:42 PM
Ended Aug 28, 2020 4:49 PM
Duration 06:11 💡
OS Linux Ubuntu Linux - 16.04
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Added db field to avoid triggering discord message after user edit prevously accepted pin/howto.
@BenGamma BenGamma merged commit 16e2fbb into ONEARMY:master Sep 9, 2020
@BenGamma BenGamma mentioned this pull request Sep 30, 2020
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.

2 participants