Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    984
    Vote Rating
    47
    ssamayoa has a spectacular aura about ssamayoa has a spectacular aura about

      0  

    Default SA 2.1: Resources aren't editable

    SA 2.1: Resources aren't editable


    Release notes says:
    "Local JS and CSS Resources within the project are editable"

    But when you select "edit code" over css file, file is shown in the code editor but read only.

    I put the css file in app/css

    Why is read only?

    Do I have to put somewhere else to make it editable?

    Regards.
    UI: Sencha Architect 2.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Quote Originally Posted by ssamayoa View Post
    Release notes says:
    "Local JS and CSS Resources within the project are editable"

    But when you select "edit code" over css file, file is shown in the code editor but read only.

    I put the css file in app/css

    Why is read only?

    Do I have to put somewhere else to make it editable?

    Regards.
    Resources must reside within your project directory and you must unlock (via top left unlock button) to make them editable.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    984
    Vote Rating
    47
    ssamayoa has a spectacular aura about ssamayoa has a spectacular aura about

      0  

    Default


    Quote Originally Posted by aconran View Post
    you must unlock (via top left unlock button) to make them editable.
    Hahaha!

    I feel stupid, I didn't noticed the "unlock" button!

    For usability, shouldn't be in the other way? I mean, unlocked by default?

    Regards.
    UI: Sencha Architect 2.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    When these resources are unlocked Architect will own them and continue writing them back to disk. A lot of people are linking in built css from sass/less/etc, we don't want to touch those.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    4
    Vote Rating
    1
    ldoogs is on a distinguished road

      0  

    Default Return to un-editable state?

    Return to un-editable state?


    Once a file has been unlocked, is it possible to return it to the locked state (so that Architect no longer 'owns' it and continues writing to disk each time the project is saved)?

  6. #6
    Sencha - Architect Dev Team dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    93
    Vote Rating
    10
    dfoelber will become famous soon enough

      0  

    Default


    Hi,

    It is not possible to lock an unlocked file at the moment, but will be possible in the future.
    David Foelber
    @davidfoelber
    Sencha Architect Development Team