-
Notifications
You must be signed in to change notification settings - Fork 19
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
The option to use database dumps instead of crates.io API is not apparent #20
Comments
It turns out that you can do this by opting in with
However, it doesn't make it clear that it goes through a different mechanism than the API - I assumed it would try to make an API call for each crate on crates.io and chose not to run it. |
I trust you that the usability issue is real, but I don't see how I can improve on this. This is currently documented in both the help text (see Any suggestions? |
Well I feel silly now that you said that ... I don't know that there's much to change here, I think I should probably just read |
It is a well-known fact in UX design that people click through any prompts and warnings, especially on Windows, so the interfaces have evolved to avoid the need for warnings - e.g. providing an option to undo an action instead of asking for confirmation. The fact that you didn't read |
Reminds me of: 'In the face of ambiguity, refuse the temptation to guess.'. Maybe it could default to refusing to do anything unless specifically advised to query the data from the API by an extra command line option. |
To add to this discussion, I think adding a separate, prominent section in the README will definitely help. It could potentially be titled "Offline Access" or "Speeding up Data Access"? |
2 seconds per crate is really long if there are a lot of crates. https://crates.io/data-access
For information through the index, it would be nice to use the index before downloading the dump.
The text was updated successfully, but these errors were encountered: