diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 10:56:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 10:56:47 -0700 |
| commit | ffec5e1a52596a3be867558c41b43ac9b3892c0c (patch) | |
| tree | f50097e6e0e9ba7841bee22ee7e03fd636906f89 /src/features/messages.js | |
| parent | 683184f65eb71bdfd12550e7293f0c721100dd9b (diff) | |
| download | coinosv3-ffec5e1a52596a3be867558c41b43ac9b3892c0c.tar.gz coinosv3-ffec5e1a52596a3be867558c41b43ac9b3892c0c.zip | |
Point of sale: /pos, a per-device till mode, an on-screen pad — and off the Receive tab.
v3.coinos.io/pos opens the point of sale once a wallet is up (claimed at
boot before any feature reads the path), so the till can be bookmarked or
put on a home screen. Settings → Payments gains "Start in point of sale on
this device" (localStorage, not synced: the till, not every phone the
owner carries). The amount and the custom tip get a 3×4 pad that edits the
same field a keyboard or a paste would. The button under the payment
address on Receive is gone.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src/features/messages.js')
| -rw-r--r-- | src/features/messages.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js index 075f33f..b4f24a5 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -1768,7 +1768,7 @@ export function messagesFeature(ctx) { // reserved app routes are never usernames — /chat is the public // community page (app.js routes it), and eating it here rewrote the URL // to / before that route ever saw it; a note reference is its own link - if (m && (['chat'].includes(m[1]) || /^(note|nevent|naddr)1/i.test(m[1]))) return null; + if (m && (['chat', 'pos'].includes(m[1]) || /^(note|nevent|naddr)1/i.test(m[1]))) return null; return m ? m[1] : null; })(); if (urlProfile) { try { history.replaceState(null, '', '/'); } catch {} } |
