-
-
Notifications
You must be signed in to change notification settings - Fork 28
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 2079 file display #2209
Conversation
Add required dependencies from PackageTableView
Add functions required for the metadata view display
Fix indentation
Update DataPackageView with table render method for packageTable
Update references for PackageTableView to DataPackageView
Updated MetadataView with references for DataPackageView
…g-PackageTableView-1451
Update dataPackage to display newer file table display design
Add icons for the actions panel
Add additional classes to package table to get the styles in sync for the MetadataView
Get More Info button working in Actions panel
Add some styling changes to the Package Table View
Download Action Button init
Update download button view for actions panel
Add styling rules for rounded actions button
Moving download button to actions panel
Add more icons and buttons in the package table header
[WIP] Add expand/collapse of file icons
Update DataItem to include preview class for info icons
Add more jsdocs
Add some more documentation
@rushirajnenuji, I've been testing out the new DataPackageView, and I must say, it looks great! The UI is going to be a big step forward. I did notice some performance issues that we might need to address. Loading data packages with a large number of files seems to take longer using the new view. Using
See screencasts below. For the MVP release, we could temporarily revert to the old data table view for handling very large packages. It's a bit of a workaround, considering our goal is to enhance support for larger datasets, but it might help maintain performance while we fine-tune the new feature. What do you think about this? Should we consider delaying the release to sort this out, or do you have other suggestions? Really appreciate all the effort you've put into this!! loading-2.movcollapse.mov |
Thanks for testing the new DataPackageView and sharing your insights, @robyngit! Your feedback has been crucial for improvement. current status: I'm fixing some algorithms introduced for these features and aim to have an update ready by tomorrow's dev call. We can also discuss the release plan on the call. |
Resolve issues with slow loading of data items
- fix issues with displaying nested data packages - display metadata object at the top of the file table
For loading spinner for package with a single object
Fix whitespace
Fix package download links
Fix More Info links
@rushirajnenuji just added one commit with some very minor CSS/layout tweaks that:
|
So far it's all looking great @rushirajnenuji, except that I can't get the package table to work in the dataone theme, it stays stuck on the I let it load for about 10 minutes and it never moved past that screen. If I switch back to the main branch then it loads as expected, so I believe it's something to do with the new changes. To reproduce the issue, just switch to the dataone theme and open any dataset in view mode. Any idea what might be causing this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @robyngit -- thank you for catching and fixing this. I tested this changes on my local instance and they look good. (sorry looks like github doesn't let me approve this, so I'm leaving a comment here)
re: dataone theme |
Fixed formatting
Update dataPackage fetch
Add custom styling for DataONE theme in the Package table header
Fix issue with infinite spinners
Show error when dataPackage fetch failed
Ran tests successfully on local environment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to @justinkadi and Maggie for help reviewing!
status: draft PR