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

DR2-1969 assisted file path substitution #513

Merged
merged 5 commits into from
Nov 21, 2024

Conversation

MancunianSam
Copy link
Contributor

Fixes #507

If you select a csv and a schema file and click settings -> Add path substitution
then it will search the file for a column called identifier. If it's
there, it will choose the shortest value in that column and populate the
path from field.

If you don't select a csv and schema file, it can't parse the csv to
find the column so it will show a blank text box.

The to field is a free text field but there's also a button for
selecting a folder. The text in the dialog says which folder to search
for. Once a folder is selected, it will url encode it, add a trailing slash
if it is missing and put it in the text box.

You can also paste a path in and click the file chooser and it will start from there,
otherwise, it will start from your home directory.

Fixes #507

If you select a csv and a schema file and click settings -> Add path substitution
then it will search the file for a column called identifier. If it's
there, it will choose the shortest value in that column and populate the
path from field.

If you don't select a csv and schema file, it can't parse the csv to
find the column so it will show a blank text box.

The to field is a free text field but there's also a button for
selecting a folder. The text in the dialog says which folder to search
for. Once a folder is selected, it will url encode it, add a trailing slash
if it is missing and put it in the text box.

You can also paste a path in and click the file chooser and it will start from there,
otherwise, it will start from your home directory.
sparkhi
sparkhi previously approved these changes Nov 15, 2024
@MancunianSam MancunianSam merged commit 57fbb70 into master Nov 21, 2024
12 checks passed
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.

Assisted File Path Substitution Selection
2 participants