feat: add possibility to hide upload button #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "tapiron/coller:feat/make_file_upload_button_optional"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was asked to add the possibility to hide the upload button to avoid users confuse this tool for a file sharing app.
This is only on the front.
No breaking changes, by default the button is displayed.
@ -25,6 +25,7 @@ type Config struct {
ObservationInterval int `json:"observation_internal"`
Languages []string `json:"languages"`
Language string `json:"language"`
UploadFileButton bool `json:"upload_file_button"`
Could you update the README.md file with this new setting please?
For booleans, I would like to add an "enable" prefix like
enable_upload_file_button
.Updated variable names, json config key and added doc in README.md.
I also removed useless if statement.
cfdf653c47
to4944e47e76
LGTM
4944e47e76
to3f8d42571b
I resolved the conflict, should be good to merge
Thank you for your contribution!