a tool for shared writing and social publishing

add edit publication link for pub owners #98

Closed hadoux.works
targeting main from hadoux.works/leaflet:feat/edit-publication-link
Closed opened by and assigned to hadoux.works
targeting main from hadoux.works/leaflet:feat/edit-publication-link

Closes #1

When logged in and viewing your own publication homepage, the Subscribe button is replaced with an "Edit Publication" button linking to the publication dashboard.

  • New PublicationSubscribeOrEdit client component
  • Uses useIdentityData() to check ownership (identity.atp_did === publication.identity_did)
  • Follows the existing pattern from PostHeader.tsx
Commits 2

rewire edit publication link after publication page restructure
add edit publication link for pub owners