Conversation
A stash can now link to another in the same context: type `>>` in the editor and pick one, which inserts [label](stash:<id>) - an ordinary Markdown link, kept in the content so it syncs and encrypts with everything else. No schema change. A link renders as a chip showing the target's live first line and state (open, completed, moved to another context, deleted, or gone). Hovering it shows a preview; clicking scrolls to it, unfolding Completed or switching context first. Copying a stash to an AI tool appends what it links to, one level deep and size-capped (2,000 chars each, 8,000 total); anything longer is written to a file next to the attachments instead. Auto Clear Completed now keeps a completed stash while an open stash still links to it, one level only, so a chain of old completed stashes cannot keep each other alive - explained under the setting. Deleting a stash, or clearing completed ones, now warns when something still links there. Export/import remaps links to the new ids an import mints. Along the way, the hover preview it needed exposed a bug already present in the attachment previews: the sideways shift meant to keep a preview inside the window had its sign backwards, and assumed a fixed width narrower than an image preview actually is - so a preview near either edge was pushed further off it instead of back in. Tooltip now measures its own card and corrects for both. Checked: 248 vitest cases (25 new) and svelte-check (0/0) on the frontend; 169 cargo tests, including new coverage for the one-level auto-clear exemption and for links surviving export/import. Verified the positioning fix live in the screenshots demo at the app's 375px minimum width. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
A stash can now link to another in the same context: type
>>in the editor and pick one, which inserts label - an ordinary Markdown link, kept in the content so it syncs and encrypts with everything else. No schema change.A link renders as a chip showing the target's live first line and state (open, completed, moved to another context, deleted, or gone). Hovering it shows a preview; clicking scrolls to it, unfolding Completed or switching context first. Copying a stash to an AI tool appends what it links to, one level deep and size-capped (2,000 chars each, 8,000 total); anything longer is written to a file next to the attachments instead. Auto Clear Completed now keeps a completed stash while an open stash still links to it, one level only, so a chain of old completed stashes cannot keep each other alive - explained under the setting. Deleting a stash, or clearing completed ones, now warns when something still links there. Export/import remaps links to the new ids an import mints.
Along the way, the hover preview it needed exposed a bug already present in the attachment previews: the sideways shift meant to keep a preview inside the window had its sign backwards, and assumed a fixed width narrower than an image preview actually is - so a preview near either edge was pushed further off it instead of back in. Tooltip now measures its own card and corrects for both.
Checked: 248 vitest cases (25 new) and svelte-check (0/0) on the frontend; 169 cargo tests, including new coverage for the one-level auto-clear exemption and for links surviving export/import. Verified the positioning fix live in the screenshots demo at the app's 375px minimum width.
Claude-Session: https://claude.ai/code/session_01KkYvnuq8Y4nYD1jSCi9GCR