discourse/app/assets/javascripts
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
..
admin DEV: refactor bootbox alerts (#18292) 2022-09-27 14:47:13 -04:00
confirm-new-email DEV: Update linting setup and fix issues (#17345) 2022-07-06 10:37:54 +02:00
discourse REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251) 2022-09-29 11:57:36 -03:00
discourse-common Build(deps): Bump webpack in /app/assets/javascripts (#18214) 2022-09-11 22:35:55 +02:00
discourse-ensure-deprecation-order DEV: Silence 3.x deprecations 2022-07-19 10:00:59 +01:00
discourse-hbr Build(deps): Bump webpack in /app/assets/javascripts (#18214) 2022-09-11 22:35:55 +02:00
discourse-plugins Build(deps): Bump ember-cli-htmlbars in /app/assets/javascripts (#18212) 2022-09-11 14:53:34 +02:00
discourse-widget-hbs Build(deps): Bump webpack in /app/assets/javascripts (#18214) 2022-09-11 22:35:55 +02:00
docs DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
ember-addons DEV: Remove ember-addons (#9559) 2020-04-28 10:14:49 -04:00
ember-cli-progress-ci DEV: Add progress output in CI during ember-cli build (#17977) 2022-08-17 22:39:52 +01:00
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
select-kit REFACTOR: Improve reusability by Decoupling flag modal from flag target. (#18251) 2022-09-29 11:57:36 -03:00
truth-helpers DEV: adds includes helper to templates (#18259) 2022-09-15 14:20:37 +02:00
wizard DEV: refactor bootbox alerts (#18292) 2022-09-27 14:47:13 -04: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
discourse-js-processor.js DEV: Use DiscourseJsProcessor for theme template compilation (#18135) 2022-09-01 11:50:46 +01:00
handlebars-shim.js FIX: It seems sometimes shims are evaluated by older JS engines (#11813) 2021-01-22 10:41:01 -05:00
mini-loader.js DEV: Support inline-hbs compilation in themes (#18112) 2022-08-29 19:53:42 +01:00
package.json DEV: Introduce flag for compiling Plugin JS with Ember CLI (#17965) 2022-08-22 09:56:39 +01:00
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
service-worker.js.erb DEV: Rename secure_media to secure_uploads (#18376) 2022-09-29 09:24:33 +10:00
yarn.lock Build(deps): Bump @babel/core in /app/assets/javascripts (#18388) 2022-09-28 12:48:09 +02:00