• Robert Knight's avatar
    Save annotation state to drafts whenever annotation component is destroyed · 645858cb
    Robert Knight authored
    Prior to this unsaved changes were lost when an annotation being edited
    was scrolled off-screen and the annotation component was destroyed.
    
    There was already a mechanism in place for persisting unsaved changes
    to a temporary store when switching accounts and when switching groups
    but this was only triggered when the signed in user changed or the
    focused group changed.
    
    This commit unifies the handling of all three cases by listening
    for the '$destroy' event which is fired whenever an <annotation>
    is about to be destroyed.
    645858cb
Name
Last commit
Last update
..
annotation-share-dialog-test.js Loading commit data...
annotation-test.js Loading commit data...
annotation-thread-test.js Loading commit data...
excerpt-overflow-monitor-test.js Loading commit data...
excerpt-test.js Loading commit data...
form-input-test.coffee Loading commit data...
form-validate-test.coffee Loading commit data...
group-list-test.js Loading commit data...
h-tooltip-test.js Loading commit data...
markdown-test.js Loading commit data...
publish-annotation-btn-test.js Loading commit data...
search-status-bar-test.js Loading commit data...
share-dialog-test.js Loading commit data...
sidebar-tutorial-test.js Loading commit data...
simple-search-test.coffee Loading commit data...
sort-dropdown-test.js Loading commit data...
spinner-test.js Loading commit data...
status-button-test.coffee Loading commit data...
util.js Loading commit data...
window-scroll-test.js Loading commit data...