| Commit message (Collapse) | Author | Age |
|
|
|
| |
Added a temp patch to enable preview from code view when viewing HTML document (with design view). This does not save external assets, so CSS and components will not be saved.
|
|
|
|
|
|
|
|
|
|
|
|
| |
options component in document bar
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Conflicts:
js/document/views/design-code.js
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
|
|
|
|
|
|
|
|
| |
Todo:
- Cleanup and remove listeners
- Finish stage reload
- Add remaining bindings.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
| |
|
|
|
|
| |
Added a method to switch views from code and design. (Code is not currently supported)
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
js/components/layout/tools-list.reel/tools-list.html
js/components/layout/tools-properties.reel/tools-properties.html
js/document/document-html.js
js/document/templates/app/main.js
js/panels/Panel.reel/Panel.js
node_modules/montage/ui/native-control.js
Signed-off-by: Armen Kesablyan <armen@motorola.com>
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed the currentSelectedContainer by removing bindings and using property change on the current document
added the red outline back.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
| |/
| |
| |
| | |
Added a temp prompt component and added on before close logic to ensure user does not lose data if the file needs saving when they close.
|
|/
|
|
| |
Signed-off-by: Armen Kesablyan <armen@motorola.com>
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
js/document/models/html.js
js/document/views/design.js
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
The elementModel is now a getter that will create a new model when needed.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
| |/
|/|
| |
| | |
Also set up for tracking ID created, will be adding support for parsing files without saving later, but flag is now present.
|
|/
|
|
| |
Removed reference of model in design view, clean up slightly, need to implement binding later.
|
|
|
|
| |
This is for chrome preview, also fixed other preview bug with plain files not opening in preview.
|
|
|
|
| |
This fixes an issue with launching preview before libraries were copied, hence, first time run would fail. Need to add a feedback screen for this process.
|
|
|
|
| |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
| |
| |
| |
| | |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|/
|
|
|
|
|
|
| |
- using array controller to bind the current document to all ninja components
- removed open document event
- removed references to the document controller
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|
|
|
| |
Moved to reference new model in DOM architecture rework. This should not affect anything, just moving the references, and also the setting to the render methods in the design view.
|
|
|
|
| |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|\
| |
| |
| |
| | |
Conflicts:
js/document/document-html.js
|
| |
| |
| |
| |
| |
| |
| | |
- switching between multiple code and design view documents
- Note: closing of documents, when multiple documents are open, is not yet implemented
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
| |
| |
| |
| | |
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
| |
| |
| |
| | |
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
| |\ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
|
| |/
|/| |
|
| |
| |
| |
| | |
Moved dirty marker clearing code to model.
|
| |
| |
| |
| | |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|/
|
|
| |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|
|
|
| |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|
|
|
| |
Only for saving basic components without a reel.
|
|
|
|
| |
Also setting up for Montage component serialization.
|
|\
| |
| |
| | |
github.com:Motorola-Mobility/ninja-internal into dom-architecture
|
| | |
|
|/
|
|
| |
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
|
|
|
|
| |
Adding file save for templates, completing I/O.
|
|
|
|
| |
This is supported for NEW and OPEN, SAVE is not supported yet by I/O. Saving works, but it will not be a banner template.
|
| |
|
|
|
|
| |
The template creator is currently not returning serializing code, but does clean the document. Need to investigate reason why, currently all components are removed on save.
|