discourse/app/assets/javascripts/admin/components
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
..
report-filters DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
site-settings REFACTOR: Remove `Discourse.Category` constants 2019-11-08 13:31:00 -05:00
ace-editor.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-backups-logs.js.es6 REFACTOR: Remove `debounce` to `discourseDebounce` 2019-11-11 13:34:01 -05:00
admin-directory-toggle.js.es6 DEV: Remove buffered rendering from admin-directory toggle 2019-11-25 18:09:18 -07:00
admin-editable-field.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-form-row.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-graph.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-nav.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report-chart.js.es6 FIX: Linting 2019-11-01 13:57:22 -04:00
admin-report-counters.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report-counts.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
admin-report-inline-table.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report-per-day-counts.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report-stacked-chart.js.es6 FIX: Linting 2019-11-01 13:57:22 -04:00
admin-report-storage-stats.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-report-table-cell.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-report-table-header.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-report-table-row.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report-table.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-report-trust-level-counts.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
admin-report.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-theme-editor.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-user-field-item.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-watched-word.js.es6 DEV: Fix failing test with watched words 2019-11-27 16:48:01 -07:00
admin-web-hook-event-chooser.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-web-hook-event.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-web-hook-status.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
admin-wrapper.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
cancel-link.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
color-input.js.es6 Revert "Revert Ember.run refactors" 2019-10-30 09:48:24 -04:00
email-styles-editor.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
embeddable-host.js.es6 REFACTOR: Remove `Discourse.Category` constants 2019-11-08 13:31:00 -05:00
embedding-setting.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
flag-user-lists.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
highlighted-code.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
inline-edit-checkbox.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
install-theme-item.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
ip-lookup.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
moderation-history-item.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
penalty-post-action.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
permalink-form.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
resumable-upload.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
save-controls.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
screened-ip-address-form.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
secret-value-list.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
silence-details.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
site-setting.js.es6 FIX: update action should be in setting-component mixin (#8287) 2019-11-02 18:24:41 +05:30
site-settings-image-uploader.js.es6 FEATURE: Upload Site Settings. (#6573) 2018-11-14 15:03:02 +08:00
site-text-summary.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
staff-actions.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
suspension-details.js.es6 REFACTOR: Remove `Ember.Component` global variable 2019-10-23 12:30:52 -04:00
tags-uploader.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
theme-setting-editor.js.es6 DEV: Refactor setting component save callback (#8261) 2019-10-29 12:01:45 -05:00
theme-setting-relatives-selector.js.es6 FEATURE: Ability to add components to all themes (#8404) 2019-11-28 16:19:01 +11:00
theme-translation.js.es6 DEV: Import every instance of Ember.computed function (#8267) 2019-10-30 15:28:29 -05:00
themes-list-item.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
themes-list.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
value-list.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
watched-word-form.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00
watched-word-uploader.js.es6 DEV: Move computed to discourseComputed (#8312) 2019-11-07 15:38:28 -06:00