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 support for directories of files without ACRO metdata #239

Merged
merged 5 commits into from
Oct 19, 2023

Conversation

bloodearnest
Copy link
Collaborator

@bloodearnest bloodearnest commented Oct 17, 2023

This means changing to use a directory picker, rather than a file
picker. This means a bit of guess work when there are acro metadata
files in the directory. The upshot of this is:

a) we now launch the app in a special /load url to do this guess work
b) we no longer support a directory with multiple acro metadata files in

Fixes #235

This means changing to use a directory picker, rather than a file
picker. This means a bit of guess work when there are acro metadata
files in the directory. The upshot of this is:

a) we now launch the app in a special /load url to do this guess work
b) we no longer support a directory with multiple acro metadata files in
@bloodearnest
Copy link
Collaborator Author

bloodearnest commented Oct 17, 2023

Fixes #235

 - better comment text
 - calculate checksums to silence notice

 It'd be better to switch off checkshums in the non-ACRO case. But that
 trickier, so this hack should work
@madwort madwort requested a review from lucyb October 18, 2023 10:23
@@ -73,20 +83,16 @@ const createWindow = async () => {
});

const result = await dialog.showOpenDialog({
title: "Choose ACRO outputs json file",
properties: ["openFile"],
title: "Choose directory containing outputs you wish to review",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think Windows tends to use "folder" rather than directory. However, I appreciate that's super picky and might not be worth changing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, yeah, perhaps that would be better. I may change it in later PR

@bloodearnest bloodearnest merged commit a0ff2e3 into main Oct 19, 2023
5 checks passed
@bloodearnest bloodearnest deleted the directories branch October 19, 2023 10:16
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 a way to inhale a whole directory's worth of custom outputs so that users don't have to use ACRO at all
2 participants