-
Notifications
You must be signed in to change notification settings - Fork 245
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
feat: multi squad post approval #4111
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
@@ -662,14 +662,12 @@ export const SQUAD_MODERATE_POST_MUTATION = gql` | |||
mutation ModerateSourcePost( | |||
$postIds: [ID]! | |||
$status: String | |||
$sourceId: ID! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to be careful with deployment. If we are updating the existing mutation, we must merge this PR at the same time the API is deployed. Otherwise, requests might fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise, looks amazing. Not much to add 💪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise looks good to me.
Maybe once API is deployed we can do a e2e test on this branch before merging?
@rebelchris It won't be possible to test since its not backward compatible dailydotdev/daily-api#2617 (comment) but if we want to test we can make it backward compatible on API. |
@capJavert isnt out rule to have everything backward compatible on api. I guess this all on webapp, but ideally so. |
I did not want to slow it down, but up to Amar how he wants to test it, agree it would be easier to have it backward compatible. We don't have to create separate query, we can do |
@capJavert I will re-add the param "sourceId" to make it backward compat, but just not use it in the backend. That way, it won't break anything. Sounds good? 😄 |
@AmarTrebinjac sounds good 👍 |
Changes
Depends on this PR.
Not testable on preview before backend PR is merged
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://mi-635.preview.app.daily.dev