rspace-os / rspace-web

This the main repository for RSpace: rspace-web. Check https://github.com/rspace-os/rspace-web/blob/main/DevDocs/DeveloperNotes/GettingStarted/GettingStarted.md for setup instructions.
https://github.com/rspace-os/rspace-web/wiki
GNU Affero General Public License v3.0
12 stars 3 forks source link

RSDEV-279 Additional subsample count label #60

Closed rlamacraft closed 1 month ago

rlamacraft commented 1 month ago

This change adds an additional label on the subsample form informing the user of how many siblings the subsample has.

Currently, the subsamples quantity field provides a link to the search for all of the parent sample's subsamples, with a link text that specifies the number of subsamples minus one -- the number of siblings the subsample has. Given that the quantity field is in the details section, it may appear below the fold when the vertical dimension of the viewport is low or it may not be visible due to the details section being collapsed.

This change duplicates this label by adding it to the overview section's parent sample field also, where it is more likely to be seen at first glance.