learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
118 stars 167 forks source link

Revamp content file management in the edit modal #4840

Open bjester opened 1 week ago

bjester commented 1 week ago

Overview

Give users an option to download a resource and simplify the UI of file management to minimize confusion with the additional download feature

Desired behavior

Each uploaded file should have a menu, which allows the user to:

Besides the existing behavior of 'Select file', there should be no linked text in the file radio items, only the meatball menu. If the user clicks the meatball menu icon button, it should not activate the file's radio option.

Image

Current behavior

Users are currently able to:

Image

Value add

The existing filename link used to replace a file is easily confused with the ability to download it. By adding a dedicated option, we will now support downloading the files but also simplify the existing interface to reduce that confusion

Possible tradeoffs

Accessibility should be considered. Currently, it is navigable but it is unlikely that it operates correctly. The new version should likely focus on the whole item first, before focusing the radio control, so the flow of information screen readers see produces the context of the file before the selection. Also, presumably the menu should be accessible between the two.

bjester commented 1 week ago

This needs clarification on what the intended accessible behavior should be.