Closed tonydisera closed 1 year ago
To test, you can force an error with PubMed by clicking very quickly through the genes during or after 'analyze all'. The NCBI request will fail because we have exceeded the number of requests allowed in an interval of time (a minute?).
So you should see some warnings next to the genes in the side panel:
You can click on the warning glyph to see the warning in the alerts right side panel.
How click on the gene with the warning. You should see a loading gif in the genes card, below the PubMed heading. Then the PubMed entries should load successfully.
The warning glyph next to the gene should disappear and the warning should go away from the alerts right side panel.
We show a warning glyph next to a gene that failed to on an NCBI request (e.g. get PubMed entries, get NCBI gene, etc). When the user clicks on the gene a second time, the NCBI request will likely succeed. In this case, the 'warning' alert should be removed from the alert panel and the warning glyph should no longer show next to the gene button in the genes side panel.