refactor: improve codebase architecture
Extract duplicated patterns into reusable modules:
- AT Protocol URI primitives (atproto.ts) for consistent URI parsing
- ActionResult type for standardized server action contracts
- useInteraction hook to deduplicate like/repost logic and fix player store sync bug
- resolveRecordsByAuthor for shared batch-fetch pattern
- useCoverArtPreview hook for cover art preview lifecycle
- ConfirmDeleteDialog for generic delete confirmation
Signed-off-by: mejsiejdev <mejsiejdev@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
authored by
tangled.org
d42d731b
7ac7058d