Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement extension options to enable/disable the link creation feature based on Regex patterns. #2

Open
thadguidry opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@thadguidry
Copy link
Owner

thadguidry commented Jun 21, 2024

It would be nice to also enable Extension options popup panel like other extensions do.
This seems to need interaction for the extension icon so that when users click the icon to invoke an action it can invoke a feature or open a popup. See https://developer.chrome.com/docs/extensions/develop/ui#actions

I think a popup makes it easier to use for users.
In the popup the options could include some direct toggles ON/OFF sliders for some Regex patterns like the following:

Create links only for the following found patterns:
[ ] - Entity ID wrapped in double quotes ex. "Q1234"
[ ] - Entity ID pattern found in <code> spans ex. <code>P180=Q5</code>

Details: https://developer.chrome.com/docs/extensions/develop/ui/add-popup

@thadguidry thadguidry added enhancement New feature or request help wanted Extra attention is needed labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant