⌘X/⌘C/⌘V for cards and lanes per 04-interactions.md § Clipboard: - ClipboardStore stages full folder snapshots eagerly at the gesture into Application Support (at most the current copy; sweep at launch and on each copy purges what the pasteboard no longer references; a copy made before quitting pastes whole after restart) and writes the pasteboard a JSON manifest — every entry embedding its index.md, lane entries their cards' too — plus plain-text titles. - Cut is Finder-style deferred: items dim in place off pendingCut, void on pasteboard takeover (changeCount, no timers), source-board close, or per-item external tombstoning; the first armed paste moves the surviving originals whole (tombstoned interior cards land in the destination's trash), a second paste materializes copies from staging. - Paste anchors by the shared flatten-order rule (NewCardTarget's anchor, extracted); a tombstoned selection never anchors; lane paste reaches the right end and stays enabled on a zero-lane board; paste into the source board is the within-board lane duplicate; copies keep created, take fresh GUIDs, and strip tombstoned cards; trash-sourced copies strip deleted: at materialization; ⌘X is disabled on the trash side. - A degraded paste is loud, never silent: staging gone → the embedded index.md fallback lands content-intact, attachments absent, and a BannerCenter-phrased row names what was lost. - The standard Edit items validate through conditionally-attached onCommand handlers, so AppKit's enablement mirrors the availability predicates; text fields keep their own clipboard while focused. 879 unit tests (68 new). Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
102 lines
3.2 KiB
Plaintext
102 lines
3.2 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>Lanework</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>Lanework</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>$(MARKETING_VERSION)</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1</string>
|
|
<key>LSMinimumSystemVersion</key>
|
|
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>© 2026 rzen</string>
|
|
<key>NSPrincipalClass</key>
|
|
<string>NSApplication</string>
|
|
<key>UTExportedTypeDeclarations</key>
|
|
<array>
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban-board</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>com.apple.package</string>
|
|
<string>public.directory</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Board</string>
|
|
<key>UTTypeTagSpecification</key>
|
|
<dict>
|
|
<key>public.filename-extension</key>
|
|
<string>kanban</string>
|
|
</dict>
|
|
</dict>
|
|
<!-- The drag session payload types (DRAG-REORDER.md; 04-interactions.md ▸ Drag and drop).
|
|
Same-app transfer is the only real consumer — both boards are open in this app — but a
|
|
system drag session is what crosses window boundaries, draws the copy badge and gives
|
|
the full-size replica, and a system session needs a declared type to carry. -->
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.cards</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Cards</string>
|
|
</dict>
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.lanes</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Lanes</string>
|
|
</dict>
|
|
<!-- The clipboard manifest (04-interactions.md ▸ Clipboard). Its own type rather than either
|
|
drag type above: a clipboard payload carries cards or lanes under one identifier, plus
|
|
the staging copyID and the fallback index.md text a drag has no use for. -->
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.clipboard</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Clipboard</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Lanework Board</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
<key>LSItemContentTypes</key>
|
|
<array>
|
|
<string>dev.rzen.indie.kanban-board</string>
|
|
</array>
|
|
<key>LSTypeIsPackage</key>
|
|
<true/>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</plist>
|