Pebble-Backup / cloudpebble

CloudPebble source. Here be dragons.
http://cloudpebble.net/
MIT License
1 stars 0 forks source link

Add HTML editor #18

Open tbe opened 7 years ago

tbe commented 7 years ago

Issue by ron064 Sunday Feb 16, 2014 at 02:34 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT Originally opened as https://github.com/pebble/cloudpebble/issues/27


Many projects need HTML config file, so I think it should be included in the project (and imported/exported to GitHub when possible.) It can be base for many improvements like auto-generation of config files(maybe with JS and C part as well), hosting the config file on Pebble server, or embed it into the JS file. I'm guess there should be some good open source editor that is in similar enough environment to be easier to integrate.

tbe commented 7 years ago

Comment by Katharine Sunday Feb 16, 2014 at 02:35 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


The ordering on this issue is wrong – first a destination needs to be decided, then we can have an editor.

tbe commented 7 years ago

Comment by ron064 Sunday Feb 16, 2014 at 02:45 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


Most Pebble projects on GitHub have html file, even if a user wants to import a project, update some things and test it, the html editor part is missing. Default destination can be hosting on some pebble server. the traffic of config files is too low to bother anyone.

tbe commented 7 years ago

Comment by unwiredben Wednesday Jul 22, 2015 at 16:19 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


I'm personally fine using GitHub's editor for those files works fine. I like having CloudPebble just focused on the parts that go directly on the watch/phone. As long as it doesn't touch my "gh-pages" branch or the files in the root/other folders, I'm happy.

tbe commented 7 years ago

Comment by ron064 Saturday Oct 17, 2015 at 10:38 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


The support for HTML keep popping out:

215, #35

Now that Slate is the official pebble config method, I'd expect that CloudPebble will support it properly. For example the video made for Slate shows as if a Linux development environment is required to develop config page, and this is exactly the opposite of what cloudPebble is suppose to be helpful with. Adding automatic hosting for slate files made in CloudPebble is also very logical.

Personally I prefer full support for HTML files including the import/export, But if slate is the way to go, it is totally acceptable, It is even possible to add wizard that add slate fields by type.

tbe commented 7 years ago

Comment by Katharine Saturday Oct 17, 2015 at 18:01 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


Slate is not officially supported.

tbe commented 7 years ago

Comment by ron064 Sunday Oct 18, 2015 at 01:23 GMT # Sample: Friday Sep 13, 2013 at 22:58 GMT


Well Slate is part of pebble official documentation: http://developer.getpebble.com/guides/pebble-apps/pebblekit-js/app-configuration/#building-beautiful-configuration-pages

The fact is that making configuration page for pebble application is very complicated task that require knowledge in several fields. The increased complexity reduces the quality of configuration pages that many independent developers can make.