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
/
Toolbar
/
at
feature/hard_breaks
13 files
Jared Pereira
Update/home (#208)
10mo ago
835d56af
BlockToolbar.1.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
BlockToolbar.tsx
Add alt text to image blocks! Update/image (#148) * added alt text editor * added styling to the read only and post view * tried to add context to image alt editor to get it to open when alt toolbar button is clicked, but failed, gave up. * i renamed shit to make it work but it didnt work * put alt text popover state in zustand * add alt attribute to rendered post images --------- Co-authored-by: celine <celine@hyperlink.academy>
1 year ago
HighlightToolbar.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
ImageToolbar.tsx
use server safe popover for image alt text in blog
1 year ago
InlineLinkToolbar.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
ListToolbar.tsx
add list / command
1 year ago
LockBlockButton.tsx
split out icons into seperate files The theory is this will improve build times? We'll see...
1 year ago
MultiSelectToolbar.tsx
share getSortedSelection function b/w selection and toolbar
1 year ago
TextAlignmentToolbar.tsx
add text align justified
10 months ago
TextBlockTypeToolbar.tsx
split out icons into seperate files The theory is this will improve build times? We'll see...
1 year ago
TextDecorationButton.tsx
upgrade to react 19, pull out react-prosemirror This required a bunch of other small changes around the place, namely around how we manage prosemirror state and interface with it. Things should generally be a lot simpler now. Squashed commit of the following: commit 37f101b8456c563a66c978098f206237588d8818 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 22:59:27 2025 -0400 don't allow deleting first block commit 5699a57dbf4c3026cf6d280abfdba776191e8079 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 22:58:16 2025 -0400 render placeholder based on type not heading level commit 5ab2d9b2139b3a1984e4a665c3b80c0985bbae1b Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 22:58:06 2025 -0400 fix key issue commit 2bf86e6c2185bb00e3a4acbe96ca93b7828202b9 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 21:39:14 2025 -0400 clear text when setting header block commit 219f57c8ede995edf0bd9b5f45e56c6e6a1c8302 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 17:56:49 2025 -0400 remove extra config, fix placeholder styling commit 366745a611f9843c6c09bd490486314729e83303 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 17:27:37 2025 -0400 fix removing keepFocus commit 7c7359752a8f23152e01e80e4d528eb8422189c0 Merge: 05c5ef5 1ea9276 Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 17:10:02 2025 -0400 Remove prosemirror react, and a bunch of further Merge branch 'refactor/remove-prosemirror-react' commit 05c5ef52a29fd9bb8024c7f15f25074bf4f1b97b Author: Jared Pereira <jared@awarm.space> Date: Wed May 7 15:44:47 2025 -0400 upgrade nextjs/react (and a bunch of other packages) commit 1ea92764db99dffc638deec6b14c3867538a7a8c Author: Jared Pereira <jared@awarm.space> Date: Mon Feb 10 17:05:39 2025 -0500 remove @nytimes/react-prosemirror
1 year ago
TextToolbar.tsx
Feature/comments (#178) * wip * added some styling to the pub not found message * more styling for comments * tweaks here and there * added a popover for date and profile * tweaks to the profile popover * wire up replies and other things * fix comment count * remove collapsed post header * remove spacer * remove unused imports --------- Co-authored-by: celine <celine@hyperlink.academy>
11 months ago
index.tsx
Feature/blockquote (#177) * add block quote blocktype * handle copying and pasting blockquotes
11 months ago