-6
actions/createPublicationDraft.ts
-71
actions/deleteLeaflet.ts
-2
actions/getIdentityData.ts
-33
actions/publications/moveLeafletToPublication.ts
+26
actions/publications/updateLeafletDraftMetadata.ts
+51
-204
actions/publishToPublication.ts
+1
-1
actions/subscriptions/sendPostToSubscribers.ts
+1
-1
app/(home-pages)/discover/PubListing.tsx
+2
-1
app/(home-pages)/home/Actions/Actions.tsx
+48
app/(home-pages)/home/Actions/CreateNewButton.tsx
+42
-47
app/(home-pages)/home/HomeLayout.tsx
+57
-29
app/(home-pages)/home/LeafletList/LeafletInfo.tsx
+26
-45
app/(home-pages)/home/LeafletList/LeafletListItem.tsx
+170
-293
app/(home-pages)/home/LeafletList/LeafletOptions.tsx
+112
-49
app/(home-pages)/home/LeafletList/LeafletPreview.tsx
+1
-2
app/(home-pages)/home/page.tsx
-116
app/(home-pages)/looseleafs/LooseleafsLayout.tsx
-47
app/(home-pages)/looseleafs/page.tsx
+3
-9
app/(home-pages)/notifications/CommentNotication.tsx
+41
-36
app/(home-pages)/notifications/MentionNotification.tsx
-4
app/(home-pages)/notifications/NotificationList.tsx
+3
-9
app/(home-pages)/notifications/ReplyNotification.tsx
+1
-1
app/(home-pages)/reader/ReaderContent.tsx
+98
app/[leaflet_id]/Actions.tsx
+28
-12
app/[leaflet_id]/Sidebar.tsx
-27
app/[leaflet_id]/actions/BackToPubButton.tsx
-173
app/[leaflet_id]/actions/HelpButton.tsx
-74
app/[leaflet_id]/actions/HomeButton.tsx
-427
app/[leaflet_id]/actions/PublishButton.tsx
+2
-4
app/[leaflet_id]/icon.tsx
+2
-3
app/[leaflet_id]/opengraph-image.tsx
+5
-2
app/[leaflet_id]/page.tsx
+1
-3
app/[leaflet_id]/publish/BskyPostEditorProsemirror.tsx
+17
-68
app/[leaflet_id]/publish/PublishPost.tsx
+9
-63
app/[leaflet_id]/publish/page.tsx
+17
-80
app/api/inngest/functions/index_post_mention.ts
+4
-33
app/api/rpc/[command]/getFactsFromHomeLeaflets.ts
+2
-4
app/api/rpc/[command]/get_leaflet_data.ts
-1
app/globals.css
+10
app/lish/Subscribe.tsx
-24
app/lish/[did]/[publication]/PublicationHomeLayout.tsx
+3
-9
app/lish/[did]/[publication]/[rkey]/BaseTextBlock.tsx
+26
-19
app/lish/[did]/[publication]/[rkey]/CanvasPage.tsx
-146
app/lish/[did]/[publication]/[rkey]/DocumentPageRenderer.tsx
+4
app/lish/[did]/[publication]/[rkey]/LinearDocumentPage.tsx
+21
-14
app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx
+75
-110
app/lish/[did]/[publication]/[rkey]/PostPages.tsx
+5
-4
app/lish/[did]/[publication]/[rkey]/PublishedPageBlock.tsx
+2
-3
app/lish/[did]/[publication]/[rkey]/extractCodeBlocks.ts
+3
-12
app/lish/[did]/[publication]/[rkey]/getPostPageData.ts
+3
-4
app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/opengraph-image.ts
+2
-3
app/lish/[did]/[publication]/[rkey]/opengraph-image.ts
+156
-6
app/lish/[did]/[publication]/[rkey]/page.tsx
+1
-3
app/lish/[did]/[publication]/dashboard/DraftList.tsx
+2
-22
app/lish/[did]/[publication]/dashboard/PublicationSWRProvider.tsx
+108
-112
app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx
-23
app/lish/[did]/[publication]/dashboard/deletePost.ts
+4
-3
app/lish/[did]/[publication]/icon.ts
+2
-3
app/lish/[did]/[publication]/opengraph-image.ts
+19
-6
app/lish/[did]/[publication]/page.tsx
+7
-6
app/lish/createPub/CreatePubForm.tsx
+2
-5
app/lish/createPub/UpdatePubForm.tsx
-1
app/lish/createPub/createPublication.ts
+11
-3
app/lish/createPub/getPublicationURL.ts
+1
-1
app/lish/createPub/page.tsx
+1
-1
app/login/LoginForm.tsx
-20
app/p/[didOrHandle]/[rkey]/l-quote/[quote]/opengraph-image.ts
-8
app/p/[didOrHandle]/[rkey]/l-quote/[quote]/page.tsx
-13
app/p/[didOrHandle]/[rkey]/opengraph-image.ts
-90
app/p/[didOrHandle]/[rkey]/page.tsx
+159
app/templates/TemplateList.tsx
+108
app/templates/icon.tsx
+29
app/templates/page.tsx
+17
-20
appview/index.ts
+25
-48
components/ActionBar/Publications.tsx
+6
-43
components/Blocks/BaseTextareaBlock.tsx
+1
-10
components/Blocks/BlockCommands.tsx
+1
-6
components/Blocks/CodeBlock.tsx
+16
-65
components/Blocks/EmbedBlock.tsx
+2
-2
components/Blocks/RSVPBlock/SendUpdate.tsx
-8
components/Blocks/TextBlock/RenderYJSFragment.tsx
+3
-12
components/Blocks/TextBlock/inputRules.ts
+5
-5
components/Blocks/TextBlock/keymap.ts
-7
components/Blocks/TextBlock/schema.ts
+21
-35
components/Buttons.tsx
+173
components/HelpPopover.tsx
+76
components/HomeButton.tsx
-21
components/Icons/ArchiveSmall.tsx
-19
components/Icons/LooseleafSmall.tsx
+21
components/Icons/TemplateRemoveSmall.tsx
+25
components/Icons/TemplateSmall.tsx
-19
components/Icons/UnpublishSmall.tsx
+1
-18
components/IdentityProvider.tsx
+2
-10
components/Input.tsx
+3
-2
components/Layout.tsx
+23
-27
components/PageLayouts/DashboardLayout.tsx
+6
-52
components/PageSWRDataProvider.tsx
+1
-4
components/Pages/Page.tsx
+13
-19
components/Pages/PublicationMetadata.tsx
+43
-2
components/ThemeManager/PubThemeSetter.tsx
+25
-35
components/ThemeManager/PublicationThemeProvider.tsx
+2
-4
components/ThemeManager/ThemeProvider.tsx
+2
-2
components/ThemeManager/ThemeSetter.tsx
-44
components/ThemeManager/colorToLexicons.ts
+1
-1
feeds/index.ts
+1
-5
lexicons/api/lexicons.ts
+1
-3
lexicons/api/types/pub/leaflet/document.ts
+2
-5
lexicons/pub/leaflet/document.json
+1
-2
lexicons/src/document.ts
+1
-1
next-env.d.ts
+2
-2
next.config.js
+465
-2330
package-lock.json
+11
-11
package.json
+4
-47
src/notifications.ts
-1
src/utils/codeLanguageStorage.ts
+3
-3
src/utils/getCurrentDeploymentDomain.ts
-50
src/utils/getPublicationMetadataFromLeafletData.ts
+16
src/utils/isBot.ts
-15
supabase/migrations/20251122220118_add_cascade_on_update_to_pt_relations.sql
-2
supabase/migrations/20251124214105_add_back_archived_cols.sql
+5
-14
tsconfig.json
History
3 rounds
5 comments
3 commits
expand
collapse
Replace subscribe section with "Edit Publication" button when viewing own publication.
Button links to dashboard and matches styling of existing edit post button.
2 commits
expand
collapse
Replace subscribe section with "Edit Publication" button when viewing own publication.
Button links to dashboard and matches styling of existing edit post button.
expand 1 comment
This looks good to me! Sorry it took so long to get to reviewing it. I'm not sure if there's a way I can help resolve the merge conflicts with tangled, but if you can get those resolved we can merge!
1 commit
expand
collapse
expand 2 comments
Thanks! Realized we already have this related issue - I think makes sense to replace the subscribe button with "edit publication" button linking to pub dash if you're logged in as pub creator! Mind editing to incl that? https://tangled.org/leaflet.pub/leaflet/issues/1
i'll do that soon, yeah.
you have to be kidding me.