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
feature/post-block-interactions
2 files
Jared Pereira
Scope subpage comment counts and panel to the page
7w ago
19ec8b47
DocumentContext.tsx
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
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