Remix.run Logo
satvikpendem 2 hours ago

"Tested, not vibe coded" yet you mention the AI has written all the tests. This extension may not be vibe coded but it's close to that, it seems. Regardless it seems to work well, I replaced the older Refined Hacker News extension with this, which seems like where you initially sourced the code from as the features are very similar, 1:1 even for some.

I also use this extension HNRelevant (https://addons.mozilla.org/en-US/firefox/addon/hnrelevant) which shows a list of similar posts, you might want to add that as an optional feature as well.

What's the tech stack, pure TS? You also might want to migrate from Biome to oxc, I did recently and it plays well with Vite+ (or just move to Vite+) directly.

Noticed a bug, once I edit my own comment and go back to the main post, I show up as [op] not you. Also I should be able to edit my post inline not be moved to a separate page.

latchkey 2 hours ago | parent [-]

It is heavily coded with AI, but I'm also a 30+ year web developer. I'm not just one shotting all of the code, I'm reading it too. I'm feeling like it is giving me super powers.

See the thread below about refined, which hasn't received an update in 4 years.

I have HNRelevant on my list of features that I've been collecting.

I tried oxc and didn't like it as much as biome. They admittedly aren't as good at formatting yet. The real winner here is ultracite.

satvikpendem 2 hours ago | parent [-]

Sounds good. Another bug or quirk, with Refined, I was able to reply and then tab once to the reply button and hit enter. Now with the "HN's approach to comments and site guidelines." text I can't do that, "comments" and "guidelines" are links so I have to tab three times to get to the reply button which is annoying. Omit that text or change the tab order (this is possible in HTML with the tabindex attribute, just make the reply button higher priority).

Also add ctrl/cmd-enter support to submit the reply.

Also this orange border when clicking a comment or link on the front page is a bit annoying, especially when it doesn't seem to actually do anything (it's not a tab select style, that shows up as the browser's normal style), and it seems to persist.

latchkey 2 hours ago | parent | next [-]

The orange box is to mark where you are currently focused. If you use the keyboard navigation (keys: j/k), it really helps.

satvikpendem an hour ago | parent [-]

It's distracting for those who don't use hjkl so might be good to have it as an option.

latchkey 44 minutes ago | parent [-]

Good feedback. I'm pushing a fix for this now. When you click the extension icon, there is now a preferences pane there and a checkbox to enable/disable the box.

https://github.com/OrangeJuiceExtension/OrangeJuice/pull/15

latchkey 2 hours ago | parent | prev [-]

Great suggestion! I literally took your comment, passed it into AI. At first it tried to remove the text as well as set tabIndex to -1 in code, but I think now I've got something I like.

This has been fixed and is making its way out now.