• Robert Knight's avatar
    Remove empty annotations when a new annotation is created · d8db92c8
    Robert Knight authored
    When a new annotation is created, remove any empty annotation cards that
    currently exist. This fixes an issue where it was easy to accidentally
    create a large number of blank annotations or empty replies.
    
    Any annotations which are not new (ie. have an ID assigned) or have tags
    or text entered by the user are kept.
    
    This logic applies to both annotations and replies.
    d8db92c8
annotation-fixtures.js 2.42 KB