• Johnny's avatar
    refactor: implement MemoView component with subcomponents and hooks · 1ef11f74
    Johnny authored
    - Added MemoView component to display a single memo card with full functionality including creator info, memo content, attachments, reactions, and comments.
    - Created MemoBody and MemoHeader subcomponents to separate concerns and improve maintainability.
    - Introduced custom hooks for managing memo actions, keyboard shortcuts, NSFW content visibility, and image preview.
    - Implemented reaction handling with new ReactionSelector and ReactionView components.
    - Added TypeScript types for better type safety and clarity.
    - Established constants for memo card styling and keyboard shortcuts.
    - Removed legacy ReactionSelector and ReactionView components from the previous structure.
    1ef11f74
index.ts 201 Bytes