Temporizador de tópico não aceita valores < 1 hora

Stable channel, shallow bug.

Topic time does not accept values less than 1 hour. Has worked before, for a very long time.

  • Auto-close topic
  • Close based on last post
  • Try to set a value below 1 hour, say 0.25 for 15 minutes

One hour is a very long time for a heated discussion. We actively use values around 10 minutes to end our game chats. It works very well as the timer triggers when things start to cool down (our game topics get up to 1000 posts in a couple of hours).

Propose the fix to be backported to the stable channel. Reasoning: Old basic functionality broken.

3 curtidas

Reproduced with 2.6.0 beta4.

2 curtidas

@martin is planning to revamp this dialog entirely in the next version of Discourse so we will probably deal with it then.

(I was hoping it would make this release but probably not)

2 curtidas

Acabei de verificar isso em produção (CDCK’s SaaS Discourse). O valor de 0,1 hora foi aceito (6 minutos) e o tópico foi fechado de acordo.

2 curtidas

Fico feliz que você tenha encontrado isso sozinho! Eu tinha um lembrete configurado para postar uma atualização aqui :slight_smile:

2 curtidas