Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SeanLeRoy
Copy link
Contributor

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

@SeanLeRoy SeanLeRoy self-assigned this Mar 7, 2025
Copy link
Contributor Author

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

Copy link
Contributor Author

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),
})),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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)

Copy link
Contributor

@aswallace aswallace left a 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?

@SeanLeRoy
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add simple query argument for human readable URL input
2 participants