feat: add possibility to hide upload button #25

Open
tapiron wants to merge 1 commit from tapiron/coller:feat/make_file_upload_button_optional into main
Contributor

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.

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.
tapiron added 1 commit 2025-09-12 18:29:03 +02:00
jriou reviewed 2025-09-13 19:06:03 +02:00
@ -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"`
Owner

Could you update the README.md file with this new setting please?

Could you update the [README.md](https://git.riou.xyz/jriou/coller/src/branch/main/src/cmd/collerd/README.md) file with this new setting please?
Owner

For booleans, I would like to add an "enable" prefix like enable_upload_file_button.

For booleans, I would like to add an "enable" prefix like `enable_upload_file_button`.
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feat/make_file_upload_button_optional:tapiron-feat/make_file_upload_button_optional
git checkout tapiron-feat/make_file_upload_button_optional
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jriou/coller#25
No description provided.