Skip to content

Jaspr DevTools #788

Open
Open

Description

@schultek

☂️ Umbrella / planning issue for designing integrated devtools for Jaspr.

Goals

I would like to create a suite of inspection and debugging tools for Jaspr, similar to the Flutter DevTools. With these tools the developer should be able to:

Implementation

The devtools should come in two complementary forms:

  1. A standalone devtools app, served in addition to the project on a separate port. The devtools app can show:

    • The client-side component tree with metadata and state
    • Th list of client components with synced state, other synced data
    • The server-rendered component tree and performance graph
  2. A toolbar embedded on the running site. This allows for quick access to tools as well as showing overlays e.g. when highlighting elements. One inspiration for this is the Astro Dev Toolbar. The toolbar can show:

    • Inspect button to trigger element highlighting and selection
    • Client component highlighting + quick info
    • Other quick info / access, e.g. link to docs, discord etc.
    • Settings, e.g. toggle verbose logging, adjusting toolbar placement etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions