-
Notifications
You must be signed in to change notification settings - Fork 1
Separate template submission from saving #447
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
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
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.
Looks good!
I don't see where we're doing deduplication now though. If we submit the same template under a different name, Meta rejects it. I think since we're no longer submitting on every revision, we should look up the latest revision that has been submitted, and compare it to the current one. If it's changed, then we resubmit. If it hasn't, then we just copy the template name over to the current revision.
…e_revision methods
…t make additional revisions
…ubmitted, and to update the live object if the live object is submitted
Purpose
At the moment, whenever you save a new revision of a template, it gets submitted.
We want to separate the submission action from the saving action, so that we get to decide when it is submitted to Meta.
Solution
This separates the submission action from the saving action and adds a submission button and a bulk submit action
Checklist