cheminfo / cheminfo/nmrium

Deal with no file loaded

Open
#3,771 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

If we drag and drop a gif or a pdf nothing happens. This is quite OK but may be frustrating for a end-user that does not understand what is going on.

I would suggest that if nothing if found we give a dialog.

```
No NMR data detected
We couldn’t find any NMR spectrum in the file you provided.
Please make sure the file contains valid NMR data (see [supported formats](https://docs.nmrium.org/20_1d-spectra/loading_a_spectrum/)
) and try again.
```

Also if a molecule was loaded it would be nice to open the molecule panel if available (and the spectra panel if there are spectra).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.