Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

WIP: Introduces a new design for web-inspector#2030

Open
ronaldosilva wants to merge 1 commit intosolettaproject:masterfrom
ronaldosilva:web-inspector
Open

WIP: Introduces a new design for web-inspector#2030
ronaldosilva wants to merge 1 commit intosolettaproject:masterfrom
ronaldosilva:web-inspector

Conversation

@ronaldosilva
Copy link
Copy Markdown

This is an UI implementation to visualyze flow data that
is being generated by Soletta.

This patch adds the basic features/images of the
tool.

Signed-off-by: Ronaldo Pereira ronaldo.silva@intel.com

This is an UI implementation to visualyze flow data that
is being generated by Soletta.

This patch adds the basic features/images of the
tool.

Signed-off-by: Ronaldo Pereira <ronaldo.silva@intel.com>
@ronaldosilva
Copy link
Copy Markdown
Author

This is a WIP patch, please do not merge it already. It misses some needed functionalities.

Could you guys please start reviewing this patch ?


this.name = params["name"];
this.value = params["value"];
this.type = params["type"] || "in";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you receiving empty type? That shouldn't happen

@bdilly
Copy link
Copy Markdown
Contributor

bdilly commented May 13, 2016

@ronaldosilva regarding licenses, please add it on all files, just like you have done with style.css

It would be nice to have a license for image assets as well. Maybe CC or whatever that makes sense for you. I suppose you're doing the same on Soletta Dev-App.

this.raw = JSON.stringify(payload, null, 4);
this.key = key;
this.widgetName = payload.id; //change to 'name ?'
this.uid = payload.path[payload.path.length-1];
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, but you should also save payload.path somewhere and have some parenting/container. This will happen when you have flows that use sub flows. I'm not sure how to represent that in a nice graphical way. To the parent flow, the internal is represented as a single node with input and output ports. We can either "click to enter/expand" or show inlined with some graphical delimiter.

@barbieri
Copy link
Copy Markdown

@ronaldosilva nice work, man! I did many comments (as usual in my reviews) and I believe the engineers can help a bit to improve the data structures in the JS, but that's minor. Keep working and once you're happy with the inspector UX we can help with that.


'use strict'

function Modal(){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split the { from the Modal()

function Modal() {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants