Opened 11 years ago
Closed 10 years ago
#530 closed task (fixed)
Display logs from temperature and humidity measurements
Reported by: | Nicklas Nordborg | Owned by: | olle |
---|---|---|---|
Priority: | major | Milestone: | Reggie v2.16 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
See #529 for ticket about collecting measurements.
It should be possible to create links in various places to get info about the 'climate' for a given date. Exactly where needs to be discussed, but:
- On single-item view pages for biomaterial we have access to creation date, registration date and possible also various date annotations. It should be possible to create a button (similar to the 'case summary' buttom) that links to information for the actual dates.
- In the case summary page it should be possible to link to information for some of the dates or extract and display some information directly in the summary page.
Change History (8)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Traceability note:
- The lab environment extension was introduced in Ticket #529 (Retrieve and store temperature and humidity measurements).
- The lab environment extension was updated in Ticket #592 (Lab environment extension improved report routines), specifically regarding graphs of lab environment data for a chosen time interval, new time filters, and improved alarm functionality.
comment:3 by , 11 years ago
Summary: | Display logs from temperatur and humidity measurements → Display logs from temperature and humidity measurements |
---|
Typo fixed.
comment:4 by , 11 years ago
Design discussion:
- The case summary page contains most/all dates of interest for different extracts from a biomaterial. The first version of access to lab environment data for specific dates and labs will therefore be placed here.
- The functionality described below is provided by the lab environment extension. The update should check if the former is available, and only add links etc. related to lab environment data, if the extension is installed.
- For the chosen event dates, a link to a pop-up window will be placed in a column to the right of the date. Clicking on a link should open a pop-up window with graphs of temperature and humidity for the given date in the lab where the event was performed. Initially, the link will be indicated by a thermometer icon.
- In order to provide a coherent user interface, the lab environment event data pop-up window should adhere to the following principles concerning the layout:
a. The main content should have a layout similar to that for a daily display report for a single lab sensor.
b. The page should have an added header stating the event, e.g. "RNA extraction:
", followed by the extract name.
c. The window should allow print functionality similar to that of other lab environment reports.
d. Otherwise, the window should adhere as closely as possible to the layout of other BASE pop-up windows, e.g. title bar at top, and "Cancel" and "Print..." buttons at the bottom. - In the first version, the following event dates should be supported regarding lab environment data:
1. RNA extraction date
2. DNA extraction date
3. FlowThrough extraction date
4. mRNA cleanup date
5. cDNA synthesis date
6. Library cleanup date
7. Pooled library pool date
All of the above events are currently performed in the RNA lab in room B33A2.
comment:5 by , 11 years ago
Design implementation:
- The functionality uses LabEnv JSP file
labenvironmentdatabaseeventpopup.jsp
inresources/reports/
, added in change set [2463] to LabEnv 1.1. Installation of LabEnv version 1.1 or higher is therefore required (otherwise no working lab environment event data links will be added). - JSP file
case_summary.jsp
inresources/reports/
updated by callingExtensionsControl.getHomeUrl(...)
to obtain the URL for "net.sf.basedb.labenv.service
", and then add it attributedata-home-labenv
in div tag with id = "page-data
". - JavaScript
case-summary.js
inresources/reports/
updated:
a. Call ofcs.addColumn(...)
for RNA, DNA, and FlowThrough extraction dates, mRNA cleanup date, cDNA synthesis date, library cleanup date, and pooled library pool date extended by calling new functioncs.asLabEnvLink(sensor, date, title, icon)
for the appropriate lab sensor and date.
b. New functioncs.asLabEnvLink(sensor, date, title, icon)
added. It retrieves URLhome-labenv
from div tag with id = "page-data
", and if the URL exists, a link is returned with class "link linked-labenv
", and attributedata-sensor
set to argumentsensor
,data-date
todate
, anddata-title
totitle
. The link is represented by the icon defined in the argument list.
c. New event handlerLabEnvs.viewDataOnClick
is added to links of class "linked-labenv
".
d. New functionLabEnvs.viewDataOnClick(event)
added. It retrieves URLhome-labenv
from div tag with id = "page-data
", and values for attributessensor
,date
, andtitle
from attributed with same name forevent.currentTarget
, after which a pop-up window is opened for a URL to LabEnv JSP filereports/labenvironmentdatabaseeventpopup.jsp
, with added values forlabSensorUrl
,originDate
, andpageTitle
. - New icon image
thermometer.png
added toresources/images/
.
comment:6 by , 11 years ago
(In [2501]) Refs #530. Case summary updated for specific event dates by optional addition of link to pop-up window with lab environment data for the given date in the lab where the event was performed. Initially, the link will be indicated by a thermometer icon:
- The functionality uses LabEnv JSP file
labenvironmentdatabaseeventpopup.jsp
inresources/reports/
, added in change set [2463] to LabEnv 1.1. Installation of LabEnv version 1.1 or higher is therefore required (otherwise no working lab environment event data links will be added). - JSP file
case_summary.jsp
inresources/reports/
updated by callingExtensionsControl.getHomeUrl(...)
to obtain the URL for "net.sf.basedb.labenv.service
", and then add it attributedata-home-labenv
in div tag with id = "page-data
". - JavaScript
case-summary.js
inresources/reports/
updated:
a. Call ofcs.addColumn(...)
for RNA, DNA, and FlowThrough extraction dates, mRNA cleanup date, cDNA synthesis date, library cleanup date, and pooled library pool date extended by calling new functioncs.asLabEnvLink(sensor, date, title, icon)
for the appropriate lab sensor and date.
b. New functioncs.asLabEnvLink(sensor, date, title, icon)
added. It retrieves URLhome-labenv
from div tag with id = "page-data
", and if the URL exists, a link is returned with class "link linked-labenv
", and attributedata-sensor
set to argumentsensor
,data-date
todate
, anddata-title
totitle
. The link is represented by the icon defined in the argument list.
c. New event handlerLabEnvs.viewDataOnClick
is added to links of class "linked-labenv
".
d. New functionLabEnvs.viewDataOnClick(event)
added. It retrieves URLhome-labenv
from div tag with id = "page-data
", and values for attributessensor
,date
, andtitle
from attributed with same name forevent.currentTarget
, after which a pop-up window is opened for a URL to LabEnv JSP filereports/labenvironmentdatabaseeventpopup.jsp
, with added values forlabSensorUrl
,originDate
, andpageTitle
. - New icon image
thermometer.png
added toresources/images/
.
comment:7 by , 11 years ago
Milestone: | Reggie v2.x → Reggie v2.16 |
---|
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Ticket accepted.