Fix multiple UI issues (#767, #771, #773, #775, #777)

Summary

This MR fixes multiple UI issues and improves code quality:

  • #777 (closed): Migrate from proxifyImageUrl to proxifyImageSrc with Base58 encoding
  • #775 (closed): Fix long links overflowing containers
  • #773 (closed): Show message when My Friends feed is empty
  • #771 (closed): Fix images in comments overflowing container
  • #767 (closed): Fix edit comment showing old content + add 30-day draft expiration

Additional improvements:

  • Extract CommentsSection component to prevent re-renders when typing in reply box
  • Add responsive width classes for post layout
  • Replace useLocalStorage hook with native localStorage API to prevent unnecessary re-renders
  • Add expiration (30 days) for comment drafts to cleanup old localStorage entries

Test plan

  • Verify post page has responsive width on different screen sizes
  • Verify typing in reply box doesn't cause content below to re-render
  • Verify images are proxified correctly with new Base58 encoding
  • Verify long links wrap properly in posts and comments
  • Verify "My Friends" page shows message when not following anyone
  • Verify images in comments don't overflow container
  • Verify editing a comment shows current content, not original
  • Verify Cancel button removes draft from localStorage
  • Verify old comment drafts are cleaned up after 30 days

Closes #767 (closed), #771 (closed), #773 (closed), #775 (closed), #777 (closed)

🤖 Generated with Claude Code

Edited by Adam Kociubinski

Merge request reports

Loading