markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Options are not updated when extension details are modified

Open jsejcksn opened this issue 6 years ago • 2 comments

Reproduction steps:

  1. Add a new URL item via the options view: chrome-extension://ckkdlimhmcjmikdlpkmbgfkaikojcbjk/content/options.html

  2. Remove the item in the extension details view: chrome://extensions/?id=ckkdlimhmcjmikdlpkmbgfkaikojcbjk

What should happen:

Two-way binding between options view ↔️ extension details

URL item is removed from options view

What is observed:

One way binding: only options view ➡️ extension details

URL item persists in options view with a "refresh" label

jsejcksn avatar Mar 10 '19 03:03 jsejcksn

Also, it appears that only Add operations actually affect the extension details. Removing an entry from the options view does not remove it from the extension details.

jsejcksn avatar Mar 10 '19 03:03 jsejcksn

These are good observations. However, I'm not sure how exactly these new options relate to this extension. Clearly what's shown in the details page is not correct, at least on my side.

This extension have built-in support for managing origins, that in my opinion is better that what Chrome offers in the Details view. So until Chrome improves that UI, I recommend using the built-in UI in this extension instead.

You can read about the Refresh button here.

simov avatar Mar 10 '19 08:03 simov