Skip to content

v1.5.3

Choose a tag to compare

@twalichiewicz twalichiewicz released this 30 Jul 14:20
· 108 commits to main since this release
Immutable release. Only release title and notes can be modified.
f242fb0

v1.5.3

Post to Hacker News without leaving the page

  • Comment from the sidebar. Write in the panel and submit — it opens HN, fills the real form, posts, and reloads the thread. HN's formatting rules are one click away, and drafts survive an mis-click.
  • Reply inline on any comment. Same box, same behaviour, reply on the button.
  • Submit the current page when no discussion exists yet. Full form — title, url, text — so a blank url gives you an Ask HN. The button fills in from grey to orange once it lands.

Dark mode

Matches the page, not the OS, so it works with Dark Reader and with sites that ship their own dark theme. Falls back to prefers-color-scheme when the page background is transparent, and follows the OS setting if it changes while open.

Contributed by @bennetthanke in #21.

Stays out of the way

  • No button on webmail, banking, auth flows, cloud consoles, document editors, chat, search results, or local/intranet addresses.
  • Pages with no discussion now show a greyed-out button that offers to submit them. Prefer the old silence? Settings → Only show the HN button when a discussion exists.

Fixes

  • Resize could arm far from the panel edge, making accidental resizes common when selecting text.
  • Comment text showed an arrow cursor instead of an I-beam.
  • Child comments were indented more than they needed, and their bottom margins stacked — a deeply nested reply left a large gap beneath it.
  • The submitter's name under the story title wasn't clickable.
  • The "new comment" accent faded out completely, taking the thread's nesting line with it.

Changed

The discussion lookup now runs on page load instead of on click, so the button's colour means "a discussion exists" rather than "not checked yet." That's one Algolia request per new URL, cached for an hour — pages that previously made none now make one.