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
/
at
feature/profiles
11 folders
33 files
Jared Pereira
Merge branch 'main' into feature/profiles
7mo ago
eed1877a
ActionBar
Merge branch 'main' into feature/profiles
7 months ago
Blocks
Merge branch 'main' into feature/profiles
7 months ago
Icons
small icon size adjustment
7 months ago
PageLayouts
refactored cardBorderHidden into a context in ThemeProvider and a hook
7 months ago
Pages
refactored cardBorderHidden into a context in ThemeProvider and a hook
7 months ago
Popover
refactor exports to support fast refresh
7 months ago
Providers
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
SelectionManager
refactor exports to support fast refresh
7 months ago
ThemeManager
refactored cardBorderHidden into a context in ThemeProvider and a hook
7 months ago
Toolbar
refactor exports to support fast refresh
7 months ago
utils
refactor exports to support fast refresh
7 months ago
AtMentionLink.tsx
new styling on @mentions and adding profile popover on hover
7 months ago
Avatar.tsx
replaces placehodler with profile pic
7 months ago
Buttons.tsx
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>
7 months ago
Canvas.tsx
Feature/atp canvas blocks (#227) * 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 * add canvas lexicon * extract out page component to lineardocumentpage * add canvas pages and previews * handle narrow widths for the canvas * hook rules hooks rule * remove small canvas size * added interactions and metadata to leaflet and posted canvases * some fixes * make quotehandler work on canvas --------- Co-authored-by: celine <celine@hyperlink.academy>
9 months ago
Checkbox.tsx
Feature/pub theme (#142) * reorganized a BUNCH of shit * slight reorg of page pickers * added the theme setter on the pub level but it needs wiring * Add basic publication theme flow * fixed some type errors * rewires some stuff to get it all working for a solid bg color * apply theme in draft editors, remove theme options from draft editor * tweaked some words and colors * change lexicon to seperate bgImage and bgColor * don't overwrite themebg image * fixed spacing issues in leaflet home, fixed legibility issues in pub dash * fixed up the tab header a little in pub dash * added a page bg to the published post * pub page page background if there is a bg image * handle opacity for bg in pub theme * dashboard subs tab empty state update * got opacity working * checking borders, fixing max width stuff * make card border work on leaflet previews * add loader to update button * set accentContrast in local pub theme * started updating the theme modal * make bg provider w-full and fix pub leaflet previews * fix bgpage not being set right w/ local * some updated to the theme modal in pub * added pageBackground color and logic for toggle * add loader and toast for adding feed * check if they have feed before adding * don't block when in inputs * hide image toolbar buttons before image added * collect textnodes properly on paste * use data-entityid instead of data-entityID * check empty children not textcontent * don't paste empty text nodes * shrink down url preview images before posting to bsky * scale up preview res * make rendered alt text in leaflet doc imageblock w-full instead of w-max * add identity_id col to custom_domains * check correct key in identity data custom domains * get domains via identity_rel * allow adding domains if no email * filter out pub domains from custom domain list * fix filter of pub domains * mutate identity data after adding domain * fix importing client component for rss feed * use server safe popover for image alt text in blog * fix double click issue w/ alt text * update lexicons * added a toggle and moved the page bg picker * made the pub stuff use page bg color instead of leaflet bg color * moved files around, redid the layout of the theme modal ... again * add show page background ot lexicon * updated checks to see if the page bg is showing * updates to the sample pub, added a sample page * a couple little tweaks * updated the header for pubtheme modal * simplified the bg image picker * fix background wrapper styles * enable update button on showPageBackground change * handle missing record * make leaflets respect cardborder hidden * fix extra prop * style publist on home page --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
1 year ago
DesktopFooter.tsx
adjusting a loooot of spacing here and there
9 months ago
EntitySetProvider.tsx
re-architect access around permission tokens Tokens give you permissions over a set of entities. When an entity is created it defines its set. Permissions are, read, write, change_entity_set, and create_token. The latter two are unused as of now. Tokens also define their "root entities" so they can be used directly in links to give access. This may later prove to be a bad idea, but works for now! In the code we add the context of EntitySetProvider. For now there is just on at the top level of a doc, but we will need to wrap other sections of the tree if we implement scoped permissions.
2 years ago
IdentityProvider.tsx
Update/delete leaflets (#238) * unified leaflet option menus in published post and home * unified leaflet option menus in published post and home * streanlined shareButton, added archive data * added buttons to archive and unarchive in leaflet options * refactor to use a single Link element in the LeafletListItem * added filters for archive on home, filtered archive out of default leaflet list * update nextjs and add pub drafts * update for nextjs 16 * add pino to serverExternalPackages * make archiving in pubs work * update identity data on revalidate * refresh page on delete, fix text color on publish page * optimistically update leaflet lists on archive/etc * don't include archived when filtering on docs * handle logged out and non-pub owner cases * don't filter out archived undefined posts * fix titles for local docs * support canvas titles on homepage * fix sorts * filter docs better * remove template feature But keep the backend route so existing links still work --------- Co-authored-by: celine <celine@hyperlink.academy>
8 months ago
IdentityProviderServer.tsx
Feature/accounts (#99) * WIP * add migration for email tokens * add basic logout flow * added styling for log in popover * some styling to the log in button on home * super minimal add doc to homepage * added asChild prop to popover, tweaked spacing in mobile footer on home * added a settings popover for logged in users that contains log out button, streamlined the menu * smal tweaks * add errors states * sync local docs on login * use fixed values to determine leaflet preview size * fetch data for persisted docs * removed create from mobile footer in doc, fixed some small styling things inthe leaflet preview * flip order of migration add_more_get_fact_functions * add leaflets even if logging in to existing account * fix login adding existing docs and swr leaflet dat * positioned the warning banner on logged out home * add height to home page layout on mobile * styling the logged out banner to include the log in button and to appear in the right place on desktop * made bg of InputWithLabel transparent * overlay link on leaflet preview instead of nesting * move loggedOutWarning to seperate component and check leaflets * send login code with postmark * make removing leaflets from home work * import mutate once * add action file oops * make remove from home work! --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
2 years ago
InitialPageLoadProvider.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
Input.tsx
refactor exports to support fast refresh
7 months ago
InteractionsPreview.tsx
fix hover styles for quotes in InteractionPreview
7 months ago
Layout.tsx
refactor exports to support fast refresh
7 months ago
LeafletLayout.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
LoginButton.tsx
added a publish button if you don't have pubs yet
8 months ago
Media.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
Mention.tsx
handle pub and post urls in bsky post editor
7 months ago
Modal.tsx
Feature/follow via bsky (#140) * added a subscribe with Bsky thingy * subscibe success page * subscribe modal * some styling tweaks * WIP publish flow * publish page is now less WIP * little border radius tweak * added a back button lol * fix nested h tags * use asChild instead of as * WIP * WIP publish page * make publishing work! * WIP * handle signing in to follow * handle feed status stuff * split import from server action * remove refreshAuth query param --------- Co-authored-by: celine <celine@hyperlink.academy>
1 year ago
PageHeader.tsx
refactored cardBorderHidden into a context in ThemeProvider and a hook
7 months ago
PageSWRDataProvider.tsx
clean up leaflet options and fix links
7 months ago
PostListing.tsx
use localizeddate in post listing
7 months ago
ProfilePopover.tsx
fixes
7 months ago
RouteUIStateManger.tsx
reset ui state on route change
2 years ago
ServiceWorker.tsx
remove logs and add install + skipwaiting to worker
2 years ago
SpeedyLink.tsx
add speedylink and use all over the place Basically prefetch on hover or pointer down
10 months ago
Tab.tsx
added tab component, rm activity tab from profile
7 months ago
Tags.tsx
hardcode leaflet.pub as root in /tag/ path so it works from pubs wih custom domains
7 months ago
Toast.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
Toggle.tsx
Feature/pub theme (#142) * reorganized a BUNCH of shit * slight reorg of page pickers * added the theme setter on the pub level but it needs wiring * Add basic publication theme flow * fixed some type errors * rewires some stuff to get it all working for a solid bg color * apply theme in draft editors, remove theme options from draft editor * tweaked some words and colors * change lexicon to seperate bgImage and bgColor * don't overwrite themebg image * fixed spacing issues in leaflet home, fixed legibility issues in pub dash * fixed up the tab header a little in pub dash * added a page bg to the published post * pub page page background if there is a bg image * handle opacity for bg in pub theme * dashboard subs tab empty state update * got opacity working * checking borders, fixing max width stuff * make card border work on leaflet previews * add loader to update button * set accentContrast in local pub theme * started updating the theme modal * make bg provider w-full and fix pub leaflet previews * fix bgpage not being set right w/ local * some updated to the theme modal in pub * added pageBackground color and logic for toggle * add loader and toast for adding feed * check if they have feed before adding * don't block when in inputs * hide image toolbar buttons before image added * collect textnodes properly on paste * use data-entityid instead of data-entityID * check empty children not textcontent * don't paste empty text nodes * shrink down url preview images before posting to bsky * scale up preview res * make rendered alt text in leaflet doc imageblock w-full instead of w-max * add identity_id col to custom_domains * check correct key in identity data custom domains * get domains via identity_rel * allow adding domains if no email * filter out pub domains from custom domain list * fix filter of pub domains * mutate identity data after adding domain * fix importing client component for rss feed * use server safe popover for image alt text in blog * fix double click issue w/ alt text * update lexicons * added a toggle and moved the page bg picker * made the pub stuff use page bg color instead of leaflet bg color * moved files around, redid the layout of the theme modal ... again * add show page background ot lexicon * updated checks to see if the page bg is showing * updates to the sample pub, added a sample page * a couple little tweaks * updated the header for pubtheme modal * simplified the bg image picker * fix background wrapper styles * enable update button on showPageBackground change * handle missing record * make leaflets respect cardborder hidden * fix extra prop * style publist on home page --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Brendan Schlagel <brendan.schlagel@gmail.com>
1 year ago
Tooltip.tsx
wip tooltip stuff
7 months ago
UpdateURL.tsx
re-architect access around permission tokens Tokens give you permissions over a set of entities. When an entity is created it defines its set. Permissions are, read, write, change_entity_set, and create_token. The latter two are unused as of now. Tokens also define their "root entities" so they can be used directly in links to give access. This may later prove to be a bad idea, but works for now! In the code we add the context of EntitySetProvider. For now there is just on at the top level of a doc, but we will need to wrap other sections of the tree if we implement scoped permissions.
2 years ago
ViewportSizeLayout.tsx
remove @react-aria/utils
1 year ago
Watermark.tsx
split out icons into seperate files The theory is this will improve build times? We'll see...
1 year ago