-
Notifications
You must be signed in to change notification settings - Fork 495
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
Files Tab: File count does not indicate how many files are currently displayed from total. #2681
Comments
Additionally, there needs to be a way to see how many files have been selected using the select all checkbox. Currently the only way to find out is to wait till you have selected files and then clicked Edit Metadata. |
As we discussed in the meeting we're not going to deal with the number selected for now, but if there's some relatively easy way to get the number of files currently in the scroller to display that number to the user, that should be enough for now |
why aren't we dealing with this now? with the scroller, i think it is necessary to show the number selected because you can't see all of the files anymore On Oct 26, 2015, at 11:48 AM, Stephen Kraffmiller <notifications@git.luolix.topmailto:notifications@github.com> wrote: As we discussed in the meeting we're not going to deal with the number selected for now, but if there's some relatively easy way to get the number of files currently in the scroller to display that number to the user, that should be enough for now — |
We aren't dealing this now because there is no way to capture the select and deselect file on the click event without using an ajax event which we removed because it was taking too long to refresh the page. it's the same reason all of the buttons are active and only checked for validity when you click on it. |
I looked through the PrimeFaces 4.0 documentation linked from http://www.primefaces.org/documentation and I'm not saying there isn't a way, but I couldn't find it. The area of the code in question is in filesFragment.xhtml (near the top) and the size indicates the total number of files in the dataset version.
So it's showing "33 files"... ... when what we want it to show is "25 of 33 files", similar to these mockups: @sekmiller I'm passing this back to you since I couldn't find an answer quickly. Sorry. I did write a little script at scripts/issues/2681/create-files to create a zip file with an arbitrary number of files. Call it with |
Yesterday @raprasad suggested using jQuery to count the number of visible rows. This is if we can't find a way for PrimeFaces to report the number of currently displayed files. |
The problem here is that there's no event to trigger the update of the counts. PrimeFaces has a new feature ticket to do so: |
@mheppler Thanks for offering to take a shot at this. Not sure how to do it without some kind of triggering event. See my notes above and the prime faces issue. |
Related to #2716 as there needs to be a counter in that workflow as well. We need to figure out a solution. |
A new issue, Dataset - File UI Improvements #3404, was created to track the UI improvements related to the files view on the dataset pg. Older feature requests and bug reports like this one will be closed in favor of that new issue. |
Infinite scroller maybe should be showing how many files are currently being displayed out of total. I have 1023 files, I am on the first or second page, how many are currently displayed?
The text was updated successfully, but these errors were encountered: