PDA

View Full Version : Sencha Architect aux extension example



petr.vecera
22 Mar 2017, 10:38 AM
Hello everyone

We have created quick SA aux extension example with quick guide https://github.com/petrvecera/SenchaArchitect-aux

Don't forget to check out the guides in the documentation:
http://docs.sencha.com/architect/4.1/guides/extending_architect/creating_user_extensions.html
http://docs.sencha.com/architect/4.1/guides/extending_architect/using_user_extensions.html
http://docs.sencha.com/architect/4.1/guides/reference/user_extension_structure.html
http://docs.sencha.com/cmd/guides/cmd_packages/cmd_creating_packages.html

There is also this older SA extension for inspiration https://github.com/gportela85/DateTimeField

- The Sencha Team

Carl.Wagar
23 Mar 2017, 10:52 AM
This is appreciated. It would be good to get a 'modern' version of it.

petr.vecera
6 Apr 2017, 2:33 PM
This is appreciated. It would be good to get a 'modern' version of it.
I have added the simple modern version of it. But really it's just the same as classic one just the view is rewritten for modern. You see, in Classic there are classes named "Ext.panel.Panel" in Modern you have "Ext.Panel".

I have also used dockedItem toolbar on the Panel which is not yet supported in Modern 6.2 Panel.

Btw you could create extension which is for both Classic and Modern because many of the core classes are the same but when it comes to the views, it could be tricky.

Carl.Wagar
7 Apr 2017, 6:06 AM
Ok thanks for the Modern version of it and the insights. Sorry to bother you for something so simple, but
we had been exclusively doing modern so this clarifies.
I see the addition there, at https://github.com/petrvecera/SenchaArchitect-aux
Will try it. Many thanks!
Carl