-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add simple query argument input #466
base: main
Are you sure you want to change the base?
Conversation
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.
This file has actual code changes
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.
This file has actual code changes (an added test)
sources: unparsedURLs.map((uri) => ({ | ||
uri, | ||
...getNameAndTypeFromSourceUrl(uri), | ||
})), |
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 there are other params present will they be ignored? e.g., http://localhost:9001/app?url=https://biofile-finder-datasets.s3.us-west-2.amazonaws.com/Variance%20Paper%20Dataset.csv&group=Cell+Line
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.
Yea - for more complex stuffs they'll need to use the other system (or maybe we can add on later TBD)
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.
Do we plan to simplify other params as well or just this specific case for now?
This is just for simple use case like maybe another app wants to send their dataset to us |
Context
The query arguments for BFF are fairly complex which is necessary for the amount of customization we allow via URL sharing however it would be nice to be able to supply just a simplified version of it for when you just need to share a BFF link to a dataset which is what this does. Also included in this is the renaming of the entity FileExplorerURL -> SearchParams which felt more accurate. I tagged the two files where there are actual code changes.
Resolves #436
Testing
Tested running locally like so:
http://localhost:9001/app?url=https://biofile-finder-datasets.s3.us-west-2.amazonaws.com/Variance%20Paper%20Dataset.csv