-
Notifications
You must be signed in to change notification settings - Fork 492
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
Checksum truncation, click to copy + file metadata fragment code consolidation #7312
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
2903b08
Consolidated file metadata on dataset pg by using file-info-fragment …
mheppler f094b97
Fixed download count error on file-info-fragment, as well as cleaned …
mheppler 56dc4c7
Removed additional editMode render logic not needed in file table on …
mheppler 44722f5
Removed commented out isDuplicate render logic from checksum in datas…
mheppler 9eb7f9a
Additional render logic clean up on file-info-fragment [ref #7081]
mheppler 81384ba
Added checksum truncation function WIP [ref #7081 #6685 #5210]
mheppler aefcfad
Merge branch '7081-kebab-file-options-icon-btn' into 7081-file-metada…
mheppler da6e364
Merge branch 'develop' into 7081-file-metadata-include
mheppler 3b90d1c
Commented out code in file table include to clean up UI [ref #6685 #5…
mheppler 35982b7
Checksum truncate and click to copy added to file table on dataset pg…
mheppler b9052ce
Merge branch 'develop' into 7081-file-metadata-include
mheppler 3ea71dd
Checksum/unf truncation, click to copy, for dataset pg and dataverse …
mheppler d039784
Applied truncation to UNF, moved tabular metadata labels to bundle [r…
mheppler d16b6ee
This is the reason search cards were not fully initialized for tabula…
landreev 1b27ec3
Separate unf display from variables + observations on dataverse pg re…
mheppler 16a3efa
Overwrite css from primefaces component.css for overflow property to …
mheppler aae9925
Fixed float UI issue in file table on dataset pg [ref #5210, #6685]
mheppler d85806e
Merge branch 'develop' into 7081-file-metadata-include
mheppler 6b4fb24
Undo on bug testing revision mistakenly left in java function [ref #5…
mheppler 2ee739a
File table responsive clean up, added file date labels [ref #5210, #6…
mheppler 23e8f5c
Merge branch 'develop' into 7081-file-metadata-include
mheppler c7f7782
Updated metadata labels in dataset version differences popup, added t…
mheppler 0706720
Mistakenly committed dev workaround, removed emuns [ref #5210, #6685]
mheppler 3587fe9
Hide file metadata download count in file tables if dataset unpublish…
mheppler dfa367e
Removed parantesis from Tags label [ref #5210]
mheppler 0a14b86
Merge branch 'develop' into 7081-file-metadata-include
mheppler f46a87f
Removed unnecessary editMode render logic, refactored other logic [re…
mheppler 191bdfc
Code clean up and comments to doc renders and params for file-info [r…
mheppler 5961033
Undoing mistakenly committed bug workaround hack for notifications gi…
mheppler c0dc967
Update file-info-fragment.xhtml
scolapasta 0ebc23f
Update dataset.xhtml
scolapasta 714b288
Update filesFragment.xhtml
scolapasta 7f97d01
Update dataset.xhtml
scolapasta 63eb5bd
Update DatasetPage.java
scolapasta 0d08717
Merge branch 'develop' into 7081-file-metadata-include
mheppler 814c005
Cleaned up copy to clipboard code for checksums and tokens [ref #6039…
mheppler 89023ba
Fix checksum flashing and rebinding issues on download, search [ref #…
mheppler 85755ba
Fix checksum flashing and rebinding issues on download [ref #7081]
mheppler a6d46bb
Added copy to clipboard success ok icon for checksums [ref #7081]
mheppler e17300f
Merge branch 'develop' into 7081-file-metadata-include
mheppler e9e99b4
Fixed double click issue on click to copy [ref #7081, #6685, #5210]
mheppler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
If I understand correctly (e.g. from the code links below), MIME_TYPE_TSV_ALT should be the only mimetype that will have variable metadata. So - can you also drop the first MIME_TYPE_TSV in this if statement?
Ingested tabular file mimetype set to MIME_TYPE_TSV_ALT:
dataverse/src/main/java/edu/harvard/iq/dataverse/ingest/IngestServiceBean.java
Line 922 in 0bcdcfd
Incoming files of type MIME_TYPE_TSV_ALT changed to MIME_TYPE_TSV
dataverse/src/main/java/edu/harvard/iq/dataverse/ingest/IngestServiceBean.java
Lines 355 to 358 in 0bcdcfd
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.
I thought about it, but I believe it is entirely possible for some legacy installations to still have some ingested tabular files with the other mime types. So I figured I would leave it in place to be safe. The worst possible drawback here is 1 wasted custom query, if this not an ingested tab. file.
(We make sure NOT to rely on the mime type, for identifying tabular data files elsewhere, and instead check for the presence of the DataTable object; but this is one situation where we have to - because we only have the search result, but not the entity).