universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

Improve visibility of config tool on examples page

Open erinburnand opened this issue 7 months ago • 4 comments

Add header and explanatory text (text to be decided)

erinburnand avatar Jun 17 '25 15:06 erinburnand

@erinburnand I'd be happy to sketch something, if that'd be helpful (having raised the issue it's the least I can do!)

mialondon avatar Jun 20 '25 11:06 mialondon

That would be great if you have time @mialondon ?

erinburnand avatar Jun 23 '25 09:06 erinburnand

That would be great if you have time @mialondon ?

Perhaps on a call with you and @Saira-A ? 45 mins or so should do it

mialondon avatar Jun 23 '25 09:06 mialondon

Sounds good to me! When works for you @mialondon & @Saira-A ? I'm pretty free over the next few days

erinburnand avatar Jun 23 '25 10:06 erinburnand

Suggested text for config builder: "Use the dropdown menus to customise the Universal Viewer. Your selections will automatically populate the custom configuration box below"

For custom config box: "Enter your configuration here to see a preview of how the Universal Viewer will look and behave"

Or these sentences could be combined as a header?

erinburnand avatar Jul 02 '25 09:07 erinburnand

From Ed: YouTube tab: to demonstrate the YouTube Content Handler. IIIF is just one type of content the UV can load via the Content Handler system. You can get rid of it if you like, although I envisioned it also having other content handlers in future like a dedicated ebooks one for example that bypasses the need to hack the IIIF spec by painting ebook urls onto canvases

Target, mute, annotations - all crucial for Exhibit. Could we have a specific Exhibit tab perhaps?

erinburnand avatar Jul 02 '25 10:07 erinburnand

I'm curious about the best approach for presenting the text. If we just put paragraphs inline, it may look a little crowded; might something like a help button that toggles an area or drops a tooltip be more appropriate? (Obviously, we'd need to be sure to do this in an accessible way if we did it... and I'm certainly open to starting with paragraphs and improving incrementally).

Possible revisions to @erinburnand's suggested text:

Config builder: "Use the dropdown menus to customise the Universal Viewer. Your selections will automatically populate the custom configuration box above. You will have to click the Apply Configurations button when you are ready to put your changes into effect."

(Note the change from below to above -- unless we're planning to rearrange things, the config box is currently above the builder controls).

Custom config box: "Enter your configuration here (in JSON format) to see a preview of how the Universal Viewer will look and behave. Since UV uses browser storage to remember some settings, you may need to check the 'Clear saved state' checkbox to ensure that your changes are immediately visible."

demiankatz avatar Jul 02 '25 10:07 demiankatz

We could also potentially have an overall configuration header with text along the lines of:

The Universal Viewer can be configured using a JSON file. The controls below allow you to easily test changes to your configuration, or to generate a new configuration file by browsing the available settings.

demiankatz avatar Jul 02 '25 10:07 demiankatz

Open to suggestions on how we can best present the text. We've got a figma prototype on the go, so we could perhaps have a play around with options (hopefully you can view?):

https://www.figma.com/design/pNvxuMLIIIJNvkddVuWcqO/UV-Config-Builder-Demo?node-id=0-1&t=qKVjkH8HeHjTXUw3-1

If you can access, you will see we were thinking of rearranging the config box and builder - see what you think

erinburnand avatar Jul 02 '25 10:07 erinburnand

Also, thanks for your suggestions on the text @demiankatz , much better!

erinburnand avatar Jul 02 '25 10:07 erinburnand

Thanks, @erinburnand, I can see the Figma prototype. I think we may need to design this with stacked tabs, though -- right now, switching the tab between IIIF and YouTube changes the viewer. As Ed says, we may need to add more tabs here in future if we introduce additional content handlers. I don't think making Config parallel with these tabs makes sense.

I do imagine that it would be useful to have a config control that was independent of the content handler selection, since we presumably will want to be able to configure every handler. But right now, we're primarily starting with a focus on IIIF, so I'd split up the existing IIIF tab into sub-tabs: maybe "General," "AV," "Annotations," and "Configuration." This will make the screen less cluttered and give us opportunities to add documentation and notes to the other features as well. If we need to introduce a "Configuration" tab to other handlers in the future, I'm sure we can figure out a way to make the code reusable and wire it into multiple places.

What do you think?

demiankatz avatar Jul 02 '25 11:07 demiankatz

Just for context - we didn't know the YouTube thing would still be needed, so we thought re-using that tab would be straightforward.

We'd talked about having the config builder on a separate page, if that didn't introduce too much complexity by requiring site nav etc.

The suggested wording sounds good, and this updated page would be a great candidate for developing 'guerilla usability testing' skills across the project. The feedback we'd get from usability testing could help inform decisions about layout as well as text.

mialondon avatar Jul 02 '25 13:07 mialondon

Thanks @demiankatz, I think that makes sense, and like @mialondon says, its a good starting point from which to get feedback, which is what we wanted :)

erinburnand avatar Jul 02 '25 13:07 erinburnand

This issue has been addressed in #1489 @erinburnand

LanieOkorodudu avatar Jul 14 '25 15:07 LanieOkorodudu

Agreed, I think it's safe to close this, though happy to have a new issue opened in future if there are further improvements to discuss.

demiankatz avatar Jul 14 '25 16:07 demiankatz