nt1m / livemarks

Extension that restores RSS Feed Livemarks in Firefox.
https://addons.mozilla.org/firefox/addon/livemarks/
MIT License
227 stars 23 forks source link

Add context menu editor #295

Open LaurentGrenet opened 3 years ago

LaurentGrenet commented 3 years ago

First of all, many thanks to have implemented in last version the "Open all unread pages" I suggested some time ago. It works fine, and is really useful. Thank you.

Nevertheless, it would be even more useful if this new menu was more directly accessible.

With current implementation, this menu is available as a sub menu of "Livemarks" menu, itself available with right clic on "live bookmark" entry. This requires at least two clics and a mouse move to be activated. Not really complicated, but wouldn't it be possible to rather implement this new menu (and also the "Reload live bookmark" available n the same "Livemarks" menu) at the bottom of the (automatically opening) list of all entries, just beside (before or after) the "Open all in tabs" automatically added by Firefox ? Or at the top of the list of entries, where there is already the optional bookmark to the site ?

nt1m commented 3 years ago

Glad you're enjoying the new menu item :) Unfortunately, we can't really do either options you've suggested with the current API. In the menu with all the feed entries, we can only add links to websites, not menu items that add functionality. Whereas for the context menu, Firefox automatically organises things this way. One thing we could consider doing is making context menu items configurable (e.g. configure which ones you'd like to show).

LaurentGrenet commented 3 years ago

Thanks for answering. I'm not surprised by your answer. I asked only "in case it's feasible", but I thought it was not... since the "open all" in the bottom of entries doesn't come from your extension, but from FFx itself.

But doesn't really matter. Your extension is already very useful, even with its current GUI.

Once again, thanks a lot

hyde-stevenson commented 3 years ago

Thanks indeed ! Really helpful and to rebound on this thread, I was wondering if shortcuts/keybindings could be an other option ?

I just installed the last ff developer version and the menu disappeared :/

nt1m commented 3 years ago

@hyde-stevenson I can look into keyboard shortcuts, but can you be more specific which kind? Would it be something that works after showing a certain bookmark folder (might not be possible with current APIs)? We could definitely add less context specific ones though.

Regarding context menu item ease-of-access, I think the only way is an UI to show/hide context menu options, and normally if there's only one visible option left, it becomes the main option (if I understand the API properly).

hyde-stevenson commented 3 years ago

Actually I found out a solution since I'm using tridactyl, the vim in your firefox plugin :)

I wrote a thing about it here :

https://lazybear.io/posts/tridactyl-and-rss/