Task #6573 (closed)
Opened 8 years ago
Closed 5 years ago
Configurable data listings
| Reported by: | jamoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | major | Milestone: | Unscheduled |
| Component: | Web | Version: | 5.0.2 |
| Keywords: | n.a. | Cc: | atarkowska |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
For users with overwhelming numbers of projects, datasets or similar, it would be useful to be able to overwrite the query used to load the data panels.
See: https://www.openmicroscopy.org/community/viewtopic.php?f=6&t=789
Change History (5)
comment:1 Changed 8 years ago by atarkowska
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 8 years ago by jmoore
- Resolution invalid deleted
- Status changed from closed to reopened
Ola, I'm re-opening so we can see if we can flush out exactly what is needed from the CMU group, but your suggestion may just cover it. A sub web-component (i.e. created via OmeroWeb/CreateApp) could override the wrapper that's used? That certainly gets us a good deal of the way there. Alternatively, we may want the definition of the data loading even configurable from the UI (though that may be a stretch).
comment:3 Changed 7 years ago by jmoore
- Cc atarkowska added
- Owner changed from atarkowska to wmoore
- Status changed from reopened to accepted
Passing to Will as a heads up, just in case this is needed as part of OMERO.search (#6572)
comment:4 Changed 7 years ago by wmoore
It may be possible to change the object wrappers used, from within a web-component (app), by doing
class ScreenWrapper (omero.gateway.ScreenWrapper):
"""
omero_model_ScreenI class wrapper extends OmeroWebObjectWrapper.
"""
annotation_counter = None
def _getQueryString(self)
return "......
omero.gateway.ScreenWrapper = ScreenWrapper
omero.gateway.refreshWrappers() # now, conn.getObject("Screen") will return subclass above.
However, I'm not sure if this gets you all you want in the display of a subset of Projects, Datasets etc.
comment:5 Changed 5 years ago by wmoore
- Resolution set to wontfix
- Status changed from accepted to closed
- Version set to 5.0.2
Speed of loading tree data has been recently addressed.
Since 4.3 this is possible by overriding _getQueryString for particular wrapper.