Live Topic Timer

This theme component changes the default timed topic timer to a live countdown timer.


Repository Link


  • The rerender time can be changed in the component settings according to your use case.

  • The time displayed by the timer can be format in multiple ways from the theme component setting whose documentation can be found here.

To do

  • Display the timer on the header next to the topic title.
    I’m looking for specific UI/UX suggestions for how to implement a header timer, in the context of Discourse, with a view to crowd-funding the development costs if there’s enough interest (@darhazer @tobiaseigen)

Installation

22 Likes

This doesn’t work since a few days. Can you look at it?

1 Like

Yes, I’m aware of the fact that some of the code I overrode is changed in core discourse. I’ll take a look at this around mid next week.

cc @angus, @Ellibereth, @darhazer

4 Likes

Just pushed an update to the component to fix compatibility with latest discourse.

6 Likes

can this be set on specific categories? i could see this being very useful in combination with the voting plugin.

1 Like

Currently, it works for all timed topics. @ninjapenguin if you’re are willing to fund the development of this feature, I’ll be happy to add the category specific feature for the component.

In any case, you can join the discussion related to the component here.

1 Like

i don’t think we need it enough. more a ‘nice to have’ in our use case than a core feature we’d use often. it looks great though, well done.

1 Like

This theme component is breaking the topic timers interface, unfortunately. Number of days seems to turn into number of seconds, and the blue bar containing the “Replies on this topic are automatically deleted after …” has no next. It then becomes impossible to remove timer. Deleting this theme component made it work again.

Screen Shot 2020-05-07 at 11.12.32 AM

2 Likes

It needs to be dusted again. I’ll come to this one in the next week. Thanks for reporting. Makes a strong case for bookmark reminders for me.

2 Likes