-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/dls user upload #1596 #1597
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
Draft
kaperoo
wants to merge
63
commits into
develop
Choose a base branch
from
feature/dls-user-upload-#1596
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 30 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
3f81a80
add upload button to dls views
kaperoo 2e497e5
upload button
kaperoo 3a42ce5
upload dialog
kaperoo 56c981d
Install uppy
kaperoo d36e2bc
install uppy yarn.lock
kaperoo f049d49
Add upload button to dls tables and cards
kaperoo 5c38b02
install uppy in the right package
kaperoo 7f94c37
unmemoize actions
kaperoo 21252af
adjust to Alex's changes
kaperoo fe5649a
add function for creating datasets + some translation
kaperoo 9405eb7
add uppy and its dependencies to transformIgnorePatterns
kaperoo 4bd437e
small fixes to upload components
kaperoo 287e97c
initial unit tests
kaperoo 72ea976
temporary fix for golden retriever bug in unit tests
kaperoo 503e39d
improve code coverage
kaperoo a225710
test for .xml upload
kaperoo aee9a6f
Merge branch 'develop' into feature/dls-user-upload-#1596
kaperoo f342996
updated yarn lock
kaperoo d268064
multiple uppy instances + size/type info
kaperoo 84a5746
improved styling
kaperoo 4efaf43
disable close on backdrop click + fix max file size
kaperoo 4ac562c
files no longer cleared on backdrop click
kaperoo 4aa90f3
invalidate queries after successful upload
kaperoo 79306f7
Merge branch 'develop' into feature/dls-user-upload-#1596
kaperoo 429b781
remove hardcoded upload url
kaperoo c877ffa
fix unit tests
kaperoo 18403bf
fix restore bug
kaperoo 6981617
Fix uppy styling in production & make it respect dark mode
louise-davies 8fe465f
Merge branch 'feature/dls-user-upload-#1596' of https://github.com/ra…
louise-davies e1080f8
Add back in accidentally deleted file
louise-davies 3c10f38
remove hardcoded url for dataset creation
kaperoo e458067
change invalidate queries + button variants
kaperoo 28ea293
use mui theme for button colours
kaperoo 533210b
workaround for uppy ghost files bug
kaperoo 7e77ed3
refresh session before upload
kaperoo 9c38429
move refresh function to api
kaperoo 4deb414
check for duplicate files on file-add
kaperoo 62538d9
provide session in bearer auth token
kaperoo 0533d87
lowercase a in authorization
kaperoo 062561f
checkdatafilename tests
kaperoo 17dcba6
add new restricted files
kaperoo d38778d
use the /commit endpoint
kaperoo 9082d98
check dataset name
kaperoo b12adda
check for duplicates in upload queue
kaperoo 554bb7f
change id to url in a call to /commit
kaperoo 87bbd04
refactor name checking fns
kaperoo e04c247
update unit tests
kaperoo 885e273
tests for refreshSession and checkNameExists
kaperoo fdb6365
add lastModified field to call to /commit
kaperoo c1e8242
fix lm for dataset upload
kaperoo e47c1ee
fix for duplicate check with ghost files
kaperoo 1dd5ba1
upload pre and post processing
kaperoo 6227476
disable upload button
kaperoo 86cba66
single failed upload bux fix
kaperoo bd4f003
disallow multiple upload batches
kaperoo 6e9bf9c
use datasetId from response instead of parsing
kaperoo 77fa13d
beforeFileAdded tests
kaperoo 92a4eab
postProcessor unit tests
kaperoo 6bbdaab
disable the upload button if there are no files in the queue
kaperoo 50fbc92
fix most of the upload button bugs
kaperoo ebb2cea
change the way we fail test files
kaperoo 512f401
e2e upload tests
kaperoo 09369c6
change misleading function name
kaperoo 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
5 changes: 5 additions & 0 deletions
5
packages/datagateway-common/src/views/__snapshots__/uploadDialog.component.test.tsx.snap
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
|
||
| exports[`Upload dialog component Datafile renders correctly 1`] = `<DocumentFragment />`; | ||
|
|
||
| exports[`Upload dialog component Dataset renders correctly 1`] = `<DocumentFragment />`; |
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.
Uh oh!
There was an error while loading. Please reload this page.