vuejs / vuejs/devtools

Enhance support for capabilities within the devtools-api

Open
#537 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

devtools api
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Hello!
Thank you for your amazing project!
I have a question.

Recently addCustomTab has been supported. Its API supports iframe, so 3rd tools gives us more freedom for debug tools.
https://devtools-next.vuejs.org/plugins/api#addcustomtab

Currently, I seems that it does not support RPC, are there any plans to do so in the future?

I know from reading the source code that vite-plugin-insect is integrated using addCustomTab.
vite-plugin-insect uses vite's RPC and negociates with its vite dev server and browser client.

I hope that support the RPC between the iframe side and on the vue devtools side.

Originally posted by @kazupon in https://github.com/vuejs/devtools-next/discussions/112#discussioncomment-10105588

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing addCustomTab API and the vite-plugin-insect integration described in the issue. Determine how RPC would connect the iframe side with the devtools side, then define and test the intended communication behavior; done means addCustomTab integrations can use that RPC channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
devtools, typescript
Domain
api, developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.