This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Joe 06ae9229e8
UX: Skip length check on reply drafts (#17408)
We don't count quote characters as part of the reply length.

We don't save drafts if the reply length is less than the min_post_length site setting.

If you start a reply that only contains a bunch of quotes with the intent to continue later, you get no draft.

This PR fixes that.

Note that we still don't save drafts if the composer is completely empty or if you're composing a new topic. This only affects replies.

This PR only changes the behavior if the reply composer contains something regardless of whether that something is a quote or not and ignores the min_post_length site setting.
2022-07-10 13:54:40 +08:00
..
assets UX: Skip length check on reply drafts (#17408) 2022-07-10 13:54:40 +08:00
controllers FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
helpers DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
jobs FIX: Uninitialized class variable error in sidekiq (#17227) 2022-06-24 14:17:39 +10:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models DEV: Add more color schemes (#17398) 2022-07-08 16:46:32 -05:00
serializers FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
services FIX: Ensure pull-hotlinked can rewrite lone oneboxes (#17354) 2022-07-06 11:46:33 +01:00
views FIX: Ensure splash screen logic is iOS12 compatible (#17401) 2022-07-09 11:38:31 +01:00