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
/
components
/
Blocks
/
StandardSitePostBlock
/
at
main
3 files
celine
Feature/post block interactions (#311)
7w ago
2166f3a9
StandardSitePostItem.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
index.tsx
updated landing page just a smidge
1 month ago
parseStandardSitePostInput.ts
Feature/pub pages (#303) * add standard site post block * add posts-list block settings: view + highlight-first-post Adds a Settings popover to the on-block options strip on posts-list blocks, persisting `posts-list/view` (compact|full) and `posts-list/highlight-first-post` as block facts. Introduces PublicationPostItemSmall/Medium/Large variants and wires PublicationPostsList to render Large for the highlighted first post, Small for compact, and Medium for full. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * add basic publication pages implementation Introduces editable pages attached to a publication (separate from draft posts). Each page is backed by its own leaflet, listed under `publication_pages`, and edited through a new `/lish/[did]/[publication]/edit/[[...route]]` route with its own header/nav. PublicationContent is refactored to share PublicationHeader and PublicationPostsList. createNewLeaflet gains `firstBlocks` + `addToHomepage` so createPublicationPage can seed a page with a text + posts-list block without polluting the user's homepage. Page/Sidebar/PageOptions/PublicationMetadata hide post-only chrome when viewing a publication page, and the block command bar exposes Posts List + Subscribe Form via a new `publicationOnly` flag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * wip publish publication pages * add standard-site-post block size setting: small/medium/large Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * update many styles * add filtering by tag to post list block * change copy * simplify scroll stuff * de-duplicate things * add publication pages lexicon to the permission set * proper form for creating pub pages * some formatting WIP * fix standard.site resolution * pass down cover image from standard site post item * wrap up standard site post styling * add re-orderable tabs * use block size on initial placeholder * gate new features behind flag --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: celine <celine@hyperlink.academy>
2 months ago