• 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
..
test Loading commit data...
ExportAnnotations.tsx Loading commit data...
FileInput.tsx Loading commit data...
ImportAnnotations.tsx Loading commit data...
LoadingSpinner.tsx Loading commit data...
ShareAnnotations.tsx Loading commit data...
ShareDialog.tsx Loading commit data...
TabHeader.tsx Loading commit data...
TabPanel.tsx Loading commit data...
index.ts Loading commit data...