-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tools panel should allow generic format mappings #4
Comments
Yes, Tools pane is indeed hardcoded for the moment. The main question, what exactly it should display. I would suggest to have
I believe this correctly reflects your idea, just with one extra supplement: a top level choice for the action type. |
The question of which entity to drive selection from is interesting. I initially thought format, but that's possibly a bad choice without a good find/filter interface. One thing I'll be looking at is pre-loading data and Formats is the one entity with a lot of source databases we could use. I now think that format is probably a bad choice until we have time to think about UI choices. User feedback would be good for these issues anyway. That leaves Tools or Actions. Given the implementation will currently have few tools, this might be a good place to start? I'm unsure and will get some thoughts here. One key will be to keep scope down to what we need for an initial release and accept that a more sophisticated UI element will be needed. |
The prototype tools panel allows users to map tools to particular formats, currently PDF and Image. Here's a screenshot:
The issue is that the format options are currently hard coded, this can be seen in the Tools module. The code looks as follows:
A similar problem occurs at: https://github.com/openpreserve/jhove2020/blob/master/src/components/Tools/Tools.js#L67
The panel should allow the user to create arbitary mappings between formats, tools and actions held in the PAR configuration files. This includes the formats held in [PAR/FileFormats] ./PAR/FileFormats). This will require a "new mapping" button that allows a user to map the concepts then save the mapping.
The text was updated successfully, but these errors were encountered: