-
-
Notifications
You must be signed in to change notification settings - Fork 199
Added two new panels to UV, for searching and viewing transcribed text. #1479
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
base: dev
Are you sure you want to change the base?
Added two new panels to UV, for searching and viewing transcribed text. #1479
Conversation
…nscribed text from ALTO files, and one new search panel, for searching withing transcribed texts.
…-transcription-panel
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks for sharing, @ra-anders! It looks like there are some type issues that are preventing this from compiling through GitHub Actions, which in turn is preventing the interactive preview from rendering. Please let us know if you need help resolving these issues! |
Hi @demiankatz! |
Thanks, @ra-anders! Could you share a couple of manifest URLs that are good for testing purposes? Now that we have a working example build, a manifest would help us begin testing it. |
Hi!
|
Thank @ra-anders, and the rest of your team for sharing this work -- and for providing the manifest example as well. |
Ah! You're right @LanieOkorodudu, I forgot we have increased the font size in our UV. We got complaints saying the font was too small, so we made it bigger. I can remove that from the PR. |
Ah, okay, please don’t remove anything for now. It’s just something I noticed. It would be great to get feedback from the rest of the team as well. |
@demiankatz, I had a thought and wanted to get your input. Since we're in the config sprint, do you think it would make sense to introduce two new config options, It might be helpful to have them in the builder just in case we want to showcase them or use them during any upcoming usability testing. I’m not entirely sure about the full scope if we were to implement them now, so this would simply lay the groundwork without introducing immediate changes. Would love to hear your thoughts, do you think it's a good idea, or better to hold off for now? Thank you. |
@LanieOkorodudu, I would suggest updating the documentation and adding the settings as part of this PR -- that way, the relevant documentation travels along with the associated code changes, and we don't confuse anyone by adding things to the other branches prematurely. (I think this is another strong argument for keeping the documentation in the code instead of the wiki, since it allows us to document forthcoming features along with the code that adds them, without creating confusion in the published docs). |
Yeah, that totally makes sense. Thanks for explaining it so clearly! |
This PR adds two new panels to UV. One called "TextRightPanel" that shows transcribed texts from ALTO files (if present in the manifest), and one called "SearchLeftPanel" to search in transcribed texts (IIIF Content Search). This is the implementation we use at The Swedish National Archives (https://sok.riksarkivet.se/).
Known limitations:
zoomToSearchResultEnabled
set to true.To enable the new panels you add the following options to the settings file:
"searchLeftPanelEnabled": true
"textRightPanelEnabled": true