OverviewFilesCommitsIssuesDocsReleasesPeers

favela-surface commits / cf74239

0.0.58: discover rows link to the person
Search's handle rows have always linked to /u/<feed>; discover's did not — it could show you who exists and offer to follow them, but not let you LOOK first, which is the one thing anyone wants before following a stranger. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
cf74239c90ddaffd4a29248928d9d75078fae4ed
by plankatron <fleeky@gmail.com> · 2026-09-10T17:15:26.000Z

Changed files (2) +5 -2

lib/pages.js +4 -1
……@@ -1754,7 +1754,10 @@ export function discover (handles, following = [], profiles = {}, ns = null) {
17541754 ? '<span class="who">following</span>'
17551755 : '<form method="post" action="/follow" class="inline">' +
17561756 '<input type="hidden" name="feed" value="' + esc(h.feed) + '"><button>follow</button></form>'
1757 return '<li>' + name + '@' + esc(h.handle) + flag +
1757 // ⛔ LINKED, like search's rows already are (`nameRows` above). Without this the page could show
1758 // you who exists and offer to follow them, but not let you LOOK at them first — which is the
1759 // one thing anyone wants before following a stranger.
1760 return '<li>' + name + '<a href="/u/' + esc(h.feed) + '">@' + esc(h.handle) + '</a>' + flag +
17581761 // ⛔ The key is always shown. A handle is a claim; the key is the unforgeable thing, and this
17591762 // page's whole job is handing someone a feed to follow.
17601763 ' <code class="who">' + esc(String(h.feed).slice(0, 8)) + '</code> ' + action + '</li>'
package.json +1 -1
……@@ -1,6 +1,6 @@
11{
22 "name": "favela-surface",
3 "version": "0.0.57",
3 "version": "0.0.58",
44 "description": "The favela renderer \u2014 server-side HTML over the daemon's socket. No storage, no keys, no swarm.",
55 "type": "module",
66 "main": "index.js",