A broad pass of correctness, privacy, performance, accessibility, and SEO fixes, plus the ability to delete your own comments.
Added
- Delete your own comments — comments you wrote now have an ellipsis menu with a Delete option (with confirmation); the post's comment count updates instantly.
Fixed
- Post-detail header showed the author's join date instead of the post's date (a post made today read "2y").
- Like/repost counts could drift permanently when an action was a no-op (already liked/removed) or when liking and reposting at the same time.
- Replying to a message no longer reports success when nothing was saved.
- Sharing a note that fails now rolls back the optimistic note.
- Timestamps render safely from API strings (no stray "Invalid Date").
Performance & Cost
- Per-viewer feed/comment/notes overlays now hit cache reliably (keyed on stable IDs), cutting Turso reads.
- Reposts, comment-likes, and blocks no longer invalidate the global feed/comments caches.
- Parallelized independent reads (current-user data; message-send checks).
- Smaller feed page size, dropped date-fns locale tables from hot bundles, removed dead API routes.
Security & Privacy
- Quiet mode is enforced on the server, not just hidden in the UI.
- Personalized API responses are marked private (
Cache-Control: private + Vary: Cookie) — no cross-user cache bleed. - Account deletion verifies the confirmation phrase server-side.
- Rate limiting keys on a non-spoofable client IP and logs loudly if Redis is missing in production.
- Login no longer reveals which usernames exist via response timing.
Accessibility
- Inline links and @mentions in posts are now clickable; dialogs, drawers, and icon-only buttons have accessible names; standardized on the shared
<Button> for visible keyboard focus; PWA launches to a public route.
SEO
- Per-route canonical URLs (replacing a single global canonical that flagged every page as a homepage duplicate); relative OG URLs;
noindex on auth/utility/missing pages; cleaned-up sitemap.