SrS2225a / custom_uploader

Custom Uploader is a simple, lightweight, and easy to use file uploader built using flutter for android devices that allows you to upload files to a file host of your choice.
MIT License
39 stars 2 forks source link

Prompt for certain params/args value before uploading #11

Open git-marijus opened 4 months ago

git-marijus commented 4 months ago

What you want to be added

It would be great to be able to mark certain args or params to require interaction (a prompt for its value) before uploading.

Why you want this feature

Currently, if an upload can have a description param, this param must be changed in the settings prior to the upload. If we could mark the param to require a prompt for its value, setting the value could be part of the upload workflow.

Screenshots

No response

SrS2225a commented 4 months ago

Intreating idea. But prompting the user for the same value(s) every time they upload something can get pretty annoying. I think it would work better if it was more dynamic using pre built variables (for example: &time would supply that current parameter with the current time), for a better user experience.

git-marijus commented 4 months ago

But prompting the user for the same value(s) every time they upload something can get pretty annoying.

Only for params/args that make sense (not same on each upload) of course. Like an image description for example. I was thinking about a checkbox in the config screen for params/args which require interaction. If you don't need a prompt just leave them unchecked :)

Pre built variables are also a nice idea!

SrS2225a commented 4 months ago

I see, that makes since. In that case, I can see that both are good solutions for providing arguments, and I can see both the pros and cons for your idea and mine. I guess it really boils down to your preference, so I will ask a couple of friends what idea they like better for input. Personally though, I think my solution would work better, but that is why I am asking

git-marijus commented 4 months ago

@SrS2225a i might have just understood you wrong, but i thought your idea solves a very different problem. In the sense of $time if set as value would always return the current timestamp. While my idea would prompt for a user generated text describing an image.

SrS2225a commented 4 months ago

Thats ok. Yeah, I get that, just needed some time to think about it that's all for what the best approach would be. I will go with your approach and will get to it when I can. Thanks for the feedback!

git-marijus commented 4 months ago

Another idea that came to my mind would be to prompt for arguments with empty value. That would be probably easier from the UI point of view...