discourse/app/assets/javascripts
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
..
admin FIX: Inputs using focusout regressed in #17345 (#17389) 2022-07-08 13:00:33 +02:00
confirm-new-email DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
discourse UX: Skip length check on reply drafts (#17408) 2022-07-10 13:54:40 +08:00
discourse-common FIX: Allow connector template names to be camelCase (#17371) 2022-07-07 12:42:23 +01:00
discourse-hbr DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
discourse-widget-hbs DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
docs
ember-addons
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
select-kit DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
truth-helpers DEV: Allow newer versions of node (#17261) 2022-06-28 20:52:31 +02:00
wizard DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
handlebars-shim.js
markdown-it-bundle.js
mini-loader.js DEV: Remove obsolete parts of our custom loader (#17157) 2022-06-20 18:40:25 +02:00
package.json DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Update xss.js (#17216) 2022-06-24 10:28:05 +08:00
service-worker.js.erb FIX: Disable service worker proxying in chrome 97-97.0.4692 (#15638) 2022-01-18 19:41:25 +00:00
yarn.lock DEV: Modernize Ember Resolver (#17353) 2022-07-06 14:20:00 +01:00