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

Dojo 2 Development Tooling #227

Open
agubler opened this issue Jan 15, 2018 · 0 comments
Open

Dojo 2 Development Tooling #227

agubler opened this issue Jan 15, 2018 · 0 comments
Labels

Comments

@agubler
Copy link
Member

agubler commented Jan 15, 2018

Epic

Dojo 2 has a requirement to provide an elegant, simple to use development tool that can be activated externally for any Dojo 2 application.

There is an existing POC for a devtool extension that leverages a secondary package for adding the diagnostics information required.

We need review these two POCs and determine how to take them forward to achieve the end goals for Dojo 2 developer experience. @edhager has started a review of the devtool poc and added an issue with some ideas for future enhancements

The current diagnostics package is currently responsible for wrapping relevant Dojo 2 modules which involves hooking into aspects of the lifecycles. This approach is functional but has potential drawbacks in terms of maintainability and requiring knowledge of private package internals. One potential alternative would be to include the required hooks within each package behind a flag.

Potential Ideas (may already be in Ed's enhancement list):

  • Re-render highlighting
  • Live widget tree
  • Performance statistics (specifically when RAFs overruns)
  • Live Event logs with filtering and categories (including Dom events)
  • Inspect specific widget(s) and see live events relating to it
  • Make the widget tree look more like the dev tools elements view (i.e. inline attribute/properties)
  • Updating properties via the widget tree that triggers a these to re-render
  • Click through to functions on the widget (and map to source code)
  • Detection for what features the devtool supports that the app is using (i.e. shouldn't show the stores icon if the application is not using stores)

Ideally we're looking for simply being able to install the dev extension and run the build with the devtool flag set to true.

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

No branches or pull requests

1 participant