UX: List popular themes and components in admin panel (#6997)

Reorganizes theme create/upload flows into one install flow
Adds quick list of popular themes/components with one-click installation
This commit is contained in:
Penar Musaraj
2019-02-20 14:58:31 -05:00
committed by GitHub
parent 4955ab1689
commit cafe637407
20 changed files with 556 additions and 285 deletions

View File

@ -12,5 +12,10 @@ export default Ember.Controller.extend({
@computed("model", "model.@each.component")
childThemes(themes) {
return themes.filter(t => t.get("component"));
},
@computed("model", "model.@each.component")
installedThemes(themes) {
return themes.map(t => t.name);
}
});