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
/
contexts
/
at
main
2 files
celine
Feature/post block interactions (#311)
7w ago
2166f3a9
DocumentContext.tsx
Feature/post block interactions (#311) * just some quick things to make it look better * adding things to make the comments more legible * adjust styling to make the comments and bsky posts more uniform * combine comments and bsky mentions in all places * show discussion from postLink everywhere where there is a postLink * tabbing replies and quotes in the bluesky thread viewer, fixing a ton of styling * open threads in the drawer rather than as new pages * standard site posts open in interaction drawer on posts * bottom sheet to open on mobile rather than a drawer * little fixes * Scope subpage comment counts and panel to the page Comment counts on the post page all came from the document-wide commentsCount aggregate, so every subpage block and the bottom comments button showed the whole document's comment total. The subpage block's comment icon also opened a standalone discussion modal. - Compute a per-page comment count map (commentsCountByPage) in getPostPageData from each comment's onPage; expose it via DocumentContext - Subpage block comment button now opens the subpage and its interaction panel scoped to comments, instead of the discussion modal - Bottom comments button, post header, canvas page, and the drawer toggle now show the count for their own page * update cover images in medium size standard site post block to be smaller * more tweak * default open comments/quotes if present --------- Co-authored-by: Jared Pereira <jared@awarm.space>
1 month ago
LeafletContentContext.tsx
Refactor/standard.site (#259) * add basic site.standard stuff and normalization function * normalize data from publication and document tables * handle differing uris * fix a few bugs * fix feed construction and simplify updatePub functions * don't delete old records * add themes for standalone docs, etc * handle migrating all records * simplify updatePublication * delete old docs and new ones * handle setting basicTheme on create/update pubs * set doc path properly * fix type errors --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
6 months ago