mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
- Add a "Highlight" action to the note action menu (3-dot menu + chat long-press sheet). It opens the NIP-84 composer pre-tagged with the note as source — an `a` reference for an addressable article, else an `e` reference, plus the author `p` — with the passage left for the user to type/paste. Prose kinds only (text notes, long-form), and never a private rumor (a public highlight would leak an e-tag of the unsigned rumor). This is the in-app entry point for "post with the source as an event". - Remove the live preview from the New Highlight screen per review. - Add two real-world regression tests for the shared-highlight parser: Chrome "copy link to highlight" with a prefix/suffix fragment (incl. an encoded hyphen inside the prefix) and a long start-only fragment with encoded commas. Verified with :quartz:jvmTest and :amethyst:compileFdroidDebugKotlin.