captn3m0/hackertray

How to tackle comments?

captn3m0 opened this issue · 10 comments

My initial idea was to use a "right click" on any menuitem to open the comments link instead of the main url. However, it doesn't seem to be possible to capture right-click on a menu item.

Another way around is to have a "comments" sub-menu, just above the separator, which gives the same list as root, except that it links to the comments on clicking.

And yet another way would be to just ignore the comment links alltogether and let hackertray remain as it is.

So to ask, which way should I proceed?

Or perhaps open both the link and comments? It is less likely that someone doesn't want to read the comments on Hackernews.

What about having a "Comments" check option (below the separator) that enables/disables whether comment link is opened as well or not? If its ticked, we open both links, otherwise just one.

That sounds pretty reasonable. While you're at it, perhaps add the option to only open the comments when a meta key is pressed.

Wow! Nice idea. Meta key sounds the perfect way to do it. Thanks.

Would something like this work with check/uncheck:
image

@valgaze That's exactly what I mentioned in my comment above

@captn3m0 Right- is it smart to style menu items w/ colors?

No, I don't think so. That would make it stand out.

I've pushed a basic comments feature to 1.9.1. Please upgrade to get it (instructions in README).

@omeid I haven't been able to figure out how to get Meta key status in python+gtk. All I've seen is how to catch a keypress in a gtk Window. Do you have any idea on how to proceed for that?

I have some other ideas about how to better handle comments, but since a basic version is already available, I'm closing this.