discourse/app/assets/javascripts/admin/models
Krzysztof Kotlarek b120728999
FEATURE: Ability to add components to all themes (#8404)
* FEATURE: Ability to add components to all themes

This is the first and functional step from that topic https://dev.discourse.org/t/adding-a-theme-component-is-too-much-work/15398/16

The idea here is that when a new component is added, the user can easily assign it to all themes (parents).

To achieve that, I needed to change a site-setting component to accept `setDefaultValues` action and `setDefaultValuesLabel` translated label.
Also, I needed to add `allowAny` option to disable that for theme selector.

I also refactored backend to accept both parent and child ids with one method to avoid duplication (Renamed `add_child_theme!` to more general `add_relative_theme!`)

* FIX: Improvement after code review

* FIX: Improvement after code review2

* FIX: use mapBy and filterBy directly
2019-11-28 16:19:01 +11:00
..
admin-dashboard.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
admin-user.js.es6 DEV: Remove Discourse.User and import instead 2019-11-13 15:34:30 -05:00
api-key.js.es6 FIX: computed is part of `@ember/object` not `@ember/object/computed` 2019-11-13 11:58:09 -05:00
backup-status.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
backup.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
color-scheme-color.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
color-scheme.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
email-log.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
email-preview.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
email-settings.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
email-style.js.es6 FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
email-template.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
flag-type.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
incoming-email.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
permalink.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
report.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
screened-email.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
screened-ip-address.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
screened-url.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
site-setting.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
site-text.js.es6 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
staff-action-log.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
theme-settings.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
theme.js.es6 FEATURE: Ability to add components to all themes (#8404) 2019-11-28 16:19:01 +11:00
tl3-requirements.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
user-field.js.es6 DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
version-check.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
watched-word.js.es6 REFACTOR: Remove `Discourse.Model` 2019-11-08 14:13:35 -05:00
web-hook.js.es6 DEV: Remove Discourse.Site in favor of import (#8344) 2019-11-13 12:13:47 -05:00