We often have requests or child content in a temporarily reduced prominence state (primarily analyzer reports, but also when quickly making something safe before further investigation). It would be useful to have a button to reset the prominence back to the defaults.
- When the record is normal prominence, we'd disable the button
- When the record is something other than normal prominence, the button would set the request to normal prominence and clear the reason
Currently only FoiAttachment has its own prominence form and controller. This is the key record type to add this functionality to.
It would also be good to extract out a similar controller for the other prominenceable records:
OutgoingMessage
IncomingMessage
InfoRequest
Ideally we'd take a polymorphic approach and create something like an Admin::ProminenceableController that can share the behaviour across record types.
Its not worth loads of time though, so if it gets complicated just adding the clear button to attachments in the first instance would be a big help.
We often have requests or child content in a temporarily reduced prominence state (primarily analyzer reports, but also when quickly making something safe before further investigation). It would be useful to have a button to reset the prominence back to the defaults.
Currently only
FoiAttachmenthas its own prominence form and controller. This is the key record type to add this functionality to.It would also be good to extract out a similar controller for the other prominenceable records:
OutgoingMessageIncomingMessageInfoRequestIdeally we'd take a polymorphic approach and create something like an
Admin::ProminenceableControllerthat can share the behaviour across record types.Its not worth loads of time though, so if it gets complicated just adding the clear button to attachments in the first instance would be a big help.