ThreatKB icon indicating copy to clipboard operation
ThreatKB copied to clipboard

If the comment field is filled out, submit the save action for that field prior to saving the underlying artifact.

Open pedramamini opened this issue 6 years ago • 1 comments

When filling out the comment field, often times, we forget to hit the plus (+) action to save the comment:

image

If the user hits 'save' on the artifact on the bottom, the comment is lost. Can we either, detect an unsaved comment and block hitting save -or- auto submit any draft comments on artifact save?


Branch: issue/278-save-comment-on-modal-close (PR #345)

pedramamini avatar Dec 26 '18 22:12 pedramamini

@pedramamini @danny248 Made it so that if there is an unsaved comment, when saving or canceling the editing modal, the user will be prompted to save the comment first: image

ofzza avatar Jun 05 '19 11:06 ofzza