UpdateItem Table on Detail Pages
-
On every condensate or protein detail page, a non-logged-in user should be able to the list of all
update_items
related to this specific condensate or protein which are in the statussynced
-
On every condensate or protein detail page, a logged-in user should be able to the list of all
update_items
related to this specific condensate or protein. -
Maintainers always have the option to change the status of a
update_item
to "accepted" or "rejected". This option is no more available once the status is "synced.
This will be in form of a new table, at the end of the page which shows all changes submitted for this specific entity (protein or condensate) record to date (with options to sort, filter, etc. like on the usual UpdateItem list page)
The contents of this record-specific UpdateItem table will be filtered as follows:
Condensate Detail Page
entity = ["condensate", "condensate_protein"]
entity_id = _<respective_canonical_id>_ # use "LIKE" match
(in case of contributor) user_id = <current_user_id> (maintainer sees everything)
(in case of no session) status = "synced"
Protein Detail Page
entity = ["protein"]
entity_id = _<respective_uniprot_id>_
(in case of contributor) user_id = <current_user_id> (maintainer sees everything)
(in case of no session) status = "synced"