Emit both "passage" level and "text annotation" level handlers (e.g., clicking a scholia entry should in "highlight" mode should retain the ROI bounding box; it is currently cleared because the handler assumes a "line-level" handler (passing the userData object to our click handlers could help, e.g. https://github.com/scaife-viewer/frontend/commit/57f49f8e61644c7ed0f43c8d1c9ed73c1d09a90c)
This issue is being used to capture further improvements to the ROI and scholia functionality.
We hope to revisit this in the future, but it is not currently in scope.
Developer Notes
userData
object to our click handlers could help, e.g. https://github.com/scaife-viewer/frontend/commit/57f49f8e61644c7ed0f43c8d1c9ed73c1d09a90c)textAnnotation.edges
into our queries (https://github.com/scaife-viewer/frontend/blob/325b1de5933e6f0a82f3bfbc60ddbdca1026af2c/packages/widget-scholia/src/ScholiaWidget.vue#L65, https://github.com/scaife-viewer/frontend/blob/325b1de5933e6f0a82f3bfbc60ddbdca1026af2c/packages/reader-image-mode/src/ImageModeReader.vue#L108)