inspectdev / inspect-issues

Issue tracker for Inspect
22 stars 2 forks source link

Elements: Add feature to save/persist DOM location. #79

Open joshuaiz opened 3 years ago

joshuaiz commented 3 years ago

Hello...been loving Inspect - thank you.

Running into a pretty common workflow issue:

  1. Dig through DOM in Inspect to find target.
  2. Update stylesheets.
  3. Refresh/reload.
  4. Have to traverse the DOM all over again to find the same place.

^^ for highly nested DOM nodes this can get cumbersome. It would be great to be able to save a DOM node as a bookmark or reference point and be able to quickly jump back to that point after a refresh.

A logical place in the Inspect UI for this is shown here: CleanShot 2021-07-12 at 12 19 51

Don't know how hard this would be to add or how to handle the case when the DOM structure changes between reloads but would love to see this feature.

auchenberg commented 3 years ago

@joshuaiz Great suggestion!