getodk / central

ODK Central is a server that is easy to use, very fast, and stuffed with features that make data collection easier. Contribute and make the world a better place! ✨🗄✨
https://docs.getodk.org/central-intro/
Apache License 2.0
127 stars 155 forks source link

Add counts and other labels to more nav tabs #671

Closed matthew-white closed 4 months ago

matthew-white commented 6 months ago

See the story in the release criteria.

matthew-white commented 4 months ago

We may make some styling changes to the nav tabs and/or the new counts, but nothing big. I think that can come in a follow-up PR, and we can go ahead and close this issue.

matthew-white commented 4 months ago

@getodk/testers, this issue is now ready to be verified on the staging server.

dbemke commented 4 months ago

The number in Forms tab counts drafts and published forms?

dbemke commented 4 months ago

Does inactive in the Public access tab mean with revoked access? I revoked access to links and the number is still visible in the tab. Should I file an issue?

Image

matthew-white commented 4 months ago

The number in Forms tab counts drafts and published forms?

Yes, the number in the Forms tab should match the number of rows in the table below. For some user roles, we don't show certain forms in the table, and in that case, the number in the tab should still match the number of rows that the user can see (it should similarly not include the hidden forms). A Data Collector user can't see draft forms, and a Project Viewer can't see closing forms.

Forms in the trash should not be included in the number in the tab.

Does inactive in the Public access tab mean with revoked access?

Yes, exactly.

I revoked access to links and the number is still visible in the tab.

Ah I think that was a bug. It should be fixed now on staging.

srujner commented 4 months ago

The number in the bubble is aligned with the text in the tab next to it, not in the bubble itself. Screenshot(114)

srujner commented 4 months ago

Tested with Success!

dbemke commented 4 months ago

Tested with Success!