huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
237 stars 79 forks source link

[IX] When a group of suggestions is open, opening the PDF for review can become cumbersome #6808

Open aphilop opened 4 months ago

aphilop commented 4 months ago

A group of suggestions can contain many rows, so if a user scrolls through them to view them and then wants to open the PDF, they have to scroll all the way up to the top of the group where the action button "Open PDF" is available. Working through all the groups of suggestion in that way can become slow and tiring for the user.

image
juanmnl commented 4 months ago

Pretty sure this is not going to be easy, nor possible with our component, but the group-header-row of a group should be sticky and stay with the scroll until the next group-header-row pushes it upward. I know that this is extremely tricky, so if not possible, reintroducing the "Open pdf" cell to every single suggestion row could work with the annoyance of a repetitive element.

(One alternative that could help somehow not having thousands of suggestions on a single table, is to allow only opening a single group at once, and collapsing the opened one when ungrouping the next one., and so on.)