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/recommend
11 folders
37 files
celine
spacing fixes
5mo ago
24f409c1
ActionBar
fwd refs on action Button
5 months ago
Blocks
properly open atmentions in editor and resolve pubs
5 months ago
Icons
oops forgot the new files
5 months ago
PageLayouts
tweak padding in dashboard layout Mainly for profile page, all others scroll externally instead of internally
7 months ago
Pages
made some chnages to canvas layout to better match
5 months ago
Popover
inherit text primary in popover
6 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
Update/delete blocks (#260) * initial delete button but no wiring yet * added move block up and down buttons to the block options buttons, refactored moveBlockUp/Down to be utility functions * handling delete in the block options * adjusting full bleed styling for image blocks * change blockToolbar to imageToolbar, not * don't show the toolbar on blocks without toolbar actions * minor fixes to button block, implement a full wdith mode * Lock is GONE YO * pretty up the cover image button * group multiselect delete into one undo group * fix issue with empty codeBlocks lookin funny * remove long press to select on mobile docs, kept for canvas * fixed button block layout weirdness, added an ative state to text alignment toolbar * fixing min-h isses in codeblock * make things blocks easier to manuever in canvas * added mouse handlers back to canvas * small block bugs * fixed pageLinkBlock not showing proper non-text-block options * fixed some undo redo bugs
6 months ago
ThemeManager
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
Toolbar
Update/delete blocks (#260) * initial delete button but no wiring yet * added move block up and down buttons to the block options buttons, refactored moveBlockUp/Down to be utility functions * handling delete in the block options * adjusting full bleed styling for image blocks * change blockToolbar to imageToolbar, not * don't show the toolbar on blocks without toolbar actions * minor fixes to button block, implement a full wdith mode * Lock is GONE YO * pretty up the cover image button * group multiselect delete into one undo group * fix issue with empty codeBlocks lookin funny * remove long press to select on mobile docs, kept for canvas * fixed button block layout weirdness, added an ative state to text alignment toolbar * fixing min-h isses in codeblock * make things blocks easier to manuever in canvas * added mouse handlers back to canvas * small block bugs * fixed pageLinkBlock not showing proper non-text-block options * fixed some undo redo bugs
6 months ago
utils
Feature/small text (#253) * added small text attribute and button to leaflet * fixing separators that were borked * add textSize to lexicon * moves PostBlocks into a single folder * update post to get textsize from leaflet * added large text * running the lexgen * little tweak * keep text size when user enters to make new textblock * preserve text size when blocks are copy pasted into leaflet * fiz some jumping on action button * added heyboard shortcuts * use 0 instead of p in the regular text keyboard shorcut
6 months ago
AtMentionLink.tsx
spacing fixes
5 months ago
Avatar.tsx
Update/thread viewer (#261) * just like a bunch of stuff sorry * cleaned up naming * refactor the bskypostcontent to use booleans for reply and quote rather than functions, include its own reply line, some renaming of variables to be more consistant * styling the grandparents in the threadviewer * styling the quotepage * adjustments to make everything more consistent * use BskyPostContent in the leaflet as well * fixing the width of thread and quote pages so they don't get too wide * make the reply line emcompass it's replies as well * little tweaks to the embed block * fixed a bunch of small things
5 months ago
Buttons.tsx
Fix/accent contrast on page (#251) * inital tweaking of the page and leaflet background logic * Added some helptext to page color picker when it's defining containers * moved menu into its own file * Create Menu.tsx * unifed block layout * little fix * minor adjustments to unify hover and focus states * adjusting buttons to match better with blocks
6 months ago
Canvas.tsx
made some chnages to canvas layout to better match
5 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
DatePicker.tsx
Feature/backdate (#258) * added capability to backdate post on published docs * componentize Date Picker, add Time Picker, mock up date and time pickers in publish show and update flow * wire up backdating posts from the publish flow. still broken from update button * wire up updating pubish date on published post * just bold some stuff * open calendars to corrent months and times by default
6 months ago
DesktopFooter.tsx
Update/delete blocks (#260) * initial delete button but no wiring yet * added move block up and down buttons to the block options buttons, refactored moveBlockUp/Down to be utility functions * handling delete in the block options * adjusting full bleed styling for image blocks * change blockToolbar to imageToolbar, not * don't show the toolbar on blocks without toolbar actions * minor fixes to button block, implement a full wdith mode * Lock is GONE YO * pretty up the cover image button * group multiselect delete into one undo group * fix issue with empty codeBlocks lookin funny * remove long press to select on mobile docs, kept for canvas * fixed button block layout weirdness, added an ative state to text alignment toolbar * fixing min-h isses in codeblock * make things blocks easier to manuever in canvas * added mouse handlers back to canvas * small block bugs * fixed pageLinkBlock not showing proper non-text-block options * fixed some undo redo bugs
6 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>
7 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
add user preference to show/hide recommends
5 months ago
Layout.tsx
Fix/accent contrast on page (#251) * inital tweaking of the page and leaflet background logic * Added some helptext to page color picker when it's defining containers * moved menu into its own file * Create Menu.tsx * unifed block layout * little fix * minor adjustments to unify hover and focus states * adjusting buttons to match better with blocks
6 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
Menu.tsx
Fix/accent contrast on page (#251) * inital tweaking of the page and leaflet background logic * Added some helptext to page color picker when it's defining containers * moved menu into its own file * Create Menu.tsx * unifed block layout * little fix * minor adjustments to unify hover and focus states * adjusting buttons to match better with blocks
6 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
OAuthError.tsx
use window.href to redirect in oauth error
6 months ago
PageHeader.tsx
Feature/profiles (#247) * created profile page, 404s * init page profile stuff * replaces placehodler with profile pic * added tab component, rm activity tab from profile * add publications * add posts to profile page * paginate posts * update to teh layout, wip comment deisgn * fixed up some weirdness that happened with merging * new comment design * render profile sub things as pages * small icon size adjustment * side scroll the pub list * refactored cardBorderHidden into a context in ThemeProvider and a hook * sticky header for tabs in profile page * simplied the scroll logic, fixed a boo boo * wire up comments and implement deep linking to em * fix comment action import * add subscriptions to profiles * moved profile pic, removed console logs * bluesky profile link * get home theme on profile pages * Profile popover init * use bluesky api for profile data * parse and render description * small updates to the profile popover styling * tweaks to get the tabs working if cardBorderHidden * new styling on @mentions and adding profile popover on hover * prefetch profile data on hover * fix adding local comments * render known followers * link to bsky known followers page * fixes * add titles to tags and profiles * fix links and themes for standalone docs on profile * add popover to post header and pub page * use linkify js for urls in profiles * wip tooltip stuff * use localizeddate in post listing --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Jared Pereira <jared@awarm.space>
7 months ago
PageSWRDataProvider.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
PostListing.tsx
add user preference to show/hide recommends
5 months ago
ProfilePopover.tsx
fixed broken links in the postContent
5 months ago
RecommendButton.tsx
spacing fixes
5 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
Feature/profiles (#247) * created profile page, 404s * init page profile stuff * replaces placehodler with profile pic * added tab component, rm activity tab from profile * add publications * add posts to profile page * paginate posts * update to teh layout, wip comment deisgn * fixed up some weirdness that happened with merging * new comment design * render profile sub things as pages * small icon size adjustment * side scroll the pub list * refactored cardBorderHidden into a context in ThemeProvider and a hook * sticky header for tabs in profile page * simplied the scroll logic, fixed a boo boo * wire up comments and implement deep linking to em * fix comment action import * add subscriptions to profiles * moved profile pic, removed console logs * bluesky profile link * get home theme on profile pages * Profile popover init * use bluesky api for profile data * parse and render description * small updates to the profile popover styling * tweaks to get the tabs working if cardBorderHidden * new styling on @mentions and adding profile popover on hover * prefetch profile data on hover * fix adding local comments * render known followers * link to bsky known followers page * fixes * add titles to tags and profiles * fix links and themes for standalone docs on profile * add popover to post header and pub page * use linkify js for urls in profiles * wip tooltip stuff * use localizeddate in post listing --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Jared Pereira <jared@awarm.space>
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/set page width (#252) * added a slider to adjust page-wdith to leaflets * hide page width setter on home * add post options wip to the pub settings menu * adjusted page width setter to have narrow and wide presets * updates to toggle, added post options to pub settings, updates build script so lexgen works on mac * added pub width setter to pub theme settings * hide post options in pub settings, rename some stuff * update pageWidth lexicon to match the contraints in the UI * set page-width in theme-provider instead of root * make slider easier to click, adjusted pageWidth minmax full width button in themeSetters --------- Co-authored-by: Jared Pereira <jared@awarm.space>
6 months ago
Tooltip.tsx
Feature/profiles (#247) * created profile page, 404s * init page profile stuff * replaces placehodler with profile pic * added tab component, rm activity tab from profile * add publications * add posts to profile page * paginate posts * update to teh layout, wip comment deisgn * fixed up some weirdness that happened with merging * new comment design * render profile sub things as pages * small icon size adjustment * side scroll the pub list * refactored cardBorderHidden into a context in ThemeProvider and a hook * sticky header for tabs in profile page * simplied the scroll logic, fixed a boo boo * wire up comments and implement deep linking to em * fix comment action import * add subscriptions to profiles * moved profile pic, removed console logs * bluesky profile link * get home theme on profile pages * Profile popover init * use bluesky api for profile data * parse and render description * small updates to the profile popover styling * tweaks to get the tabs working if cardBorderHidden * new styling on @mentions and adding profile popover on hover * prefetch profile data on hover * fix adding local comments * render known followers * link to bsky known followers page * fixes * add titles to tags and profiles * fix links and themes for standalone docs on profile * add popover to post header and pub page * use linkify js for urls in profiles * wip tooltip stuff * use localizeddate in post listing --------- Co-authored-by: celine <celine@hyperlink.academy> Co-authored-by: Jared Pereira <jared@awarm.space>
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