-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-image annotations in a panel #44
Comments
This can be implemented in stages (each of which can get its own issue and PR when it gets worked on).
|
Except for multi-user independent metadata, this will be handled by girder/large_image#1202 and #310. |
Closing this in favor of girder/large_image#1205, which addresses the last point. |
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 likekey: 'status{user}'
; internally we might store the data with a keystatus-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.The text was updated successfully, but these errors were encountered: