Open luongngocminh opened 6 months ago
Good idea. I'll see what I can do.
A new version has now been published. Please give it a go and let us know.
Sorry for the late response. This is great, nice job, although having a context menu button on every url to "Add to Freedium" would be a much better UX imo. It could be just adding a basic base wildcard url like "://
It makes sense to have an easier way to add a new domain to the config.
But I cannot add a new context menu item. We currently have a "Open in Freedium" context menu item already, and if we add one more, this will turn into a sub-menu.
UX wise, having a sub-menu is a bit of a disaster because the user will need to move the cursor to the sub-menu and wait a split second then move the cursor to the desired item. This will surely annoy users.
However! I can add a new button to the options page above the Save button that says "Apply to All Domains & Save", and maybe another one that says "Add Current Domain & Save".
Do you think this is acceptable? Any thoughts?
Isn't the "Add domain to Freedium" only visible when it's not possible to "Open in Freedium", so it can only be one context menu item at a time? Is it possible to interchangeably choose one over the other to display on the context menu?
Currently the context menu can only detect if the domain is an official .medium. host. This will not work on other dedicated domain such as https://levelup.gitconnected.com.
The solution is to design a way for user to add custom domain that the context menu will be trigger upon clicking