locatorjs icon indicating copy to clipboard operation
locatorjs copied to clipboard

feat: highlighting functionality

Open infi-pc opened this issue 1 year ago • 0 comments

Problem

I would like to generalize Productboard's use-case that highlights all components based on some criteria (usually CSS selector)

https://github.com/infi-pc/locatorjs/compare/master...productboard:locatorjs:master

Solution

I think we could take this as a base: https://github.com/infi-pc/locatorjs/compare/master...productboard:locatorjs:master

I would add

  • query param support - when we get CSS selector in query param, it automatically highlights the components
  • UI support - when I input the CSS selector to the input field, it highlights the matching component on the go.

infi-pc avatar Oct 18 '22 08:10 infi-pc