Resource Factory is a universal approach to originating, refining, and rendering Markdown, HTML, type-safe SQL, or other assets that could comprise static sites or engineering artifacts.
GNU Affero General Public License v3.0
0
stars
3
forks
source link
Move Control Panel from in-app routes to browser dev tools extension #42
We want our developer experience to be seamless so let's move Control Panel functionality from HTML into *.js or *.json bundles which can be used by a custom browser extension or other APIs to do developer inspections.
Turborepo has the "profiles" feature which they describe as "Profile in your browser: Generate build profiles and import them in Chrome or Edge to understand which tasks are taking the longest." We should do the same.
An interesting approach would be to not create a generic RF devtools extension but, instead, generate a custom devtools extension as an output of the site's build process. Basically, all diagnostics wrapped into an extension specific to that site?
We want our developer experience to be seamless so let's move Control Panel functionality from HTML into
*.js
or*.json
bundles which can be used by a custom browser extension or other APIs to do developer inspections.Basically the "Resource Factory Developer Tools" would be a pane/plugin in Chrome / Edge Chromium developer tools for inspecting internals.
Turborepo has the "profiles" feature which they describe as "Profile in your browser: Generate build profiles and import them in Chrome or Edge to understand which tasks are taking the longest." We should do the same.
An interesting approach would be to not create a generic RF devtools extension but, instead, generate a custom devtools extension as an output of the site's build process. Basically, all diagnostics wrapped into an extension specific to that site?
For additional debugging assistance supply some devtool code snippets.