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)
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.
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.
Puedo reproducir esto. Lo siento por no haberme acercado antes.
El componente del tema nunca se probó con temporizadores distintos al close topic timer, ya que fue construido específicamente para ese temporizador, pero el nombre sugiere que debería funcionar con todo tipo de temporizadores de temas.
Además, no debería haber afectado ninguna otra funcionalidad predeterminada, al menos. Estoy trabajando en solucionarlo y volveré con una solución pronto.
Este fue mi primer trabajo de cliente en Discourse. Me trae viejos recuerdos.
p.d.
He realizado una PR al temporizador de temas principal para hacerlo extensible para desarrolladores de plugins y temas. Anular el método monolítico puede ser propenso a errores.
Es un mal recuerdo de mi parte. Recordé mal una publicación de Jeff que explicaba estos términos, pero puedo imaginar que IMPR no era uno de ellos. Lo tendré en cuenta.
La buena noticia es que, tras la fusión, el código ahora es más extensible y mantenible desde el punto de vista del desarrollo. Intentaré solucionar el componente durante la próxima semana.
Gracias @sam por el consejo y a @martin por la fusión.