Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Dev Inspector #1

Copy link
Copy link

Description

@ryanwelcher
Issue body actions

The developer showcase will feature a dev inspector mode that when toggled on, will provide visitors to the site with developer based information for a given item on the page.

At a high level, we'll need two blocks that use the Interactivity API:

  • A toggle button to enable/disable dev inspector mode
  • A wrapper block for the content that will be featured and provide a button to show the developer content.

Dev Inspector Toggle Block

This block will be a simple on/off that will control the global on/off state for the store

Dev Inspector Container Block

This block is used as a container block (similar to a group block) and will wrap other blocks.

It will have some Inspector Controls for the following:

  1. Text describing the feature/approach
  2. Link to relevant docs/articles
  3. Code snippet

When the "Dev Inspector" mode is enabled, the block will show a button that when clicked will display the three sections. Design is still TBD.

Check List

  • Basic scaffolding and registration of store
  • Two blocks: A toggle button and wrapper block used to display the content
  • Styling/approach for the content tabs provided by the container block cc @justintadlock
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.