Resolve "Add beamline, start and end date to the session list"
requested to merge 986-add-beamline-start-and-end-date-to-the-session-list-3 into gitlab-develop-sso
Closes #986 (closed)
Configuration
lims_rest.xml
is:
<object class="ICATLIMSRestClient">
<ws_root>https://icatplus.esrf.fr</ws_root>
<object role="session" href="/session" />
<queue_urls>bcu-mq-01:61613</queue_urls>
<before_offset_days>3</before_offset_days>
<after_offset_days>3</after_offset_days>
<compatible_beamlines>ID23-1,ID30A-1</compatible_beamlines>
<!-- the list of sessions will be filtered by the override_beamline_name, this is needed when
HWR.beamline.session.beamline_name does not match with the name of the instrument in the catalog -->
<override_beamline_name>
ID23-1</override_beamline_name>
<data_portal_url>https://data2.esrf.fr/investigation/{id}/datasets</data_portal_url>
<logbook_url>https://data2.esrf.fr/investigation/{id}/logbook</logbook_url>
<user_portal_url>
https://smis.esrf.fr/misapps/SMISWebClient/protected/aform/manageAForm.do?action=view&expSessionVO.pk={id}</user_portal_url>
</object>
Session Selection
The session selection is spitted into two tabs (scheduled and non-scheduled):
Shortcuts to the a-form, data portal and logbook have been added. They will not appear if not configured in lims_rest.xml
In order to reschedule a session someone should go to the non scheduled
tab:
Colors are used to indicate if the session is non-scheduled time-wise (warning) or instrument-wise (danger)
Reschedule
When a non-scheduled session is selected then a button "Reschedule" appears:
In order to make easier for user to indicate that a session has been rescheduled, the card shows both the original date and the rescheduled date:
Older development versions (kept here for the records):
Edited by Alejandro De Maria Antolinos