alpha
Login
or
Join now
jeremy.herve.bzh
/
skypress
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A calm place to write long-form, and publish it to the open social web.
skypress.blog/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
skypress
/
src
/
lib
/
write
/
at
trunk
10 files
Jeremy Herve
Drop dangling held-asset tokens on restore instead of emitting a broken src
9d ago
9e167b38
asset-store.test.ts
Add asset store (IndexedDB + in-memory) for held image bytes
1 week ago
asset-store.ts
Add asset store (IndexedDB + in-memory) for held image bytes
1 week ago
deferred-media.test.ts
Add deferred media handler for writing-first editor
1 week ago
deferred-media.ts
Add deferred media handler for writing-first editor
1 week ago
draft-store.test.ts
Add draft store that survives the OAuth redirect
1 week ago
draft-store.ts
Add draft store that survives the OAuth redirect
1 week ago
held-assets.test.ts
Drop dangling held-asset tokens on restore instead of emitting a broken src When a writing-first draft is restored, mergeAssets swapped each body image token back to its data: URL. If the localStorage skeleton survived but the IndexedDB bytes were evicted, the token had no entry in the assets map and the old fallback kept the literal token (e.g. "a0") as the image url -- a broken src that, not being a data: URL, also got published verbatim by uploadHeldAssets. Drop the dangling token instead (matching the cover path's graceful null fallback), while leaving external image URLs untouched since they are not tokens.
1 week ago
held-assets.ts
Drop dangling held-asset tokens on restore instead of emitting a broken src When a writing-first draft is restored, mergeAssets swapped each body image token back to its data: URL. If the localStorage skeleton survived but the IndexedDB bytes were evicted, the token had no entry in the assets map and the old fallback kept the literal token (e.g. "a0") as the image url -- a broken src that, not being a data: URL, also got published verbatim by uploadHeldAssets. Drop the dangling token instead (matching the cover path's graceful null fallback), while leaving external image URLs untouched since they are not tokens.
1 week ago
upload-held.test.ts
Upload held images + cover to the PDS at publish time
1 week ago
upload-held.ts
Upload held images + cover to the PDS at publish time
1 week ago