mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 00:16:59 +00:00
First pilot of the note-ui-commons extraction plan (commons/plans/2026-07-16-note-ui-commons-extraction.md, Tier 0). These two event-kind renderers take plain quartz events with no AccountViewModel, INav, or R.string, so they move to commons/ui/note/ almost verbatim: - EcashMintCard: RenderCashuMint / RenderFedimint / RenderMintRecommendation move wholesale (already past the seam — the NoteCompose dispatcher hands them a decoded event). NoteCompose + ThreadFeedView imports re-pointed. - CodeSnippetCard: the feed preview and thread header layouts move to commons; the Android app keeps a thin RenderCodeSnippetEvent(Note) entry that decodes the Note and calls the shared card. - NoteBorders: shared QuoteBorder/SmallBorder/StdHorzSpacer/StdVertSpacer/ subtleBorder/replyModifier theme primitives in commons so the migrated cards share one visual vocabulary. Mirrors the Android ui/theme values; the Android copies are deleted once every renderer that uses them moves. Desktop now renders the identical cards, so the two front ends can't drift. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gmrt3jwYPDJ38MJGJ6GaNr