Draft
feat: copy-link for board cards and calendar events#77
Conversation
- Add cardDotFolder/cardFilePath helpers to board-format.ts - Add Copy link item to board card right-click context menu - Add Copy link to board card expanded ··· popup menu - Thread boardPath through BoardColumn → BoardCard - Add eventDotFolder/eventFilePath helpers to calendar-format.ts - Add Copy link button to calendar event details panel header - Pass calendarPath to EventDetails from CalendarView Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: adam4813 <3011917+adam4813@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add ability to get a link to a child element for embedding
feat: copy-link for board cards and calendar events
Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Board and calendar note types have child elements (cards, events) stored as individual files in companion dot-folders, but there was no way to obtain an embeddable link (
![[path]]) to those children from the UI.Changes
Client-side path helpers
board-format.ts:cardDotFolder(boardPath)+cardFilePath(boardPath, cardId)— browser-safe equivalents of the server-side helpers incard-store.tscalendar-format.ts:eventDotFolder(calendarPath)+eventFilePath(calendarPath, eventId)— same pattern for eventsProduced link format:
![[notes/.myboard.cards/card-xxx.md]]Board cards — two entry points
board-view.tsx): "Copy link" added as the first item···overflow popup (board-card.tsx): 🔗 Copy link button added to the expanded card menu;boardPaththreaded throughBoardColumn → BoardCardCalendar events
event-details.tsx): 🔗 Copy link button in the panel header;calendarPathprop added and passed down fromCalendarView