• 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
Name
Last commit
Last update
.github Loading commit data...
cmd/memos Loading commit data...
internal Loading commit data...
plugin Loading commit data...
proto Loading commit data...
scripts Loading commit data...
server Loading commit data...
store Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.golangci.yaml Loading commit data...
.goreleaser.yaml Loading commit data...
CLAUDE.md Loading commit data...
CODEOWNERS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...