by modernerd · 2y ago · 0 comments
1. Remove the "Generate" button.
2. Move the "Generated CLI Statement" to the right of the form as a second column (at least on wider screens).
3. Pre-fill the form with dummy data so that the generated statement does not start empty.
4. Immediately update the generated statement when someone edits any form field (with an aria-live region for accessibility).
5. Consider making the password field non-editable, or omitting it but leaving a password in the output.
6. Change "We do not store your credentials. Tasks are done in your browser" to "No data is saved. View source on GitHub." with a link to the source if you feel comfortable providing it.
> 6. Change "We do not store your credentials. Tasks are done in your browser" to "No data is saved. View source on GitHub."
Assuming that OP has made it clearer that this website is a CLI command builder and not a dumping tool, I’d find “No data is saved” potentially confusing. To me, it would be unclear whether “data” refers to the credentials or to the underlying database data. It might also raise the concern why a command builder utility would entertain the idea of storing anything in the first place.
Maybe “Your credentials won’t leave your computer” or so?
Another potential benefit of entering the PW in the field is that the generator could take care of proper escaping – think, if the password contains spaces, quotes, asterisks, $ signs, or other bash shenanigans. (That, by the way, doesn’t seem to work right now, @OP.)
Another idea could be to allow entering an env variable name instead of a value.
[0]: https://dev.mysql.com/doc/refman/8.0/en/mysql-config-editor....
sure, we will improve the site based on your suggestion.
thank you!