- Use a single "state" prop to track download progress (not-started,
downloading, or done)
- Accept a file path as a prop an "Open" link after the download is
complete
- Trim some outdated code; improve CSS class names
Was checking typeof streamInfo === 'object', and typeof null is
'object' (because why not?)
I think this was previously returning false for timeouts, and now
will only return null, so the "typeof" part may not be needed anymore.
This displays the file path on its own line and does character-level
wrapping on the path only.
Ideally, we would just apply character wrapping to all words that are
too long for their line. There are CSS props for that but I haven't
been able to find a reliable way to do it without setting a width on the
outer container, which we don't want here (modals stretch based on their content). So this is the best compromise I can come up with.