Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create simple extension which can load & process .fbp files #1

Open
rhalff opened this issue Dec 4, 2014 · 0 comments
Open

Create simple extension which can load & process .fbp files #1

rhalff opened this issue Dec 4, 2014 · 0 comments

Comments

@rhalff
Copy link
Member

rhalff commented Dec 4, 2014

Server part will serve the .fbp files available, but also all other assets.
Most of this can be done by fb-flo.

The files list should also be send back to the extension so a file tree can be presented.
Each file is then editable within the editor.

Modified files are send back to the server and regenerated as browserified bundle.
This bundle is then automatically updated within the browser.

https://chromium.googlesource.com/chromium/blink/+archive/master/Source/devtools.tar.gz

For display of connection data the datagrid could be used along with a treepanel.
Each connection would be able to show it's historic data (up to a certain amount)

WebInspector.DataGrid: https://github.com/psichi/chix-epoch/blob/master/reference/devtools/front_end/components/CookiesTable.js#L57

Network panel can be used to show the nodes:

  • Node name
  • Status
  • Type
  • Timeline (execution times)

WebInspector.SourcePanel: https://github.com/psichi/chix-epoch/blob/master/reference/devtools/front_end/sources/SourcesPanel.js
Contains the main layout setup, for this extension it can be simpler.

Contains example for the navigator:
https://github.com/psichi/chix-epoch/blob/master/reference/devtools/front_end/sources/SourcesNavigator.js

Can probably be used as is:
https://github.com/psichi/chix-epoch/blob/master/reference/devtools/front_end/sources/SourcesView.js

https://developer.chrome.com/extensions/devtools#devtools-ui

Editor is codemirror, could be made to understand .fbp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant