DigitalSlideArchive / HistomicsUI

A Girder plugin for pathology image annotations and analysis.
Apache License 2.0
56 stars 19 forks source link

Non-image annotations in a panel #44

Closed manthey closed 1 year ago

manthey commented 5 years ago

Show and allow editing selected metadata (from the Girder item meta record) in a panel in the HistomicsTK interface.

The current concept is that the metadata shown should be based on a schema that is stored in a specially named folder and item at the root of the Girder Collection or User. This schema would list the keys that can be set in the meta record along with an indication of what values that key can take (boolean, enum list, free text, and numerical range would be a good first pass). The schema should specify a human-display string to use as a label next to the control that allows setting the key (rather than using the key name) and display strings for entries in enum lists (to use as text in select boxes). If the metadata associated with the item does not contain the key, the controls should show an unset set rather than a default.

If a user has permission to write to the Girder item, then they can change the values associated with the meta record. Some keys could be marked as read-only; these would not be editable even by a user with write permission.

In the future, we may want to specify keys with some sort of per-user indicator. For instance, instead of key: 'status' where there is one status per item for all users, we could have something like key: 'status{user}'; internally we might store the data with a key status-user-<user name>. In this instance, the logged in user would only see their own value. In the Girder item page, all metadata values would still be visible.

manthey commented 4 years ago

This can be implemented in stages (each of which can get its own issue and PR when it gets worked on).

manthey commented 1 year ago

Except for multi-user independent metadata, this will be handled by https://github.com/girder/large_image/pull/1202 and https://github.com/DigitalSlideArchive/HistomicsUI/pull/310.

manthey commented 1 year ago

Closing this in favor of https://github.com/girder/large_image/issues/1205, which addresses the last point.