-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feature] Add tacktracker zip download capability #34
Conversation
Tested |
From the wishing well
Instead navigate directly to the mtls cert download view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is fine. Some questions added.
const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => { | ||
const upperCaseValue = e.target.value.toUpperCase(); | ||
void formik.setFieldValue("code", upperCaseValue); | ||
// Set shouldValidate to false to avoid returning a Promise | ||
void setFieldValue("code", upperCaseValue, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the meaning of void
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignoring the promise. No async operation there so I think there's nothig that could fail here
tracker: 2, // Tracker package | ||
}; | ||
|
||
const fileIndex = osToFileIndex[os]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be using a helper function which uses a switch case
for safer implementation.
Although since the input value comes from the pre-defined options it doesn't matter that much.
What Does This PR Do
UI changes for pvarki/docker-rasenmaeher-integration#115
Why
Need ability to choose TAKTracker zip, as for android taktracker wants this specific type of zipp
Depends on takrmapi change on this