Work for me!
2018-4-29
Glad it worked, but It is always better to post code than pictures of code.
Thanks for reply
original post have all these code,
itâs not necessary for me to post code again.
The purpose of these picture is to show it work, give viewer a big picture view
(not for viewer to copy&paste)
(code in code editor have nicer code highlight)
If anyone runs into a testing error, I had to add id="show-tentacle" to the button component to get the tests to pass in part 6 of the tutorial:
<div class="buttons">
{{d-button label="purple_tentacle.show" action="showTentacle" icon="eye" id="show-tentacle"}}
</div>
I found the Ember routing didnât work until I commented out path: '/plugins' in the route-map file:
export default {
resource: 'admin.adminPlugins',
// path: '/plugins',
map () {
this.route('watch-mute')
}
}
For some reason Ember was expecting a route at adminPlugins/watch-mute not at adminPlugins/plugins/watch-mute. Is this something I did wrong upstream in the routing call chain, or has something changed in the way Discourse/Ember handles these?
Il plugin discourse-akismet collegato, tra lâaltro, non ha quellâinterfaccia amministrativa/scheda/codice. La buona notizia è che un altro plugin, GitHub - discourse/discourse-data-explorer: SQL Queries for admins in Discourse ¡ GitHub, ce lâha.
11 post sono stati divisi in un nuovo argomento: Come eseguire codice lato server quando si fa clic su un pulsante?
Ciao, volevo solo segnalare che ho trovato un errore nella documentazione alla riga 116.
Ho aperto una pull request.




