-
Notifications
You must be signed in to change notification settings - Fork 493
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
Feature Request/Idea: 'Sticky' dataset file filtering #9917
Comments
@kuhlaid yeah, I agree this is pretty annoying! For now I'll say that we're working on this in the new frontend: I'll try to remember to let you know when that PR has been merged and the code deployed to the beta server. |
@pdurbin Should this issue have an SPA related tag so it is visible in order to address it then :) ? |
@DS-INRAE well, above it looks like I was trying to say that I'd let you and @kuhlaid know when the pull request above has been merged and deployed to https://beta.dataverse.org Can you reproduce the issue there on the beta server? |
It is still a problem on beta site. If you are on the dataset page under |
@kuhlaid thanks, would you be willing to create an issue at https://github.com/IQSS/dataverse-frontend about this? |
What kind of user is the feature intended for?
Everyone
What inspired the request?
Trying to filter a dataset but keep getting redirected to the top of the page and needing to scroll back down to the files.
What existing behavior do you want changed?
When a file filter is applied, for example if a user selects a different file type, file tag or even the file sorting option, this refreshes the page with the filtered content. The problem is that it sends the user back to the top of the page and thus loses focus on the file list, so the user if forced to scroll back down to the bottom of the page where the files are located. Ideally the file list would retain focus when filters selections changed by a user.
Any brand new behavior do you want to add to Dataverse?
One option would be to add an anchor tag at the dataset 'tabs' (Files, Metadata, Terms, Version) and when a filter is applied, the URL will include the anchor so that the page refresh keeps the files in focus (see screenshot below of the dataset tabs I am referring to). If the file list can be refreshed without redrawing the entire HTML page that would work as well but it depends on how you are choosing to handle content changes on a page.
The text was updated successfully, but these errors were encountered: