• Robert Knight's avatar
    Disable import button if necessary data is not available · c2d543aa
    Robert Knight authored
    Prevent the user from importing annotations until we have:
    
     - A group to import into
     - A set of existing annotations to match against
     - Document metadata to use for the new annotations
    
    I considered replacing the whole dialog with a `LoadingSpinner` until these
    conditions are met, like the Export dialog does, but it makes for a less jumpy
    transition when eg. switching groups if we just disable the button.
    c2d543aa
Name
Last commit
Last update
..
ExportAnnotations-test.js Loading commit data...
FileInput-test.js Loading commit data...
ImportAnnotations-test.js Loading commit data...
ShareAnnotations-test.js Loading commit data...
ShareDialog-test.js Loading commit data...