paulscherrerinstitute / scilog

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Allow users to enter their own location vaues #18

Open stephan271 opened 2 years ago

stephan271 commented 2 years ago

Rename creationLocation to beamline-or-instrument and make it optional (especially for private logbooks).

Also users should be allowed to come up with new values (i.e. names) for these keys when a new logbook is created. However keep the existing drop down list with list of existing locations .

As an alternative we could also dd a new optional field beamline-or-instrument and keep creationLocation. We still need to decide if hyphens or camelcase in the naming is better

stephan271 commented 2 years ago

It is simpler to keep the location field as a mandatory field of a logbook, but allow users to define new values for the location when creating a new logbook, similar to the way the ownerGroup field can be chosen by the user. Also the frontend should be adjusted to replace "location" by "beamline or instrument" or similar.

stephan271 commented 2 years ago

The beamline or instrument change was done on the logbook creation dialog. We still need to allow that users enter their own location value.