About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
hackermusic
2000.nyc
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
src/lib/
share.ts
September 2026
`shared ·https://…` had lost the space between the sentence and the link — the note ended at the middot and the URL began in its own span, and the gap between two inline boxes is a layout fact rather than a character until it is also the thing you read out loud; it is one `ch` of margin now, which is a space in the font the line is set in and is not inside the span the user
selects.
selects.
2000.nyc
2mo ago
939320a8
Copied
Failed
Copy SHA
2000.nyc
939320a8
Copied
Failed
Copy SHA
`shared ·https://…` had lost the space between the sentence and the link — the note ended at the middot and the URL began in its own span, and the gap between two inline boxes is a layout fact rather than a character until it is also the thing you read out loud; it is one `ch` of margin now, which is a space in the font the line is set in and is not inside the span the user selects.
2mo ago
The share succeeded and the copy did not, and the app could not say which of the clipboard's three refusals it had been given, because the write was issued after `createShare` had been awaited. A clipboard write is allowed only while the browser still counts the keypress as a user gesture — seconds in Chrome, about one in Safari — and the request that produces the text being written is a round trip to a server that may be on the other side of a tailnet, so the activation was spent waiting and the refusal arrived with its reason filed in a catch block that returned false. So the two are now asked for together and `ClipboardItem` unties the knot: its entry value may be a promise, which lets the write be *issued* inside the keypress with the URL still in flight, and the browser resolves the content when the answer lands. Browsers that will not hold a promised entry open fall back to the old order and are no worse
off.
off.
2000.nyc
2mo ago
08995e29
Copied
Failed
Copy SHA
2000.nyc
08995e29
Copied
Failed
Copy SHA
The share succeeded and the copy did not, and the app could not say which of the clipboard's three refusals it had been given, because the write was issued after `createShare` had been awaited. A clipboard write is allowed only while the browser still counts the keypress as a user gesture — seconds in Chrome, about one in Safari — and the request that produces the text being written is a round trip to a server that may be on the other side of a tailnet, so the activation was spent waiting and the refusal arrived with its reason filed in a catch block that returned false. So the two are now asked for together and `ClipboardItem` unties the knot: its entry value may be a promise, which lets the write be *issued* inside the keypress with the URL still in flight, and the browser resolves the content when the answer lands. Browsers that will not hold a promised entry open fall back to the old order and are no worse off.
2mo ago
Share links on 's': one track, one day, straight to the clipboard. Fixes the Subsonic client discarding server error messages (the spec and Navidrome spell the body 'error', not 'err')
2000.nyc
2mo ago
54fae3ce
Copied
Failed
Copy SHA
2000.nyc
54fae3ce
Copied
Failed
Copy SHA
Share links on 's': one track, one day, straight to the clipboard. Fixes the Subsonic client discarding server error messages (the spec and Navidrome spell the body 'error', not 'err')
2mo ago