1. #1
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,400
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default Designer 2 Build #355 - released 4/2/2012 - Feedback wanted!

    Designer 2 Build #355 - released 4/2/2012 - Feedback wanted!


    We released Designer 2 Build #353 this morning and an additional patch in the afternoon #355. This update fixes a critical bug that was affecting many users in build #337 and #341. It also addresses the code generation issue users have reported in the below thread. You should notice a huge improvement in stability of Designer.
    • Changed designer.html/js to app.html.js
    • Fixed many bugs with the Code Editor
    • Added JSHint Support for Code Editor
    • Save the override class along with user component when using Save to Toolbox
    • Proper handling of the contentEl configuration
    • Support for Touch's Viewport event binding

    Please note that the main application files have been changed from designer.html/js to app.html/js. We have not deleted your old designer.html/js files in the event that you may want them. You can safely manually delete these. When looking at your application in the browser, be sure you launch app.html.

    The Code Editor has had a massive overhaul. We integrated JSHint support, we added the ability to switch between a light and dark theme. We improved the performance as well.

    Application and Controller no longer have "special" or "magic" functions that just appear in the code editors drop down at the top left. They must be explicitly added by clicking the plus button in the property grid.

    Basic and Advanced Mode - This was in previous builds but maybe not so apparent. We have reduced the configurations that appear by default in the bottom right hand config pane. By default you will only see the basic/common mode of the most frequently used configurations. You can toggle this by clicking the advanced mode at the top right of this pane. At all times, if you begin to search the configurations you will go into advanced mode.

    As always, we appreciate your feedback, comments and bug reports regarding the latest release. As we make our trek towards a solid GA release we will only be focusing on critical bugs that affect the stability of the product and/or affect your ability to complete a task within the Designer.
    Last edited by aconran; 2 Apr 2012 at 2:13 PM. Reason: #355 with fix for codegen
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,323
    Vote Rating
    187
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default


    Changed designer.html/js to app.html.js


    This hurts me a little since I wrote my own app.html which I customized for my needs.

    Code editor's themes are better now.

    I feel that this build is more stable but just used for a couple of hours.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,323
    Vote Rating
    187
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default


    Quote Originally Posted by oscmejia View Post
    1) The code editor doesn't have color highlights anymore.
    Someone already found that problem. Just go to Edit > Designer Settings > Code Editor Theme, select one then syntax highlight will work again.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    24
    Vote Rating
    0
    oscmejia is on a distinguished road

      0  

    Default Some Issues

    Some Issues


    I just upgraded designer and when I opened a project it asked me to upgrade it as well.
    Two issues so far:

    1) The code editor doesn't have color highlights anymore.
    2) Some button events are now not been listened by their controllers.

    Any ideas why?

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    117
    Vote Rating
    11
    Sottilde will become famous soon enough

      0  

    Default


    Quote Originally Posted by oscmejia View Post
    1) The code editor doesn't have color highlights anymore.
    See here. TL;DR - change your editor theme in Preferences.

  6. #6
    Sencha Premium Member
    Join Date
    Aug 2008
    Posts
    51
    Vote Rating
    7
    TonySteele is on a distinguished road

      0  

    Default Controllers now not working

    Controllers now not working


    Its generating the following code:

    Code:
    Ext.define('Desktop.controller.Desktop', {
        extend: 'Ext.app.Controller',
    
    
        stores: [
            'Applications'
        ]    views: [
    
    
            'DesktopPanel',
            'TaskBar',
            'ShortCutsView',
            'Desktop'
        ],....
    

  7. #7
    Sencha User
    Join Date
    Jan 2012
    Posts
    2
    Vote Rating
    0
    guntiso is on a distinguished road

      0  

    Default controllers

    controllers


    1. I used customized app.js, now it is generated and 'controllers' section is missing. What is the new recommended way to get controllers up and running?

    2. Controllers with both stores and views are generated invalid (missing comma), diff sample:
    stores: [
    'MyStore'
    - ],
    - views: [
    + ] views: [

  8. #8
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,323
    Vote Rating
    187
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default


    Quote Originally Posted by TonySteele View Post
    Its generating the following code:
    Reproduced.

    Wow!

    This is a critical bug!
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  9. #9
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,323
    Vote Rating
    187
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default Deploy works only after save

    Deploy works only after save


    Deploy works only after save.

    If you deploy before save changed objects arent deployed.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  10. #10
    Sencha User
    Join Date
    May 2009
    Posts
    104
    Vote Rating
    0
    PV-Patrick is on a distinguished road

      0  

    Default


    I second the code issue, my app is now broken with this upgrade.
    Code:
        models: [
            'Customer'
        ]    stores: [
            'Customer'
        ]    views: [
            'MainContainer'
        ],