devtools icon indicating copy to clipboard operation
devtools copied to clipboard

TODO

Open antfu opened this issue 1 year ago • 2 comments

  • [ ] Small tasks: Search TODO in the codebase

core

  • [x] Don't crash on RPC errors
  • [x] Dock Panel Type @antfu
    • [x] iframe
    • [x] action
      • "Dock as an action button" to run the user script. We need to define a setup context and pass through
    • [x] webcomponent
    • [x] launch button
      • Similar to Nuxt DevTools, to provide a launch page for lazy initialization
    • [x] custom view
      • Give a root element for the user to render themself (other frameworks like React, etc.)
  • [x] Dock Sorting
  • [x] Dock Catagorizing
  • [x] Dock Show More
  • [x] Throw error in ID collision of ctx.rpc.register and ctx.docks.register
  • [x] Support ctx.rpc.update()
  • [x] Support ctx.docks.update() with client-side broadcast to update reactively

core/webcomponents

  • [x] Setting Page
  • [x] Context Menu for each Dock
    • [ ] Refresh page
    • [x] Show address bar
    • [ ] "Remove from dock"

core/standalone

  • [ ] "LanuchPad" like UI for selection entries

vite

  • [ ] Visualize chunk/assets size in nanovis
  • [ ] Build dev mode adapter (similar to vite-plugin-inspect, enumlate rolldown's output)

kit

  • [ ] Introduce valibot to rpc interface, for better type generation and API verification, etc.
  • [x] Make client-side RPC for broadcasting
  • [ ] APIs for parent frame communication (consider iframe and webext, end standalone (disabled) cases)

Integrations

  • [ ] Try to integrate with Vitest UI
  • [ ] Try to integrate with Oxlint Visualizer
  • [ ] Try to integrate Nuxt DevTools
  • [ ] Build an UI for "Vite DevTools itself", to display avaiable rpc functions etc.
Done
  • [x] Chunks graph view @webfansplz (#84 )
  • [x] Virtual List @webfansplz (#80 )
  • [x] Plugins performance metrics @webfansplz
    • [x] Plugin flow (#76 )
    • [x] Plugin flamegraph (#79 )
  • [x] Add search panel for assets @webfansplz (#51 )
  • [x] Module detailed list @webfansplz (#50 )
  • [x] Assets treemap @webfansplz (#41 )
  • [x] Assets list/folder @webfansplz (#26 )
  • [x] Asset details @webfansplz (#18 )
  • [x] Additional View to /graph to show nested folder-like structure, similar to https://unocss.dev/tools/inspector @webfansplz (#10 )
  • [x] Module imports relationships @webfansplz (#11 )

antfu avatar Jul 03 '25 01:07 antfu

#12 Hope it can be helpful 🥺

luoling8192 avatar Jul 12 '25 10:07 luoling8192

I am trying trying to work on the imports displaying in chunk details (one of todos in #12) the todo is at the line 30 of this file (permalink)

the PR will be submitted shortly. Thanks!

liangmiQwQ avatar Aug 18 '25 08:08 liangmiQwQ