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
/
src
/
utils
/
at
feature/publish-leaflets
1 folder
27 files
Jared Pereira
Merge branch 'main' into feature/publish-leaflets
8mo ago
4dc637c0
prosemirror
move block components to blocks folder
2 years ago
addImage.ts
get theme from correct place and fix pub metadata
8 months ago
addLinkBlock.ts
Feature/reader (#224) * started the reader * pulling in the right data, styling adjustments * changed styles for pub listing, added stuff to SubscriptionContent * added empty states and fixed some issues * moved discover from reader header to nav sidebar * added comment and quote counts to post listing, cleaned up some other stuff * fixed little alignment issue thing * mostly removing console logs * some pageheader color and spacing fixes as well as getting share button to work in reader * shenanigans making a silly separator show sometimes and not others * thing i did that seemed smart was actually dumb, reversing lol * wip start to paginate followers * add infinite scrolling feed * make subscriptions infinite scrolling as well * use shared idresolver instance * use compound cursors and fix subscriptions pagination * fix getting last updated date for pubs * make handles consistent * store tab state in search params * fix compound cursor logic * remove unread state from reader and text from discover * make external links a's --------- Co-authored-by: celine <celine@hyperlink.academy>
9 months ago
blobRefToSrc.ts
add blobRefToSrc utility function
1 year ago
copySelection.ts
use type only imports from src/replicache
1 year ago
deepEquals.ts
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
elementId.ts
persit votes when changing, make removing option instant,
1 year ago
focusBlock.ts
Feature/reader (#224) * started the reader * pulling in the right data, styling adjustments * changed styles for pub listing, added stuff to SubscriptionContent * added empty states and fixed some issues * moved discover from reader header to nav sidebar * added comment and quote counts to post listing, cleaned up some other stuff * fixed little alignment issue thing * mostly removing console logs * some pageheader color and spacing fixes as well as getting share button to work in reader * shenanigans making a silly separator show sometimes and not others * thing i did that seemed smart was actually dumb, reversing lol * wip start to paginate followers * add infinite scrolling feed * make subscriptions infinite scrolling as well * use shared idresolver instance * use compound cursors and fix subscriptions pagination * fix getting last updated date for pubs * make handles consistent * store tab state in search params * fix compound cursor logic * remove unread state from reader and text from discover * make external links a's --------- Co-authored-by: celine <celine@hyperlink.academy>
9 months ago
generateJoseKey.js
Feature/bsky pubs/demo (#131) * WIP * add super basic lexicon functionality * WIP * init publications review view * added some small state stuff in you're already subbed * added a writer home and did more to the subscribe flow * create publication flow (and some updates to the imput with label component) * add basic bluesky pub integration! A lexicon! Oauth! All the stuff! * rename appview start script * set oauth client redirect state * wired up the home pub list * wiring up the create pub flow * add heading and image blocks, handle image upload * moved some shit around in the nav to get urls to work, wired up the pub page * added publish button to leaflets * add drafts and publish button * add subscribing via email! * wired up post list and post page, styled pst page * cleaning up some comments * add runner to appview * clean up * move oauth-metadata out from route file * add email to subscribers! --------- Co-authored-by: celine <celine@hyperlink.academy>
1 year ago
getBlocksAsHTML.tsx
Feature/reader (#224) * started the reader * pulling in the right data, styling adjustments * changed styles for pub listing, added stuff to SubscriptionContent * added empty states and fixed some issues * moved discover from reader header to nav sidebar * added comment and quote counts to post listing, cleaned up some other stuff * fixed little alignment issue thing * mostly removing console logs * some pageheader color and spacing fixes as well as getting share button to work in reader * shenanigans making a silly separator show sometimes and not others * thing i did that seemed smart was actually dumb, reversing lol * wip start to paginate followers * add infinite scrolling feed * make subscriptions infinite scrolling as well * use shared idresolver instance * use compound cursors and fix subscriptions pagination * fix getting last updated date for pubs * make handles consistent * store tab state in search params * fix compound cursor logic * remove unread state from reader and text from discover * make external links a's --------- Co-authored-by: celine <celine@hyperlink.academy>
9 months ago
getCoordinatesInTextarea.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
getCurrentDeploymentDomain.ts
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
getMicroLinkOgImage.ts
fix scrollbar styling in screenshots
8 months ago
getPublicationMetadataFromLeafletData.ts
get theme from correct place and fix pub metadata
8 months ago
iosInputMouseDown.ts
remove @react-aria/utils
1 year ago
isDevice.ts
remove @react-aria/utils
1 year ago
isProductionDeployment.ts
removed a lot of stray console.log
1 year ago
isTextBlock.ts
implement single line blockquote
11 months ago
isURL.ts
if pasting just a url with selection make inline link
2 years ago
isVisible.ts
don't render block overlay if not ios
2 years ago
list-operations.ts
use type only imports from src/replicache
1 year ago
lock.ts
Perf/cached server mutation context (#181) * use a cached server mutation context * properly handle deleting facts when deleting entity * add logging * don't use entries.map * shrink pushrequest size * properly compose delete fact sql query * add textAttributeWriteCache * call pull if batch is too small * remove debug * handle case w/ no other updates * accquire lock on token * use local lock instead of redis
11 months ago
metaKey.ts
update shortcuts to use os specific key
2 years ago
parseBlocksToList.ts
add lists to pubs!
1 year ago
parseHSB.ts
bug! was using brightness value instead of blue
2 years ago
scrollIntoView.ts
smooth scroll into view in pubs
9 months ago
scrollIntoViewIfNeeded.ts
added scrollintoviewifneeded to the pages if one is focused off screen, also added to focus block so that the block comes into view if you arrow up or down to focus it
2 years ago
timeAgo.ts
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