discourse/app/assets/javascripts/select-kit/addon/components
Blake Erickson 6affbabfd3
FIX: New general category changes preventing topic create (#18459)
* FIX: New general category changes preventing topic create

Follow up to: #18383

The logic in the previous commit was checking for null, but we are
seeding the SiteSetting.general_category_id with an id of -1 so we need
to check for a positive value as well as checking for null.

See: https://meta.discourse.org/t/240661

* Add js test for presence of category… dropdown option
2022-10-03 12:19:41 -06:00
..
category-drop DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
color-palettes DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
combo-box DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
dropdown-select-box DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
future-date-input-selector DEV: use the only source for time shortcut options on all date pickers (#16366) 2022-04-21 15:49:11 +04:00
mini-tag-chooser DEV: Use includes() instead of indexOf() >= 0 (#17553) 2022-07-19 10:27:40 +08:00
multi-select FIX: fixes few regressions in select-kit (#17453) 2022-07-12 21:38:17 +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 FIX: change event target on select kit row (#16960) 2022-06-01 14:49:04 +08:00
tag-drop UX: shows a hint when there are more tags than displayed (#12649) 2021-04-08 15:51:31 +02:00
toolbar-popup-menu-options DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
user-chooser DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
categories-admin-dropdown.js DEV: Fix typos and other spell-checker warnings (#17554) 2022-07-19 10:27:10 +08:00
category-chooser.js FIX: New general category changes preventing topic create (#18459) 2022-10-03 12:19:41 -06:00
category-drop.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
category-notifications-button.js A11Y: Add labels to some search fields, category notification selector (#14430) 2021-09-23 14:52:34 -04:00
category-row.js DEV: Fix typos and other spell-checker warnings (#17554) 2022-07-19 10:27:10 +08:00
category-selector.js DEV: Fix typos and other spell-checker warnings (#17554) 2022-07-19 10:27:10 +08:00
color-palettes.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
combo-box.js DEV: Remove use of run-loop-and-computed-dot-access (#17113) 2022-06-17 09:43:13 -05:00
composer-actions.js FIX: whisper available when reply to topic (#17054) 2022-06-15 09:59:57 +10:00
create-color-row.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
dropdown-select-box.js FIX: ensures minimum tags logic is correct and shared (#14723) 2021-11-12 14:04:48 +01:00
email-group-user-chooser-filter.js FIX: fixes few regressions in select-kit (#17453) 2022-07-12 21:38:17 +02: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 FEATURE: Optionally show user status on email group user chooser (#18367) 2022-09-28 17:31:20 +04: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 DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
group-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
group-dropdown.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
group-notifications-button.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
icon-picker.js DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
list-setting.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02:00
mini-tag-chooser.js DEV: Add select-kit option to hide values from preview (#18002) 2022-08-19 11:39:58 -05:00
multi-select.js FIX: prevents multi-select to use noneItem for its list (#17523) 2022-07-18 11:26:12 +02:00
none-category-row.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05: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 A11Y: Fix several minor issues (#14436) 2021-09-24 11:52:07 -04:00
pinned-button.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
pinned-options.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
search-advanced-category-chooser.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
select-kit.js REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251) 2022-09-29 11:57:36 -03:00
selected-choice-category.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
selected-choice-color.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
selected-choice.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
selected-color.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
selected-flair.js FEATURE: Let users select flair (#13587) 2021-07-08 10:46:21 +03:00
selected-name.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02: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 FIX: uses new format for search tag endpoint to prevent issues (#15328) 2021-12-16 11:57:47 +01:00
tag-drop.js FIX: Hide tag count in tag filter when in a category context (#16327) 2022-03-31 12:57:27 +11:00
tag-group-chooser.js FEATURE: Allow multiple required tag groups for a category (#16381) 2022-04-06 14:08:06 +01: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 FIX: Regression in timezone name localizations (#15761) 2022-02-02 23:41:42 +01: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-chooser.js FEATURE: Use new topic-chooser for invite modal (#15884) 2022-02-14 13:43:52 +02: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: observes used properties in reason text (#14389) 2021-09-20 14:56:33 +02:00
topic-notifications-options.js DEV: Remove duplicate (and deprecated) SK option (#11435) 2020-12-08 13:21:02 -05:00
topic-row.js FEATURE: Use new topic-chooser for invite modal (#15884) 2022-02-14 13:43:52 +02:00
user-chooser.js FIX: register customOptions as select kit filter (#14933) 2021-11-17 17:12:19 +11:00
user-notifications-dropdown.js DEV: Fix typos and other spell-checker warnings (#17554) 2022-07-19 10:27:10 +08:00