oddsdk / odd-devtools

An extension to help developers use the Webnative SDK
Apache License 2.0
2 stars 1 forks source link

TRACKING: ODD Devtools browser extension #2

Open bgins opened 1 year ago

bgins commented 1 year ago

The ODD Devtools extension provides developers a devtools panel with information for debugging their ODD applications.

It should display the following information:

The information should only be exposed when the developer has set debug to true when initializing an ODD program.

Milestone 0.1

Tasks

Dependencies

Milestone 0.2

No milestone

jeffgca commented 1 year ago

Once we get through Milestone 0.1 we should run the design past nicoth and other relatively engaged devs to get feedback.

depatchedmode commented 1 year ago

Overall

Needs an instructional state "Webnative wasn't detected on this page. You have to set DEBUG to true."

Filesystem view

We'll start with an event log. Highest value starting point, and simpler to implement.

Concerns:

Extra credit metadata:

Questions Filesystem tree helps answer:

Capabilities:

Show which resources this app has been granted access to via UCANs.

depatchedmode commented 1 year ago

Okay, here's my pencil sketch:

image

And the disconnected state:

image

Right now the settings pane would probably not contain much, but I'm following the tab pattern that Vue Devtools uses because we'll expand beyond just the event log in the near future. Was considering tossing some of the more stable session / app data in that pane, but it feels like it would be more ergonomic to have it available in the payload pane next to the event data for ease of access.