JayP718 / countdown_timer_bb_plugin

MIT License
3 stars 3 forks source link

Countdown Timer with Bar/Circle #2

Closed kasgithub8 closed 1 year ago

kasgithub8 commented 1 year ago

Hi Jay,

I really like your plugin and would love to use it. My little "project" requires a visual presentation in addition to the timer. Obviously, we can't add a JavaScript embed to Budibase so this is the closest to meet the requirements. Do you think this is possible?

Sincerely, Kevin

JayP718 commented 1 year ago

Hey there,

Thanks! I can take a look.

Are you looking for something like this

https://www.w3schools.com/w3css/w3css_progressbar.asp

Or more like a progress ring?

Best,

Jay

kasgithub8 commented 1 year ago

Are you looking for something like this

https://www.w3schools.com/w3css/w3css_progressbar.asp

Exactly like this! Just with the Timer of course.

JayP718 commented 1 year ago

Sure, give me a few days

JayP718 commented 1 year ago

Hi @kasgithub8,

So I began working on this and started thinking about your request a bit more.

So for there to be a progress bar the user would have to know the the start date/time, end date/time. and current time until end.

Because the progress bar for a timer with 20 seconds total and only 10 seconds remaining will look very different from a timer that's for 30 days and only 10 seconds remaining. I think I know how to account for it but do you mind sharing some more information about your specific use case?

And would something like this work for your needs? That way the button itself is the progress bar. I think it gives it a cleaner look but what are you thoughts?

image
kasgithub8 commented 1 year ago

I think I know how to account for it but do you mind sharing some more information about your specific use case?

My use case would be a 30 second timer that stops after the time runs out. A cool addition to it would be pre-entering the time in the builder so that it auto-starts when entering site.

And would something like this work for your needs? That way the button itself is the progress bar. I think it gives it a cleaner look but what are you thoughts?

As long as the timer is adjustable, it's nice because you can always change the size and colors of the button.

kasgithub8 commented 1 year ago

Hi @JayP718,

not to pressure you, just wanna ask if there are any updates on this? I appreciate your help very much!

Best, Kevin

kasgithub8 commented 1 year ago

Hi @JayP718,

any updates?

Sincerely, Kevin

JayP718 commented 1 year ago

Hi @kasgithub8,

I've created a new plugin. It's a little different from this plugin but it should do the trick. Let me know if it works for you and I'll close this feature request.

https://github.com/JayP718/timer_2_bb_plugin

kasgithub8 commented 1 year ago

Hi @JayP718,

your new plugin is so beautiful! It works like a charm! You should definitely release it for everybody.

Thanks for your help, I appreciate your work!

Sincerely, Kevin

JayP718 commented 1 year ago

Glad it works! Thanks, enjoy :)