tabliss icon indicating copy to clipboard operation
tabliss copied to clipboard

[Feature] Countdown Timer addition

Open mikr13 opened this issue 4 years ago • 21 comments

This pull request aims to add a countdown timer functionality in tabliss, it includes a name for the timer and a countdown timer till the date specified.

mikr13 avatar Jul 09 '20 14:07 mikr13

This is addressing #146 but I don't know what darker means in that issue, @Hanif1601 can you please provide a screenshot or something for the styling?

mikr13 avatar Jul 09 '20 14:07 mikr13

image This is the implementation image

mikr13 avatar Jul 09 '20 14:07 mikr13

HI, @joelshepherd, is this going to be added as I see many people requesting this feature.

mikr13 avatar Mar 01 '21 13:03 mikr13

Hi Mihir, sorry I meant to respond to this a long time ago but it got lost and forgot about it.

I had made a prototype a while back utilising FormattedRelativeTime from react-intl for the free multi-lingual support (comes with translations for every language built in): https://github.com/joelshepherd/tabliss/compare/countdown The only down side vs your implementation is mine does not have the "x days + x hours + x ...", and instead rounds it up to "x largest_unit".

I'll have a bit of a think about which implementation I want to go then update this ticket. If anyone else has thoughts on the issue feel free to post them here.

joelshepherd avatar Mar 29 '21 13:03 joelshepherd

I was just about a to start a PR for this exact widget. I think the translation point you touch on is important for non-english users so perhaps we can add the translation to @MiKr13's PR? I personally prefer his implementation cuz of the granularity it provides (doesn't round up to the biggest unit), but we could easily add the option to eliminate smaller and bigger (e.g. have an x hours countdown with x > 24) units if the user prefers that.

this-marwan avatar Apr 13 '21 21:04 this-marwan

Hi @joelshepherd, thanks for your reply. I can implement that translation feature in my PR too. Shall I go ahead with that? Please do let me know.

mikr13 avatar Jul 13 '21 13:07 mikr13

Thanks @this-marwan I can add that translation feature or if you have bandwidth then please go ahead with that feature too. Anything works for me, please do let me know whatever you decide. Thanks again.

mikr13 avatar Jul 13 '21 13:07 mikr13

Hi @joelshepherd. Do you think you can merge this to enable the countdown feature in the next release?

alexbozhenko avatar Sep 22 '21 03:09 alexbozhenko

Hey @joelshepherd, will appreciate some feedback on this one.

mikr13 avatar Sep 29 '21 16:09 mikr13

Hi @MiKr13, didn't expect it to make me so long to get back to my project. Is there a way you can use the translation API to format the different segments? Maybe by combining multiple relative time components?

joelshepherd avatar Jan 07 '22 23:01 joelshepherd

Must have feature

nair-sumesh avatar Feb 14 '22 16:02 nair-sumesh

Please share planned Delivery date for this feature

nair-sumesh avatar Feb 26 '22 03:02 nair-sumesh

Eagerly awaiting this..

lordscarlet avatar May 06 '22 12:05 lordscarlet

@joelshepherd I'll give it a try. I'll keep the thread posted

mikr13 avatar May 07 '22 16:05 mikr13

I'm working on putting translations manually for each language. Then I have some conflicts I need to resolve. I'll update the PR in a few weeks.

mikr13 avatar May 14 '22 14:05 mikr13

Hey, @joelshepherd translations are ready! 🎉🤩 image

mikr13 avatar Jun 20 '22 07:06 mikr13

image

mikr13 avatar Jun 20 '22 07:06 mikr13

The custom message part will be entered by user in their locale only so it doesn't need transalation

mikr13 avatar Jun 20 '22 07:06 mikr13

@MiKr13 Maybe you can add the timezone and time to the date.

lcnzg avatar Jun 28 '22 00:06 lcnzg