#1772 closed enhancement (fixed)
Software items should be annotatable
Reported by: | Nicklas Nordborg | Owned by: | olle |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.3 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
Change History (8)
comment:1 by , 11 years ago
Owner: | changed from | to
---|
comment:2 by , 11 years ago
Status: | new → assigned |
---|
comment:3 by , 11 years ago
comment:4 by , 11 years ago
Design discussion:
- The design for this update will be based on that for Ticket #1771 (Hardware items should be annotatable).
- Support for annotatable Software items will include the following parts:
a. Basic support for adding annotations to Software items.
b. Update of database schema version, since step (a.) adds new database columns.
c. Adding an "Annotations
" tab to the page for inspecting a Software item, and displaying the annotations.
d. Adding an "Annotations
" tab to the edit dialog for a Software item, and making it possible to edit annotations.
e. For an item that can have an attached Software item, making annotations to the latter appear in the tree node for the overview of that item.
f. For an item that can have an attached Software item, making annotations to the latter appear in the "Inherited annotations
" tab of the edit dialog for that item.
Version 0, edited 11 years ago by (next)
comment:5 by , 11 years ago
Design implementation:
The different parts in adding support for annotatable Software items will involve updates to the following files:
- Basic support for adding annotations to Software items:
Software.java
inbase3/src/core/net/sf/basedb/core/
andSoftwareData.java
inbase3/src/core/net/sf/basedb/core/data/
.
- Adding an "
Annotations
" tab to the page for inspecting a Software item, and displaying the annotations:
JavaScriptsoftware.js
inbase3/www/admin/software/
JSP scriptlist_software.jsp
inbase3/www/admin/software/
JSP scriptview_software.jsp
inbase3/www/admin/software/
- Adding an "
Annotations
" tab to the edit dialog for a Software item, and making it possible to edit annotations:
JSP scriptedit_software.jsp
inbase3/www/admin/software/
JavaScriptsoftware.js
inbase3/www/admin/software/
JSP scriptindex.jsp
inbase3/www/admin/software/
JavaScriptmain.js
inbase3/www/include/scripts/
(for making edit dialog larger).
- For an item that can have an attached Software item, making annotations to the latter appear in the tree node for the overview of that item:
SoftwareLoader.java
inbase3/src/core/net/sf/basedb/util/overview/loader/
- For an item that can have an attached Software item, making annotations to the latter appear in the "
Inherited annotations
" tab of the edit dialog for that item:DerivedBioAssay.java
inbase3/src/core/net/sf/basedb/core/
JavaScriptbioassays.js
inbase3/www/views/derivedbioassays/
RawBioAssay.java
inbase3/src/core/net/sf/basedb/core/
JavaScriptbioassays.js
inbase3/www/views/rawbioassays/
comment:7 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Ticket closed as the requested functionality has been added.
comment:8 by , 11 years ago
(In [6361]) Refs #1772. Page for inspecting a Software item updated by adding a "Change history" tab, and displaying the changes:
- JavaScript
software.js
inbase3/www/admin/software/
updated in functioninitPage()
forpageId
equal toview-page
to add a tab active listener for history data. - JSP script
view_software.jsp
inbase3/www/admin/software/
updated in HTML section to add a "Change history" tab.
Note:
See TracTickets
for help on using tickets.
Ticket accepted.