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
update/delete-blocks
1 folder
38 files
celine
Merge branch 'main' of https://github.com/hyperlink-academy/minilink into update/delete-blocks
6mo ago
1f5b0aa8
prosemirror
move block components to blocks folder
2 years ago
addImage.ts
fix string quoting
6 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
codeLanguageStorage.ts
persist last used codeblock language
7 months ago
collectionHelpers.ts
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
copySelection.ts
use type only imports from src/replicache
1 year ago
deduplicateRecords.ts
de-duplicate publications and documents
6 months 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
deleteBlock.ts
group multiselect delete into one undo group
6 months ago
elementId.ts
persit votes when changing, make removing option instant,
1 year ago
focusBlock.ts
small block bugs
6 months ago
focusElement.ts
refactor exports to support fast refresh
7 months ago
focusPage.ts
refactor exports to support fast refresh
7 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/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
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
fixes for url preview fetching
7 months ago
getPublicationMetadataFromLeafletData.ts
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
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
mentionUtils.ts
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
metaKey.ts
update shortcuts to use os specific key
2 years ago
moveBlock.ts
added move block up and down buttons to the block options buttons, refactored moveBlockUp/Down to be utility functions
6 months ago
normalizeRecords.ts
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
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
add more resolution to timeAgo, show createdAt on comments
6 months ago
uriHelpers.ts
fix string quoting
6 months ago
yjsFragmentToString.ts
refactor exports to support fast refresh
7 months ago