patridge / learn-metadata-tool

Chrome extension for Microsoft Learn folks to find content maintainers and GitHub content pages.
https://chrome.google.com/webstore/detail/microsoft-learn-maintenan/kagphmnlicelfcbbhhmgjcpgnbponlda
MIT License
2 stars 0 forks source link

Pop-up duplicates across all tabs #72

Open patridge opened 2 years ago

patridge commented 2 years ago

(AKA Cannot display pop-up for multiple tabs simultaneously)

Repro steps

  1. Open two Learn modules side-by-side (or two AzDO customer feedback work items, but not one of each)
  2. On tab one, open extension pop-up
  3. On tab two, without closing pop-up on tab one, open extension pop-up

Expected result

Should show independent results for the two pages

Actual result

Shows the same pop-up for both pages. As it plays out, the first pop-up will update to the contents of the second pop-up the moment it is opened.

Sample

Screenshot of two Learn module tabs showing incorrectly identical extension pop-up details.

For these two pages, they should have different details, but the pop-ups are identical.

patridge commented 2 years ago

As hinted in repro steps, this doesn't happen between the pop-up for work items and Learn pages, only between two same-type pages. The system currently toggles pop-ups based on the contents of the page, which could hint at a workaround. Or, alternatively, maybe there is some "open each pop-up as an independent unit" option we should use.