aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/messages.js
Commit message (Expand)AuthorAgeFilesLines
...
* Custom emoji in chat: :shortcodes: render as pictures, packs sync with Vector.Adam Soltys2026-09-151-26/+353
* Opening a reply scrolls the thread to that reply.Adam Soltys2026-09-151-1/+18
* An @handle in a bio or post opens the people search for that name.Adam Soltys2026-09-151-1/+21
* Join suggests communities from the Vector Hub, searchable, beside the paste box.Adam Soltys2026-09-141-7/+60
* Invite links open in Vector, communities sync across Concord clients, and any...Adam Soltys2026-09-141-35/+213
* A picture can be sent to a channel or a DM, encrypted, and read by Vector.Adam Soltys2026-09-141-7/+154
* A picture sent to a channel shows up as a picture, not an empty bubble.Adam Soltys2026-09-141-1/+86
* Logging out leaves one identity, not everyone on the device.Adam Soltys2026-09-141-7/+18
* A community whose invite grants no channels still shows its public ones.Adam Soltys2026-09-141-0/+12
* A community that has been refounded reads and writes at its current epoch.Adam Soltys2026-09-141-26/+74
* Messages sent while the app was away arrive when it comes back.Adam Soltys2026-09-141-16/+53
* A new identity starts with an empty Notifications list.Adam Soltys2026-09-141-0/+4
* A reply or a mention on nostr can buzz your phone.Adam Soltys2026-09-141-1/+23
* A zap on a chat message shows the message, not "Fetching note…" forever.Adam Soltys2026-09-141-8/+41
* A notification's excerpt names the people it mentions.Adam Soltys2026-09-141-2/+9
* The zap amounts in the new panels use the feature's own formatter.Adam Soltys2026-09-141-2/+2
* Who reacted, and what happened to your posts.Adam Soltys2026-09-141-5/+247
* A video keeps playing while the page repaints.Adam Soltys2026-09-141-0/+7
* A new post opens up instead of appearing.Adam Soltys2026-09-141-2/+46
* A post arrives whole.Adam Soltys2026-09-141-5/+68
* The feed reads the relays it was already willing to open.Adam Soltys2026-09-131-13/+35
* Markdown in a post reads as what it means.Adam Soltys2026-09-131-22/+46
* The feed keeps up, and stops moving the page while you read.Adam Soltys2026-09-131-10/+91
* See the post before you post it.Adam Soltys2026-09-131-5/+46
* A profile is already there when you land on it.Adam Soltys2026-09-131-10/+62
* Bigger faces in the feed.Adam Soltys2026-09-131-9/+27
* Posts and messages get a reading size.Adam Soltys2026-09-131-3/+3
* Feed rows wore punks and npubs because we asked for profiles one at a time.Adam Soltys2026-09-121-23/+104
* The feed was showing half the posts it should.Adam Soltys2026-09-121-9/+44
* A quoted note shows up as the note, not as "view note".Adam Soltys2026-09-121-8/+58
* A YouTube link in a post shows the video.Adam Soltys2026-09-121-0/+50
* End to end over the real network, and the advice now fits the app it's in.Adam Soltys2026-09-121-2/+24
* A reply can carry a picture, and the WebView build has a name you can say.Adam Soltys2026-09-121-6/+33
* UnifiedPush: reach a phone that has no Google in it.Adam Soltys2026-09-121-0/+30
* Tell a phone with no push service what's actually wrong.Adam Soltys2026-09-121-1/+16
* Every answer to a post lives in one row beneath it.Adam Soltys2026-09-121-36/+74
* Answer a post: like it, boost it, quote it, or stop seeing its author.Adam Soltys2026-09-121-13/+271
* A picture in a post opens full screen, and the paperclip is a button again.Adam Soltys2026-09-121-4/+9
* The feed opens at twenty posts and runs to the page's edge.Adam Soltys2026-09-111-3/+16
* The feed reads each author on the relays they actually publish to.Adam Soltys2026-09-111-19/+137
* Follow people, read a feed of them, and put pictures in a post.Adam Soltys2026-09-111-30/+306
* Restore profile editor drafts across refreshesAdam Soltys2026-09-111-6/+12
* Offer migration only for submitted unmigrated legacy namesAdam Soltys2026-09-111-4/+10
* Retry avatar thumbnail failures from the old download methodAdam Soltys2026-09-101-3/+13
* The thumbnail fetches the bytes instead of trusting a crossOrigin <img>.Adam Soltys2026-09-101-24/+29
* A transient failure shouldn't cost a face its thumbnail for good.Adam Soltys2026-09-101-11/+84
* A face we've never seen is drawn from the pubkey, not left blank.Adam Soltys2026-09-101-6/+18
* Ship the punks at the size we actually draw them.Adam Soltys2026-09-101-6/+28
* Keep a thumbnail of every face, so they're on screen in the first frame.Adam Soltys2026-09-101-3/+94
* A zap of 21 showed 42 the moment it landed.Adam Soltys2026-09-101-12/+38
>= HTTP_PROXY[prefix] + path.slice(prefix.length) + url.search; const r = await fetch(target, { method: req.method, headers: req.headers.get('content-type') ? { 'content-type': req.headers.get('content-type') } : {}, body: ['GET', 'HEAD'].includes(req.method) ? undefined : await req.arrayBuffer(), }); return new Response(await r.arrayBuffer(), { status: r.status, headers: { 'content-type': r.headers.get('content-type') || 'application/json', ...CORS } }); } } if (Object.hasOwn(JS_ASSETS, path)) { return new Response(await JS_ASSETS[path]({ minify: false }), { headers: { 'content-type': 'text/javascript; charset=utf-8', 'cache-control': NO_STORE }, }); } if (/^\/(punks|punks-sm)\//.test(path)) { // These are bundled images, not app routes. Returning index.html here // produces broken avatars and rebuilds the app for every face. if (!/^\/(punks|punks-sm)\/([1-9]|[1-5][0-9]|6[0-4])\.webp$/.test(path)) { return new Response('Not found', { status: 404 }); } const file = Bun.file('static' + path); return await file.exists() ? new Response(file, { headers: { 'content-type': 'image/webp', 'cache-control': NO_STORE } }) : new Response('Not found', { status: 404 }); } if (/^\/icon(-maskable)?(-\d+)?\.(png|svg)$/.test(path)) { const file = Bun.file('static' + path); if (await file.exists()) return new Response(file, { headers: { 'cache-control': NO_STORE } }); } const loc = path.match(/^\/locales\/([a-z]{2})\.json$/); if (loc) { const f = Bun.file('src/locales/' + loc[1] + '.json'); return (await f.exists()) ? new Response(f, { headers: { 'content-type': 'application/json; charset=utf-8', 'cache-control': NO_STORE } }) : new Response('{}', { status: 404, headers: { 'content-type': 'application/json', 'cache-control': NO_STORE } }); } const html = await buildHtml({ minify: false }); return new Response(html, { headers: { 'content-type': 'text/html; charset=utf-8', 'cache-control': NO_STORE }, }); } catch (e) { return new Response(`Build error:\n\n${e.stack || e}`, { status: 500, headers: { 'content-type': 'text/plain; charset=utf-8' }, }); } }, // Relay each browser WebSocket to its localhost backend, buffering until the // upstream connection opens. websocket: { open(ws) { const up = new WebSocket(ws.data.target); ws.data.up = up; ws.data.q = []; up.onopen = () => { const q = ws.data.q; ws.data.q = null; for (const m of q) up.send(m); }; up.onmessage = (e) => { try { ws.send(e.data); } catch {} }; up.onclose = () => { try { ws.close(); } catch {} }; up.onerror = () => { try { ws.close(); } catch {} }; }, message(ws, msg) { const up = ws.data.up; if (!up) return; if (up.readyState === 1) up.send(msg); else if (ws.data.q) ws.data.q.push(msg); }, close(ws) { try { ws.data.up && ws.data.up.close(); } catch {} }, }, }); console.log(`dev server → http://localhost:${port} (also on 0.0.0.0:${port} for LAN/Tailscale)`);