feat: add copy note content option and migrate AGENTS.md to CLAUDE.md

Add a "Copy note content" option to the note options menu that copies the
event's content field to clipboard. Merge AGENTS.md into CLAUDE.md with
enhanced i18n rules emphasizing append-only locale key ordering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
codytseng 2026-02-09 21:56:32 +08:00
parent 3196c43644
commit 244dda807b
21 changed files with 52 additions and 22 deletions

View file

@ -187,6 +187,14 @@ export function useMenuActions({
closeDrawer()
}
},
{
icon: Copy,
label: t('Copy note content'),
onClick: () => {
navigator.clipboard.writeText(event.content)
closeDrawer()
}
},
{
icon: Code,
label: t('View raw event'),