alpha
Login
or
Join now
jack.is
/
leaflet
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 tool for shared writing and social publishing
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
leaflet
/
app
/
api
/
inngest
/
at
feature/pub-pages
1 folder
2 files
Jared Pereira
don't trigger newsletter sends on firehose update events (#302)
2mo ago
3e9583ca
functions
don't trigger newsletter sends on firehose update events (#302) The firehose UPDATE path was also running the newsletter claim/send logic. Combined with the fact that the idempotency row in publication_post_sends is only inserted when newsletters are enabled at upsert time, this meant that editing an old post after newsletters were turned on for the publication would mail the post out to subscribers retroactively. Gate the newsletter block on event_type === "create" so only firehose creates can fire sends. Metadata sync (indexed flag, bsky like counts, bridgy deletion) still runs on updates as before. Co-authored-by: Claude <noreply@anthropic.com>
2 months ago
client.ts
don't trigger newsletter sends on firehose update events (#302) The firehose UPDATE path was also running the newsletter claim/send logic. Combined with the fact that the idempotency row in publication_post_sends is only inserted when newsletters are enabled at upsert time, this meant that editing an old post after newsletters were turned on for the publication would mail the post out to subscribers retroactively. Gate the newsletter block on event_type === "create" so only firehose creates can fire sends. Metadata sync (indexed flag, bsky like counts, bridgy deletion) still runs on updates as before. Co-authored-by: Claude <noreply@anthropic.com>
2 months ago
route.tsx
Feature/newsletter (#292) * turning the new email stuff back on * added a section in the settings for toggling newletter on and off * refactored publish pages * wip * update spec * deprecate mailbox * implement enabling newsletter mode * add basic email subscripton flow * add sending previews * wip email sending * fix type errors and add webhooks * fix oauth flow and a bunch of newsletter specific stuff * remove unusued pngs * extract out facts to pages and use for email --------- Co-authored-by: celine <celine@hyperlink.academy>
3 months ago