1
0
mirror of https://github.com/avinal/nikki.git synced 2026-07-03 21:40:09 +05:30
avinal 3b4e45484f Add shared UI components: markdown, memo card, attachments, reactions
MarkdownText: custom Compose renderer supporting headings, bold (**/__),
italic (*/_), strikethrough (~~), inline code with accent background,
fenced code blocks with syntax highlighting (keywords/strings/comments/numbers),
task checkboxes, bullet lists, blockquotes, links, bare URLs, #tag pills.
All text colors respect theme (onBackground/onSurfaceVariant).

MemoCard: chrome-free content block with parallax-aware layout.
Long-press context menu (Metro AlertDialog style): pin, edit, copy, archive, delete.
Inline editing with accent-colored text field and visibility picker.
Compact mode with "show more/less" for long memos.

AttachmentGrid: full-width image rendering via Coil with FillWidth scaling.
ReactionBar: grouped emoji display with count badges.
RelativeTimestamp: "just now", "5m ago", "yesterday", "Jan 15" formatting.

Co-Authored-By: Claude Opus 4.6 (1M context)

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
2026-05-19 17:10:00 +05:30
S
Description
No description provided
MIT 427 KiB
Languages
Kotlin 100%