Haxplore is a little web app I created because I didn't like to click around the HN interface to read submission and discussions. I also wanted to experiment with different ways of implementing keyboard control in web apps and HN seemed like the perfect test subject. So maybe it's useful for some of you too. The most important features are:
- Intuitive keyboard control - Link detection in comments with hotkeys to open them directly - Better readbility and formatting of comments - Hotkeys for the most common actions - Ability to open stories or comments in an overlay for reading long texts
I could not figure this out even after using the help dialog repeatedly, since I assumed "navigate" meant "scrolling up and down the page", and there were three shortcuts that actually mentioned comments.
Please work on this more, this is just such a pleasant interface! On the other hand, the criticism here in HN is also mostly correct. It should be more accessible, but definitely a great start!
Thank you! That's funny, when I started this project I actually wanted to build it for HN, Reddit and Twitter, but couldn"t find the time for it and scrapped that idea. Guess I should revisit that decision.
However, it's impossible to read longer comments this way. This comment https://news.ycombinator.com/item?id=28705415 in this very thread is too long to fit in my browser window, which is maximized on my 16" laptop. So far I'm just pressing O, but it still takes time. A scroll for long comments would be really welcomed.
Other than that, it's a very cool UI! I can see using it full-time and press O only when I want to reply. Actually, I just did :D
I was just thinking about this myself. It would be so awesome to add something like OAuth2!
But then I realized, this would break the subtle cohesion of the current model. Everyone has to specifically come back to news.yc to comment. Everyone has to use the HN design. I do wonder if this is intentional, or at least strategic - because the current approach enforces a certain perspective when commenting that *perhaps* might be broken, or at least made much much harder to maintain, by the fragmentation induced from being able to run off and build totally alternative interfaces. It's just a thought. I'm not sure if this is just hot air.
Looking at reddit, whenever someone complains about degredation of discussion, somebody pops up and says "just use old.reddit.com". However, everyone else is still on new reddit, so even if you increase the quality of your submissions, the overall quality still drops.
I'm able to add comments using my current unofficial Android app. These apps just work around the requirement by issuing some sort of HTTP requests similar to the site itself.
Intitial impression: "oookay [click] let's have a look let's see how badly broken *this* HN frontend i--ooh. Oh, okay. Wow this is nice!"
And it truly is. There's something this honestly nails. But after using it for few moments, I was able to crystallize what I perceived was "wrong" with the design: the mechanic of combining locality with spatiality means I completely lose sight of the bigger picture. I have a really bad memory and attention span, so I depend on constantly reading cues/senses of scale from my environment. As in, they need to be constantly there. (For example, the first thing I'd do if I ever used a Mac was make the scrollbars permanently visible.) With this UI, the immediate and global focus (the only focus) is on the comment I'm reading right now. Paradoxically, the clear intuition is that this would reduce distraction and increase focus, but (at least for me) by only presenting individual details I cannot establish and maintain orientation about how big a thread is, the structure of it (a few large mega-subthreads, or subthread islands, or hundreds of upvotes but only like 15 total comments), etc. I tend to take full advantage of scroooooling through and cherry-picking comments to read at random. I've long dreamed of solutions that provide a rigid framework that ensure I read every comment, but I've kind of accepted that such approaches just don't work in practice; they require a tremendous amount of discipline to use (almost like grammar-proofreading a book). A UI that has me consider every single comment as globally important ("it's the only thing on the screen at this exact moment"), both a) maxes out my attention span very quickly and b) feeds me a non-representative, breadth-first view of the discussion, because I find there's a nontrivial effort associated with needing to hit the right arrow key to expand the comments: I Have No Idea How Many Subcomments Are Hiding In There nO I aM NoT GoInG iN ThErE ThAt iS ScArY. For whatever reason (???) it's physiologically easier to just keep hitting Down instead. This is honestly novel and interesting - and because of how well-executed this is, I can say that if you were to ever to consider tackling global orientation (I'm imagining spotlight/expose type zooming here, but I strongly suspect that would be just as disorientating as not being able to vaguely internalize the bigger picture at all), I would be very interested to see.
Agreed with pretty much everything here. It's a nice UI, looks good, is smooth, well done overall.
However, it doesn't fit how I read HN or Reddit - I tend to scan and be drawn to keywords and visually interesting parts of the thread. This type of UI turns the comments into a TODO list of indeterminate length.
I use a tiling WM, so I can have this open in a window (or scratchpad) that is shrunk to the width of your column, and just shoot over to it, and move around nice and easily! Two things: - alt + h doesn't open the Help for me, it opens the actual help menu in Firefox. - It would be nice to mark the entries as 'read' and show if more comments have happened since reading Edit:
Wrapping it in a small Tauri app would be cool, then it gets rid of the bookmarks and stuff I have at the top :D
1. The alt+h hotkey will be probably be replaced by "?". That should fix this. 2.1 That's a pretty cool idea. Would you want the "mark as read" part to happen automatically or manually? 2.2 Showing new/unread comments is also a cool idea but it will increase the amount of requests to the HN api. However I'm gonna look into it. Wrapping it in a Tauri might be cool, because I actually wanted to try that. But I think the first step would be to make it a PWA, so you can install it without downloading anything. Thank you for the feeback!
> Showing new/unread comments is also a cool idea but it will increase the amount of requests to the HN api. However I'm gonna look into it.
At the simplest level LocalStorage or equivalent keyed on the submission id with a prior comment count to be compared with the new comment count would be sufficient. If it had a time of hast check as well, highlighting new comments would also be easy. I'm not sure about other people, but thise are really the two things I care about most when trying to keep up with a discussion (are there new comments, and which are they).
It would be neat if there was an option (maybe for the future, a simple settings modal) to either mark as read once 'opened' or a hot key to mark as read (or toggle?). Kinda like email clients lists.
I use live bookmarks in Firefox, so I have a tick next to the items I have looked at, just something like that, or some sort of visual indication. The comment count thing was more a thing I like on other sites, so like on ArsTech I can see if there are more comments from where I last read (which is handy to go and see if there are more cool discussions going on) but yea maybe would hammer the API a bit too much - unless limited to just 'new 'or 'ask' or something
Comments (243) 91 threads
Show all comments
Showing thread 1 of 91
- Intuitive keyboard control
- Link detection in comments with hotkeys to open them directly
- Better readbility and formatting of comments
- Hotkeys for the most common actions
- Ability to open stories or comments in an overlay for reading long texts
Continue this thread — 1 reply
Continue this thread — 1 reply
very addicting
Continue this thread — 1 reply
Other than that, it's a very cool UI! I can see using it full-time and press O only when I want to reply. Actually, I just did :D
Continue this thread — 1 reply
But then I realized, this would break the subtle cohesion of the current model. Everyone has to specifically come back to news.yc to comment. Everyone has to use the HN design. I do wonder if this is intentional, or at least strategic - because the current approach enforces a certain perspective when commenting that *perhaps* might be broken, or at least made much much harder to maintain, by the fragmentation induced from being able to run off and build totally alternative interfaces.
It's just a thought. I'm not sure if this is just hot air.
Looking at reddit, whenever someone complains about degredation of discussion, somebody pops up and says "just use old.reddit.com". However, everyone else is still on new reddit, so even if you increase the quality of your submissions, the overall quality still drops.
And it truly is. There's something this honestly nails.
But after using it for few moments, I was able to crystallize what I perceived was "wrong" with the design: the mechanic of combining locality with spatiality means I completely lose sight of the bigger picture. I have a really bad memory and attention span, so I depend on constantly reading cues/senses of scale from my environment. As in, they need to be constantly there. (For example, the first thing I'd do if I ever used a Mac was make the scrollbars permanently visible.)
With this UI, the immediate and global focus (the only focus) is on the comment I'm reading right now. Paradoxically, the clear intuition is that this would reduce distraction and increase focus, but (at least for me) by only presenting individual details I cannot establish and maintain orientation about how big a thread is, the structure of it (a few large mega-subthreads, or subthread islands, or hundreds of upvotes but only like 15 total comments), etc.
I tend to take full advantage of scroooooling through and cherry-picking comments to read at random. I've long dreamed of solutions that provide a rigid framework that ensure I read every comment, but I've kind of accepted that such approaches just don't work in practice; they require a tremendous amount of discipline to use (almost like grammar-proofreading a book).
A UI that has me consider every single comment as globally important ("it's the only thing on the screen at this exact moment"), both a) maxes out my attention span very quickly and b) feeds me a non-representative, breadth-first view of the discussion, because I find there's a nontrivial effort associated with needing to hit the right arrow key to expand the comments: I Have No Idea How Many Subcomments Are Hiding In There nO I aM NoT GoInG iN ThErE ThAt iS ScArY. For whatever reason (???) it's physiologically easier to just keep hitting Down instead.
This is honestly novel and interesting - and because of how well-executed this is, I can say that if you were to ever to consider tackling global orientation (I'm imagining spotlight/expose type zooming here, but I strongly suspect that would be just as disorientating as not being able to vaguely internalize the bigger picture at all), I would be very interested to see.
However, it doesn't fit how I read HN or Reddit - I tend to scan and be drawn to keywords and visually interesting parts of the thread. This type of UI turns the comments into a TODO list of indeterminate length.
I use a tiling WM, so I can have this open in a window (or scratchpad) that is shrunk to the width of your column, and just shoot over to it, and move around nice and easily!
Two things:
- alt + h doesn't open the Help for me, it opens the actual help menu in Firefox.
- It would be nice to mark the entries as 'read' and show if more comments have happened since reading
Edit: Wrapping it in a small Tauri app would be cool, then it gets rid of the bookmarks and stuff I have at the top :D
1. The alt+h hotkey will be probably be replaced by "?". That should fix this.
2.1 That's a pretty cool idea. Would you want the "mark as read" part to happen automatically or manually?
2.2 Showing new/unread comments is also a cool idea but it will increase the amount of requests to the HN api. However I'm gonna look into it.
Wrapping it in a Tauri might be cool, because I actually wanted to try that. But I think the first step would be to make it a PWA, so you can install it without downloading anything.
Thank you for the feeback!
At the simplest level LocalStorage or equivalent keyed on the submission id with a prior comment count to be compared with the new comment count would be sufficient. If it had a time of hast check as well, highlighting new comments would also be easy.
I'm not sure about other people, but thise are really the two things I care about most when trying to keep up with a discussion (are there new comments, and which are they).
Continue this thread — 1 reply
I use live bookmarks in Firefox, so I have a tick next to the items I have looked at, just something like that, or some sort of visual indication.
The comment count thing was more a thing I like on other sites, so like on ArsTech I can see if there are more comments from where I last read (which is handy to go and see if there are more cool discussions going on) but yea maybe would hammer the API a bit too much - unless limited to just 'new 'or 'ask' or something
Continue this thread — 1 more reply
Continue this thread — 17 more replies