-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress bar on collection page #251
Comments
This is a data entry issue. This section of the Records tab shows the difference between records provided to the ALA vs the records in the collection. To fix this, enter the number of records that the collection has into the correct field.
For the given example I manually entered the number of records as the "Number of specimens" to confirm that this works. |
Yeah, I am aware the progress bar works fine if there is data available. It's just that out of the 78 collections in our Collectory we have two where the number of specimens have been entered. We will never have that data for all collections. Just randomly clicking around the collections in ALA and some of the other LivingAtlases it's not uncommon to see this. So I still think it's better to hide the progress bar if the number of specimens have not been entered. |
That is useful context. I was approaching this as an ALA data entry issue and the PR would hide the problem rather than leaving an indication that something is missing. I will reopen the PR while awaiting the data team's input into this issue. |
While the number of specimens need to be populated in order to see the progress bar for eg: https://collections.ala.org.au/public/show/co118, however, this information may not always be supplied by the data provider which we need to make awareness of this. |
I'll merge the PR and add this alternate text. I note that the old text that conveyed this was, at one time, "There is no estimate of the total number of {0} in this collection." |
Is it a UI thing to give a reason why something is not showing? Don't you just not show it at all? |
Applying @patkyn's input the results in the following
|
Test links are no longer working as the changes are approved and now in a PR. |
On the Records tab of the collection page there is a progress bar showing how many of the total/estimated number of specimens in the collection are available in the LA portal. However, if the total number of specimens is not available it defaults to displaying the message "No records are available for viewing..." which is often wrong and produces a very confusing page where the left part says there are a lot of records available and the right part says no records:
This PR (#250) fixes this by simply hiding the progress bar if the total/estimated number of specimens is not available since the progress bar makes no sense at all in that case.
The text was updated successfully, but these errors were encountered: