discourse/app/assets/javascripts/select-kit/addon/components
Bianca Nenciu 5bff65aa69
FIX: Do not show invalid option in flair chooser (#13725)
Both of the commits in this PR are meant to fix the problem of invalid
option being shown in the flair chooser. An invalid option can be shown
if at some point it was a valid one - a group with a flair that was
later changed by an admin and flair was removed. The other option an
invalid option can be selected is if the user had a primary group when
the migration ran and copied the same value to the flair_group_id
column.

* FIX: Set flair_group_id only if group has flair

Follow up to 4ba93aac66.

* FIX: Do not show invalid option in flair chooser

If selected flair group became unavailable because the flair was removed
then the option would still be selected and visible as an ID only.
2021-07-13 19:22:39 +03: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: Some select-box headers don't need a class (#12992) 2021-05-20 16:00:45 +10: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 DEV: Don't use the Ember global (#13535) 2021-06-29 19:54:18 +02: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 UX: more consistent setting/edit buttons (#13276) 2021-06-03 18:33:36 -04:00
category-chooser.js FEATURE: Show all categories in composer (#13213) 2021-05-31 20:50:23 +02:00
category-drop.js Add category breadcrumbs to edit category page (#13126) 2021-05-25 13:40:11 -05: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 DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10: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
flair-chooser.js FIX: Do not show invalid option in flair chooser (#13725) 2021-07-13 19:22:39 +03:00
flair-row.js FEATURE: Let users select flair (#13587) 2021-07-08 10:46:21 +03:00
future-date-input-selector.js FIX: hide "Next Week" in future-date-input on Sundays (#12918) 2021-05-03 09:22:05 +02: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 DEV: Some select-box headers don't need a class (#12992) 2021-05-20 16:00:45 +10: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-flair.js FEATURE: Let users select flair (#13587) 2021-07-08 10:46:21 +03: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 DEV: Remove duplicate filterable option in tag-drop (#13640) 2021-07-05 14:42:17 -04: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 DEV: Some select-box headers don't need a class (#12992) 2021-05-20 16:00:45 +10:00
topic-footer-mobile-dropdown.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
topic-notifications-button.js FIX: Base topic details message on current category and tag tracking state (#12937) 2021-05-06 09:14:07 +10:00
topic-notifications-options.js DEV: Remove duplicate (and deprecated) SK option (#11435) 2020-12-08 13:21:02 -05:00
user-chooser.js DEV: add an option in user-chooser to list staged users (#13201) 2021-05-31 12:02:32 -04:00
user-notifications-dropdown.js UX: Show caret icon on user notification dropdown (#11991) 2021-02-05 10:30:36 -05:00