"Adding a template" usability issues
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 542
- PR merge metrics
- No merged PRs in 30d
Description
1. The text box for the template name isn't clearly labelled.
2. Attempting to save without entering a template name would close the window without any errors, so users have no idea if the template is actually created.
3. A lot of this should be auto-generated. For example, every Job (not counting TFJob or PytorchJob) contain these fields:
```
apiVersion: batch/v1
kind: Job
metadata:
name: {{.Trial}}
namespace: {{.NameSpace}}
spec:
template:
spec:
containers:
- name: {{.Trial}}
restartPolicy: Never
```
Only the image and command fields require customization. So ideally the user should not need to craft a verbose Yaml file here.
4. Would be good to have template validation (assuming that the user needs to input a raw yaml file - see the item above).
Contributor guide
Assessment
This issue has not been assessed yet.