Closed FedorSteeman closed 2 years ago
The forms have been designed in test environment by @AstridBVW and added to the Limited User group.
However for some reason, this only works in Specify6. In Specify7 Limited User accounts get a "Page not found" when trying to open a collection object form.
To be continued...
A simplified UI has been made with the changes requested but with a few exceptions.
These include:
Cataloger: at this moment it is not possible to set a default value for this field.
Cataloged Date: at this moment it is not possible to set a default value for this field, however if you click on the calendar symbol next to the field, it automatically fills out with the current date.
Determinations: it is not possible for the table to be permanently "slået ud", you have to click on Add to fill out the table.
Col Obj Attribute, Stage: Stage can be set to have the default Adult, however for the data in the field Stage (Adult) to be added to the Collection Object, the table Col Obj Attribute has to be visible on the form.
We recommend using the function "Save and add another" to carry forward the information entered on the form to the next collection object. Then you don't have to keep filling out repetitive information such as Cataloger etc.
Additional notes:
One of the requests was for the Storage field to be made wider. This could only be done by moving the fields around. Also, the Storage field can be made even wider if necessary.
The field Determiner was made shorter, and the field Agent under Collector was made wider. These were just tweaks that can be reversed if necessary.
We've tested and tried the above solution in Specify7 and thanks to the "carry over" feature when using "Save and add another" this works smoothly, because the cataloger, cataloged date and even other fields like determinations are copied to the next entry.
We have added the simplified UI to the "Limited Access" user group in a test environment and it works fine in Specify6, but we're having issues in Specify7, where the user cannot get access to the data entry form for some reason. We're debugging and reaching out for help on this particular glitch.
Alternatively, we could add the simplified UI form on user level for each of the volunteer accounts to be created.
Answer from Kansas: "In Specify 7.6.1, Limited access users and Guests don’t have write access. They can only read data and use the query builder. That will be fixed in Specify 7.7 with the introduction of a highly customizable permission system. "
Meaning that until we upgrade, we need to use the workaround of adding the form to individual users, while adjusting their permissions individually.
Showed @hansviborg our progress while he was at the office anyway. There were some things off, so perhaps I wasn't getting the latest version of the UI. In any case, we marked out some stuff and agreed so far on the following:
We also agreed on the creation of a single volunteer account that the different volunteers can log in as, and the creation of corresponding agents for each volunteer. The volunteers will then be able to choose the cataloger that corresponds to themselves. This way, we can more easily control both the UI design and permissions for this particular user account. It is possible to be logged on concurrently with this single account and make changes at the same time.
@FedorSteeman @hansviborg The UI above does not look like the one I have made, so I suspected you had the wrong one. I just logged in to NHMA2 and the UI imported to the database was not mine. I have just reverted and reimported my UI, if you log in to NHMA2 you can now see the correct UI. As you can see, on the UI I have made, these three points are already done:
"Sex should be replace with Stage Storage to be made wider and moved down the other fields under Preparations Remove attachments section"
With exception of the positioning of Storage - if you are not happy, I can move the fields around again.
The sections can be placed however you want, but please take a look at the correct UI and let me know what you want moved.
@hansviborg So below is what the form looks like now. If you could you either confirm or specify any further changes? Then we'll implement those too and get ready to roll out to production.
BTW You can try out yourself at a test copy of your database we rolled out at: https://specify-test.science.ku.dk/specify/
On that site, the new form has been uploaded at the Discipline level, so all users have access to it. In production, we will of course restrict it to the volunteer user.
Just had a look and everything look exactly as we imagined. These changes should make registerng new specimens easier/faster for people new to Specify. You have a 'go' to roll out the changes in the live database.
Thank you very much for all the help!
Rolled out to live database under user 'volunteer'.
@AstridBVW noted that "Stage" default value is not working, so we're not quite done yet.
Note to @AstridBVW : Staged doesn't automatically select "adult" upon addition of this attribute, but once done, it will remain sticky and be carried over. So I think this solution works as is.
@FedorSteeman Agreed.
Closing ticket. All that remains is an authoritative list of geographic names including UTM coordinates as per #148
Can we have fields below reinstated, please? They are are used much more than we expected.
Emergence Start Date -> Emergence End Date ->
@hansviborg The necessary changes were made now by @AstridBVW but we may need to restart the webserver to effectuate these on Sp7, which would disrupt service and cause users to have to log in again.
Thanks! You are the best!!
Request by @hansviborg For a new quick registration project involving volunteers, NHMA Entomology would like the creation of a separate user group with a simplified UI and limited permissions.
The UI should have the following changes compared to the standard one:
New Collection Object:
Determinations (Rubrikken skal altid være slået ud):
Col Obj Attribute Hele afsnit fjernes da frivillige ikke kan kønsbestemme og alle præparater er Adult
Collecting Information:
Collectors:
Preparations:
Attachments -> Fjernes Collection Object Citations -> Fjernes
Slut Rubrik: