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
/
PageLayouts
/
at
feature/thread-viewer
2 files
Jared Pereira
Update/delete leaflets (#238)
8mo ago
ea2f4fb3
DashboardLayout.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
NotFoundLayout.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