NativeScript / playground-feedback

Feedback for NativeScript Playground
Apache License 2.0
16 stars 1 forks source link

Fast styling of NS apps #54

Open vedranstanic82 opened 6 years ago

vedranstanic82 commented 6 years ago

I will try to be brief:

Let me know if I was not clear enough.

Thanks!

radeva commented 6 years ago

Thanks for your feedback @vedranstanic82! We plan to integrate the Playground experience with the in the CLI probably in 4.3 which is I think exactly what you're describing. Have in mind that it will have the same limitations the Playground has now regarding the plugins that can be used.

Could you share more info about:

vedranstanic82 commented 6 years ago

@radeva that is great news! Now that i have set up a small mockup screen in playground it is much easier to play with the CSS etc. Super fast. I would recommend to anyone except if there is an easier way.

I use CSS. tns debug ios VSCode to edit and save css files, but the tns debug ios is running from the Mac terminal (not VSCode terminal) Mac

radeva commented 6 years ago

@vedranstanic82 currently there is an issue with tns debug always restarting the app. Till it's fixed you can try using tns run. Let me know if it works for you.

RoyiNamir commented 6 years ago

@radeva Sorry to interfere , but why does a restart when changing the XML is a problem ? isn't it suppose to be like this ? Consider a situation where i changed XML , must I go to the TS file and add a space and save it , just to trigger a change ?

vedranstanic82 commented 6 years ago

Hi @radeva,

I tried using tns run ios from the Mac terminal and changing a CSS file (color of text from one color to another) and the app reloaded as well. Although it was quick - 10 seconds, it's still not fast enough for pixel pushing as i had to click though the app again to get to the right screen. The Playground way of reloading I believe handles XML changes in milliseconds as well which is awesome. It just takes too long to recreate a dumbed down/simplified isolated page in Playground, but once you do it it's totally worth it - for me at least. Looking forward to a local version of this functionality!