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
/
at
feature/tags
3 folders
22 files
Jared Pereira
Feature/at mentions (#241)
7mo ago
64e83f27
BlueskyPostBlock
rename confusing hook and reverse datetime pageload logic Squashed commit of the following: commit c3deb565892c3a87102ba2ba11a698d6907e4955 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:45:07 2025 -0500 remove logs commit 3ff4755bd48b52cef44f1e88a3f0ffda12670f28 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:38:04 2025 -0500 rename has page loaded and switch logic commit 558d9b7cb8c08a07277ac14bab3c465571ff0e7e Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:19:00 2025 -0500 log effectivetz and locale commit 2748feba61f5e495480c92e108496da427be9727 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:11:17 2025 -0500 are we getting tz on server/client?
8 months ago
RSVPBlock
Feature/publish leaflets (#235) * reorganized Actions in leaflet a bit * started up on the publish button, WIP * added an icon for one-offs/looseleafs/whatever * adjusted popover to new one step design * wrap up styling tweaks to the publish popover * title input in publish post details form now pulls first block content as title * add a looseleaf button to the homepage * icon stuffffff * make save as draft and publish work to existing pub * make publication optional on documents * support publishing standalone leaflets * support adding theme to standalone published docs * render standalone published docs at /p/ * render standalone published docs properly on homepage * handle publishing doc theme * delete entiteis before publishing * tweak publish page styles * add published link for standaloen docs in share menu * style tweaks to make starting a new pub an external link rather than a redirect * tiny lil teaks to create pub form * fix type errors * added the looseleaf page * handle canvases better * some small tweaks * handle publishing canvas pages as first page * simplify page handling and support root canvas page * add basic looseleaf page * don't show looseleafs tab if none * add first page to start of array * fix metadata on read links * get theme from correct place and fix pub metadata * remove flex on published page link block content * fix imports and types * fix looseleaf titles --------- Co-authored-by: celine <celine@hyperlink.academy>
8 months ago
TextBlock
Feature/at mentions (#241) * add did mention facet * add mention on enter * wip add at-mention * first pass at mention styling * WIP styling the popover for mentions * some changes to how the results array is organized * simplify mention logic * tweak * added a posts button to scope publications in the @ mention dropdown * don't nest buttons * refactor autocomplete and implement post mentions * add pubicon to atmention mark * caching and stuff * render mentions and handle as links * implement mention notifications * styling mention with scoped to publicaiton * style the actual mention * add generic pub icon if user did not specify one, adjust styling to be reflected in rendered version * added a little styling to the mention notifications * hydrate mentions with @handles * set scope and clear * lil things * added descriptions to the mention notifcation * make mentions inline nodes * render profile images and pub images * bunch of small fixes * remove placeholder text * add comment mentions and notifications --------- Co-authored-by: celine <celine@hyperlink.academy>
7 months ago
BaseTextareaBlock.tsx
Feature/at mentions (#241) * add did mention facet * add mention on enter * wip add at-mention * first pass at mention styling * WIP styling the popover for mentions * some changes to how the results array is organized * simplify mention logic * tweak * added a posts button to scope publications in the @ mention dropdown * don't nest buttons * refactor autocomplete and implement post mentions * add pubicon to atmention mark * caching and stuff * render mentions and handle as links * implement mention notifications * styling mention with scoped to publicaiton * style the actual mention * add generic pub icon if user did not specify one, adjust styling to be reflected in rendered version * added a little styling to the mention notifications * hydrate mentions with @handles * set scope and clear * lil things * added descriptions to the mention notifcation * make mentions inline nodes * render profile images and pub images * bunch of small fixes * remove placeholder text * add comment mentions and notifications --------- Co-authored-by: celine <celine@hyperlink.academy>
7 months ago
Block.tsx
Feature/notifications (#234) * add basic notification page * added an avatar component, styled notification, wip styling mobile footer to fit everything * move pub theme into the settings button * remove page name from footer * moved home theme into settings, adjusted menu styles * adjusted the side that popover menus open on in footer * added designs for a bunch on notification types * some minor adjustments for mobile * minor padding tweak * more padding tweaks * simplify notification component structure * wire up notifications * pull out unused button props * fix open logic in popover * remove logs * added cardBordHidden styling to notifications * passed how cardBorder Hidden to other notifcation types * changed name of publication prop in notifcations, tweak to dropdown menu styling in settings * fixed type errors * more fixing type errors * more more fixing type errors * add an empty state if no notifications * add reply notifications * refactoring to add notification list in popover as well, added timestamp * add compact rendering for notification list - mostly credit to jared * changed some labels in the settings menu * set notification action button to direct to notification page rather than popover a panel * small tweaks * ping notifications and fix reply notifications --------- Co-authored-by: celine <celine@hyperlink.academy>
8 months ago
BlockCommandBar.tsx
Feature/at mentions (#241) * add did mention facet * add mention on enter * wip add at-mention * first pass at mention styling * WIP styling the popover for mentions * some changes to how the results array is organized * simplify mention logic * tweak * added a posts button to scope publications in the @ mention dropdown * don't nest buttons * refactor autocomplete and implement post mentions * add pubicon to atmention mark * caching and stuff * render mentions and handle as links * implement mention notifications * styling mention with scoped to publicaiton * style the actual mention * add generic pub icon if user did not specify one, adjust styling to be reflected in rendered version * added a little styling to the mention notifications * hydrate mentions with @handles * set scope and clear * lil things * added descriptions to the mention notifcation * make mentions inline nodes * render profile images and pub images * bunch of small fixes * remove placeholder text * add comment mentions and notifications --------- Co-authored-by: celine <celine@hyperlink.academy>
7 months ago
BlockCommands.tsx
persist last used codeblock language
7 months ago
ButtonBlock.tsx
Update/home (#208) * added nav * added a floating home header * made the home layout into a component and applied it to the dahsboard * delete a few unused files, created a page layout for not found errors * further componentizing dash layout * adding background color and padding to the header if theres a bg image * also this * some adjustments to the width of the sidebar if always open, removed page title from head and put into nav * adjustments to the leaflet grid, new leaflet list format wip * added style adjustments if card border is on * made the leaflet list items respect page alpha color * pulled titles out into grid * added support for filtering * added the template indicator back * added in created dates! also removed a couple stray console logs * widened the list leaflet preview * made mobile navigation work * some small padding * add contents media and use on dashboard sidebar * remove unused forwarded ref from actionbutton * extract out leafletlist component * add id to publication dashboard layout * add leaflet draft data to dashboard data query * fix leaflet fact query on dashboard * added a toggle to header on mobile * bunch of type fixes and defaults * Adding a WIP Dashboard Layout while i wait for jared to finihs his refactor * factor out controls and pass as prop * fix messed up dashboard default state * added search to home * fix type error * fix leaflet query on publish page * persist dashboard states to db * add missing action * debounced search, unified hooks * pubs get search woot woot * hide irrelavent filter options * removed reader and notification buttons, adjusting some spacing * use speedy link for leaflet list and reposition over preview * add rkey to publication data key * properly set pub draft titles * add back intersection observer refs * upgrade to tailwind v4 * WIP add basic HomeEmptyState * rm hardcoded test empty leaflets * fix some tailwind v4 issues * use timeAgo for publishedAt * don't render embed blocks in previews * use timeago in publication metadata * moved settings from footer/sidebar to content area in home * added a bg color to publised list * Revert "moved settings from footer/sidebar to content area in home" This reverts commit c5ee9f55d78b7ad53d6a60f9d3d68866b25e0802. * adjusted nav in mobile footer to be more obvious * filter out published posts from draft list * use tailwind to apply hover to links This gets us their useful media query * prevent focusing on open nav menu * prettied up some empty state * made it work on desktop * added the banners to the end of the leaflet list, made some buttons work * some tweaks * some spacing fixes, and also added layout to the discover to include nav * wrapped a couple more not found layouts * added bgs to the draft list * updated subscriber list, added bg --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
10 months ago
CodeBlock.tsx
ctrl/shift enter creates new textblock in codeblock
7 months ago
DateTimeBlock.tsx
rename confusing hook and reverse datetime pageload logic Squashed commit of the following: commit c3deb565892c3a87102ba2ba11a698d6907e4955 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:45:07 2025 -0500 remove logs commit 3ff4755bd48b52cef44f1e88a3f0ffda12670f28 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:38:04 2025 -0500 rename has page loaded and switch logic commit 558d9b7cb8c08a07277ac14bab3c465571ff0e7e Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:19:00 2025 -0500 log effectivetz and locale commit 2748feba61f5e495480c92e108496da427be9727 Author: Jared Pereira <jared@awarm.space> Date: Mon Nov 17 17:11:17 2025 -0500 are we getting tz on server/client?
8 months ago
DeleteBlock.tsx
split out icons into seperate files The theory is this will improve build times? We'll see...
1 year ago
EmbedBlock.tsx
use iframely for urls in embed block editor
8 months ago
ExternalLinkBlock.tsx
Update/home (#208) * added nav * added a floating home header * made the home layout into a component and applied it to the dahsboard * delete a few unused files, created a page layout for not found errors * further componentizing dash layout * adding background color and padding to the header if theres a bg image * also this * some adjustments to the width of the sidebar if always open, removed page title from head and put into nav * adjustments to the leaflet grid, new leaflet list format wip * added style adjustments if card border is on * made the leaflet list items respect page alpha color * pulled titles out into grid * added support for filtering * added the template indicator back * added in created dates! also removed a couple stray console logs * widened the list leaflet preview * made mobile navigation work * some small padding * add contents media and use on dashboard sidebar * remove unused forwarded ref from actionbutton * extract out leafletlist component * add id to publication dashboard layout * add leaflet draft data to dashboard data query * fix leaflet fact query on dashboard * added a toggle to header on mobile * bunch of type fixes and defaults * Adding a WIP Dashboard Layout while i wait for jared to finihs his refactor * factor out controls and pass as prop * fix messed up dashboard default state * added search to home * fix type error * fix leaflet query on publish page * persist dashboard states to db * add missing action * debounced search, unified hooks * pubs get search woot woot * hide irrelavent filter options * removed reader and notification buttons, adjusting some spacing * use speedy link for leaflet list and reposition over preview * add rkey to publication data key * properly set pub draft titles * add back intersection observer refs * upgrade to tailwind v4 * WIP add basic HomeEmptyState * rm hardcoded test empty leaflets * fix some tailwind v4 issues * use timeAgo for publishedAt * don't render embed blocks in previews * use timeago in publication metadata * moved settings from footer/sidebar to content area in home * added a bg color to publised list * Revert "moved settings from footer/sidebar to content area in home" This reverts commit c5ee9f55d78b7ad53d6a60f9d3d68866b25e0802. * adjusted nav in mobile footer to be more obvious * filter out published posts from draft list * use tailwind to apply hover to links This gets us their useful media query * prevent focusing on open nav menu * prettied up some empty state * made it work on desktop * added the banners to the end of the leaflet list, made some buttons work * some tweaks * some spacing fixes, and also added layout to the discover to include nav * wrapped a couple more not found layouts * added bgs to the draft list * updated subscriber list, added bg --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
10 months ago
HorizontalRule.tsx
Update/home (#208) * added nav * added a floating home header * made the home layout into a component and applied it to the dahsboard * delete a few unused files, created a page layout for not found errors * further componentizing dash layout * adding background color and padding to the header if theres a bg image * also this * some adjustments to the width of the sidebar if always open, removed page title from head and put into nav * adjustments to the leaflet grid, new leaflet list format wip * added style adjustments if card border is on * made the leaflet list items respect page alpha color * pulled titles out into grid * added support for filtering * added the template indicator back * added in created dates! also removed a couple stray console logs * widened the list leaflet preview * made mobile navigation work * some small padding * add contents media and use on dashboard sidebar * remove unused forwarded ref from actionbutton * extract out leafletlist component * add id to publication dashboard layout * add leaflet draft data to dashboard data query * fix leaflet fact query on dashboard * added a toggle to header on mobile * bunch of type fixes and defaults * Adding a WIP Dashboard Layout while i wait for jared to finihs his refactor * factor out controls and pass as prop * fix messed up dashboard default state * added search to home * fix type error * fix leaflet query on publish page * persist dashboard states to db * add missing action * debounced search, unified hooks * pubs get search woot woot * hide irrelavent filter options * removed reader and notification buttons, adjusting some spacing * use speedy link for leaflet list and reposition over preview * add rkey to publication data key * properly set pub draft titles * add back intersection observer refs * upgrade to tailwind v4 * WIP add basic HomeEmptyState * rm hardcoded test empty leaflets * fix some tailwind v4 issues * use timeAgo for publishedAt * don't render embed blocks in previews * use timeago in publication metadata * moved settings from footer/sidebar to content area in home * added a bg color to publised list * Revert "moved settings from footer/sidebar to content area in home" This reverts commit c5ee9f55d78b7ad53d6a60f9d3d68866b25e0802. * adjusted nav in mobile footer to be more obvious * filter out published posts from draft list * use tailwind to apply hover to links This gets us their useful media query * prevent focusing on open nav menu * prettied up some empty state * made it work on desktop * added the banners to the end of the leaflet list, made some buttons work * some tweaks * some spacing fixes, and also added layout to the discover to include nav * wrapped a couple more not found layouts * added bgs to the draft list * updated subscriber list, added bg --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
10 months ago
ImageBlock.tsx
handle dropping images
9 months ago
MailboxBlock.tsx
Feature/page blocks (#226) * add page block type to lexicon and basic component * add page block generated files * set up leaflet and post to use the same layout component and adjusted the interaction panel to work within that * unified page, page wrapper, and post layouts, made subpage look nice in post * added a bit of padding under the bottom of posts, deleted unused code * remove extra merge conflict * add published page block preview * always render interaction drawer * factor out useDrawerOpen * loosen base_path to string * scroll pages and comments into view properly * fixed a weird scrolling issue, also squished the interaction drawer and page together * make quotes have a page component * open sub-page if quoted * change scroll into view threshold * scroll into view comments panel * render quote content from subpages * implement subpage interaction drawers and buttons * give quote popup a z-index * fix actually posting comments on subpages * convert comment to json before returning * add interactions preview for subpages * count top level quotes and comments correctly * ensure layout doesn't break with canvases * prev fix broke doc pages, fixed that lol * specify post pages are docs * absolutely position comments on subpage preview --------- Co-authored-by: celine <celine@hyperlink.academy>
9 months ago
MathBlock.tsx
Remove autoComplete="off" from code and math blocks
9 months ago
PageLinkBlock.tsx
make page previews inert (#210)
9 months ago
PollBlock.tsx
Feature/atp polls (#228) * loosen some lexicons * wip poll record * add publication poll components * enable optimistic votes and prompt to signin * add toggle to see results for creator * pass empty polldata array to preview components * disable poll edit on read view of pub polls * allow multiple poll options but only use the first for now
9 months ago
PublicationPollBlock.tsx
Feature/notifications (#234) * add basic notification page * added an avatar component, styled notification, wip styling mobile footer to fit everything * move pub theme into the settings button * remove page name from footer * moved home theme into settings, adjusted menu styles * adjusted the side that popover menus open on in footer * added designs for a bunch on notification types * some minor adjustments for mobile * minor padding tweak * more padding tweaks * simplify notification component structure * wire up notifications * pull out unused button props * fix open logic in popover * remove logs * added cardBordHidden styling to notifications * passed how cardBorder Hidden to other notifcation types * changed name of publication prop in notifcations, tweak to dropdown menu styling in settings * fixed type errors * more fixing type errors * more more fixing type errors * add an empty state if no notifications * add reply notifications * refactoring to add notification list in popover as well, added timestamp * add compact rendering for notification list - mostly credit to jared * changed some labels in the settings menu * set notification action button to direct to notification page rather than popover a panel * small tweaks * ping notifications and fix reply notifications --------- Co-authored-by: celine <celine@hyperlink.academy>
8 months ago
index.tsx
added spacing between paragraphs in blockquotes
8 months ago
useBlockKeyboardHandlers.ts
Feature: math and code blocks (#152) * add initial math block Needs, styling mainly! and some logic for how we show empty blocks, etc * add @types/katex * light styling to the math block * add code block * added some styles to code blocks * make cursor handling and themes work * support copying and pasting code blocks * simplify focusBlock for math/code * some styling * add ``` for code blocks * handle copy/paste for math blocks too * handle pasting markdown code blocks * support rendering to published post --------- Co-authored-by: celine <celine@hyperlink.academy>
1 year ago
useBlockMouseHandlers.ts
Feature: math and code blocks (#152) * add initial math block Needs, styling mainly! and some logic for how we show empty blocks, etc * add @types/katex * light styling to the math block * add code block * added some styles to code blocks * make cursor handling and themes work * support copying and pasting code blocks * simplify focusBlock for math/code * some styling * add ``` for code blocks * handle copy/paste for math blocks too * handle pasting markdown code blocks * support rendering to published post --------- Co-authored-by: celine <celine@hyperlink.academy>
1 year ago
useHandleCanvasDrop.ts
handle dropping images onto canvas
9 months ago
useHandleDrop.ts
handle dropping images
9 months ago