Steps to reproduce:
- open another user commit
- add 2 inline comments:
- 1st comment covers one line
- 2nd comment covers several lines including line of 1st comment
- press Delete button on 1st comment
At this point the deleted inline comment draft is still in database and if I submit the form below (e.g. accept commit, add comment) it would still be in database as draft, but invisible. An invisible draft would cause Unsubmitted comments bubble in the list.
I think, that the Delete button should delete draft comment directly in database and if Undo link is used, then we can create it again there.