discourse/app/assets/javascripts/select-kit/addon/components
Martin Brennan e3b1f5721b
FIX: Enforce tag group count validation before sending to review queue (#12728)
There is a category setting that enforces 1 or more tags must be added to a topic from a specific tag group before creating it. This validation was not being run before the topic was being sent to a review queue for categories that have that setting enabled.

There was an existing validation in `TopicCreator` but it was not correct; it was only validating when the tags did _not_ exist and also only happened on `create`. I now run the validation in `TopicCreator.valid?`

I also improved the error message shown to the user when they have not added the tags required (showing the tag names from the tag group), and changed the composer tag selector to not show "optional" if there are N tags required from a certain group.
2021-04-19 09:43:50 +10:00
..
category-drop DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
color-palettes DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
combo-box DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
dropdown-select-box DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
future-date-input-selector DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mini-tag-chooser DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
multi-select UX: allows to copy/paste a list of | separated values in sk (#11642) 2021-01-06 12:57:13 +01:00
notifications-button DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
notifications-filter DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
period-chooser DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
select-kit UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
tag-drop UX: shows a hint when there are more tags than displayed (#12649) 2021-04-08 15:51:31 +02:00
user-chooser DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
categories-admin-dropdown.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-chooser.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-drop.js FIX: Fix subcategory, tag drops and none values (#11934) 2021-02-16 17:54:24 +02:00
category-notifications-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-row.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
category-selector.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
color-palettes.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
combo-box.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
composer-actions.js FEATURE: Show the slow mode indicator in composer (#12720) 2021-04-17 23:40:09 +04:00
create-color-row.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
dropdown-select-box.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
email-group-user-chooser-filter.js DEV: Use @action decorator (#11955) 2021-02-04 14:41:53 +11:00
email-group-user-chooser-header.js DEV: {{user-selector}} replacement (#11726) 2021-02-01 13:07:11 +03:00
email-group-user-chooser-row.js DEV: {{user-selector}} replacement (#11726) 2021-02-01 13:07:11 +03:00
email-group-user-chooser.js DEV: Deprecate {{user-selector}} and replace it with {{email-group-user-chooser}} (#12042) 2021-02-12 13:51:36 +03:00
future-date-input-selector.js FEATURE: Topic timer UI revamp (#11912) 2021-02-03 10:13:32 +10:00
group-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group-dropdown.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
group-notifications-button.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
icon-picker.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
list-setting.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mini-tag-chooser.js FIX: Enforce tag group count validation before sending to review queue (#12728) 2021-04-19 09:43:50 +10:00
multi-select.js A11Y: deselect focused choice when using enter in multi-select (#12165) 2021-02-22 14:34:31 +01:00
none-category-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
notifications-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
notifications-filter.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
period-chooser.js FIX: Ember has deprecated isVisible in newer versions 2020-09-11 14:53:44 -04:00
pinned-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
pinned-options.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
search-advanced-category-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
select-kit.js UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
selected-color.js UX: Remove 2px border from some select-kit buttons (#12016) 2021-02-09 16:35:10 +11:00
selected-name.js DEV: adds support for lang attribute in select-kit (#11741) 2021-01-18 15:34:18 +01:00
single-select.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-chooser-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-chooser.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
tag-drop.js UX: shows a hint when there are more tags than displayed (#12649) 2021-04-08 15:51:31 +02:00
tag-group-chooser.js FEATURE: Make the tag_groups#search endpoint public. (#12643) 2021-04-08 14:23:13 -03:00
tag-notifications-button.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tag-row.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
tags-intersection-chooser.js UX: implements a new tags-intersection-chooser (#12139) 2021-02-19 13:46:02 +01:00
timezone-input.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
toolbar-popup-menu-options.js UX: Prevent some composer buttons from receiving focus (#12719) 2021-04-16 11:10:02 -04:00
topic-footer-mobile-dropdown.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
topic-notifications-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
topic-notifications-options.js DEV: Remove duplicate (and deprecated) SK option (#11435) 2020-12-08 13:21:02 -05:00
user-chooser.js UX: trim @ char from start of the username string in search. (#12060) 2021-02-12 19:38:13 +05:30
user-notifications-dropdown.js UX: Show caret icon on user notification dropdown (#11991) 2021-02-05 10:30:36 -05:00