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
15 stars 3 forks source link

RSDEV-81 Type radio field for samples to guide subsample creation #35

Closed rlamacraft closed 4 months ago

rlamacraft commented 4 months ago

This change modifies the form for creating samples, guiding the user through the instantiation of the subsamples to make it clearer when working with indivisible substances.

Currently, the form looks like this

image

and after this change is behaves like this

https://github.com/rspace-os/rspace-web/assets/8805923/379455b3-2230-4f92-a365-f4567fc89e6d

The user is guided through the two options which either creates one subsample (which should largely be transparent), or allows the user to specify multiple subsamples. The quantity field then adjusts accordingly.