Skip to content
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

Hide progress bar on collection page if no estimated specimens count #250

Conversation

matsbov
Copy link
Contributor

@matsbov matsbov commented Sep 25, 2024

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:

Screenshot-2

This PR 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.

@adam-collins
Copy link
Contributor

This is a data entry issue, closing.

See #251 for more details.

@adam-collins
Copy link
Contributor

Reopening due to additional context. See issue for details.

@adam-collins adam-collins reopened this Sep 26, 2024
@adam-collins adam-collins self-requested a review October 3, 2024 00:54
Copy link
Contributor

@adam-collins adam-collins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. It did raise the issue of other work that will be addressed separately.

@adam-collins adam-collins merged commit 95acd75 into AtlasOfLivingAustralia:develop Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants