discourse/app/assets/javascripts/select-kit/addon/components
Roman Rizzi ba139b8c23
REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251)
* REFACTOR: Improve reusability by Decoupling flag modal from flag target.

We want chat message's flags to have the same features as topic and posts' flags, but we prefer not having to duplicate core's logic. This PR moves target specific bits to different classes, allowing plugins to flag custom things by
providing their own.

* A couple of fixes for the flag modal:

- Make sure buttons are disabled until a flag type is selected.
- Don't throw an error when checking if the user can undo an action on a deleted topic.
- Disable flagging on deleted topics.
2022-09-29 11:57:36 -03: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
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
notifications-filter
period-chooser
select-kit FIX: change event target on select kit row (#16960) 2022-06-01 14:49:04 +08:00
tag-drop
toolbar-popup-menu-options DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
user-chooser
categories-admin-dropdown.js DEV: Fix typos and other spell-checker warnings (#17554) 2022-07-19 10:27:10 +08:00
category-chooser.js DEV: Extensively use includes() (#17541) 2022-07-17 20:48:36 +02: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
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
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
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
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
notifications-filter.js
period-chooser.js A11Y: Fix several minor issues (#14436) 2021-09-24 11:52:07 -04:00
pinned-button.js
pinned-options.js DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
search-advanced-category-chooser.js
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
tag-chooser-row.js
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
tag-row.js
tags-intersection-chooser.js
timezone-input.js FIX: Regression in timezone name localizations (#15761) 2022-02-02 23:41:42 +01:00
toolbar-popup-menu-options.js
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
topic-notifications-button.js DEV: observes used properties in reason text (#14389) 2021-09-20 14:56:33 +02:00
topic-notifications-options.js
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