NHMDenmark / DanSpecify

Important files regarding the Danish instance of the Specify database system for collections digitisation and management, plus placeholder for issue tracking. Guidelines, manuals and other kinds of documentations will be gathered on the wiki.
3 stars 3 forks source link

NHMA Entomology UI Improvements for quick entry #145

Closed FedorSteeman closed 2 years ago

FedorSteeman commented 2 years ago

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:

FedorSteeman commented 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...

AstridBVW commented 2 years ago

A simplified UI has been made with the changes requested but with a few exceptions.

These include:

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:

FedorSteeman commented 2 years ago

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.

FedorSteeman commented 2 years ago

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.

FedorSteeman commented 2 years ago

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:

image

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.

AstridBVW commented 2 years ago

@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.

FedorSteeman commented 2 years ago

@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.

image

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.

hansviborg commented 2 years ago

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!

FedorSteeman commented 2 years ago

Rolled out to live database under user 'volunteer'.

@AstridBVW noted that "Stage" default value is not working, so we're not quite done yet.

FedorSteeman commented 2 years ago

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.

AstridBVW commented 2 years ago

@FedorSteeman Agreed.

FedorSteeman commented 2 years ago

Closing ticket. All that remains is an authoritative list of geographic names including UTM coordinates as per #148

hansviborg commented 2 years ago

Can we have fields below reinstated, please? They are are used much more than we expected.

Emergence Start Date -> Emergence End Date ->

FedorSteeman commented 2 years ago

@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.

hansviborg commented 2 years ago

Thanks! You are the best!!