Starcounter / DevTools

A browser extension that helps you debug Starcounter apps with ease
3 stars 1 forks source link

Better layout abstraction (using distributed content?) #1

Closed warpech closed 6 years ago

warpech commented 9 years ago

Currently, puppet-js-view-model-tree.html and html-imports-list.html have the same visual pattern, which is:

In order to make puppet-js-view-model-tree.html and html-imports-list.html layout-agnostic, this visual pattern should be moved to starcounter-debug-aid.html using distributed content.

In my opinion, the logic should be to treat all shadow root children of puppet-js-view-model-tree.html and html-imports-list.html as toolbars, except for the last child, which should be the scrollable view.

Would it work with distributed content, given that we can change Shadow DOM of puppet-js-view-model-tree.html and html-imports-list.html to Light DOM?

warpech commented 6 years ago

This is outdated. After migrating to the browser extension, the structure is completely different.