discourse/app/assets/stylesheets/common
Roman Rizzi fbb1fb9270
FIX: Ensure slow mode duration is correctly edited and displayed. (#10945)
* FIX: Ensure slow mode duration is correctly edited and displayed.

This commit fixes a bug where you were forced to set hours, minutes, and seconds or you won't be able to set the slow mode. Also, the duration was not displayed correctly due to the seconds not being truncated.

Additionally, we'll always display the hours, minutes, and seconds inputs for clarity and remove the blue banner.

* Set slow mode modal tweaks.

Uses labels instead of placeholders.
Input fields only visible when custom option selected.
Replace "Custom Duration" with "Pick Duration".

Additionally, place the `Set slow mode` button at the bottom of the topic actions menu.

* Perform the slow_mode validation also on the client-side before saving trying to save the post. This way, the post won't be staged.
2020-10-20 06:52:03 -03:00
..
admin DEV: Apply unselectable style consistently 2020-09-21 13:32:46 +02:00
base FIX: Ensure slow mode duration is correctly edited and displayed. (#10945) 2020-10-20 06:52:03 -03:00
components UX: ensures new-topic badge renders consistently 2020-09-23 23:32:19 +08:00
foundation REFACTOR: Remove position fixed from the header and use sticky instead (#10781) 2020-10-19 17:26:38 -04:00
select-kit FIX: disabled option for sk was not working correctly (#10900) 2020-10-13 11:31:07 +02:00
d-editor.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
input_tip.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
printer-friendly.scss Revert "DEV: flexify post actions (#9926)" 2020-07-07 12:42:49 +02:00
topic-entrance.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
topic-timeline.scss REFACTOR: Remove position fixed from the header and use sticky instead (#10781) 2020-10-19 17:26:38 -04:00