feat: Lots of improvements #23

Merged
rdenadai merged 2 commits from rdenadai/improvements-add-create-account-others into main 2025-10-30 14:45:48 +00:00
Owner

Summary

Major improvements to the Rede Capivara frontend including enhanced external link previews, better authentication flow, improved UX, and comprehensive documentation updates.

Key Changes

🎨 Enhanced External Link Previews

  • Replaced iframe embeds with social card previews using Open Graph data
  • Added new useSocialCard composable to fetch rich preview metadata from API
  • Implemented image-based previews with caching support
  • Fixed text overflow issues with better word-breaking

🔐 Authentication & Session Management

  • Improved JWT token refresh logic with automatic retry
  • Enhanced session validation in router navigation guards
  • Added /logout route for proper cleanup
  • Better error handling for expired sessions with user notifications
  • Fixed logout flow to properly clear cache and redirect

🚀 Developer Experience

  • Added dev.sh script for quick development setup
  • Auto-detects missing node_modules and installs dependencies
  • Displays helpful startup information

🐛 Bug Fixes & UX Improvements

  • Fixed repost/like button event propagation issues (added .stop.prevent)
  • Moved toast notifications from bottom-right to bottom-left
  • Improved click handling on posts to prevent navigation conflicts
  • Better error messages in Portuguese throughout the application
  • Removed unnecessary console.error calls for cleaner logs

📝 Documentation

  • Completely rewrote README.md with comprehensive project documentation
  • Added detailed feature descriptions, architecture overview, and setup instructions
  • Documented composables, routing, caching strategies, and PWA features
  • Enhanced styling and theming documentation
  • Added contribution guidelines and deployment information

🔧 Code Quality

  • Cleaned up cache management code formatting
  • Improved error handling in notifications, followers, and following views
  • Better install prompt error messages
  • Streamlined migration view error handling

Statistics

  • 21 files changed: 475 insertions, 258 deletions
  • Major focus on UX improvements, documentation, and code quality
### Summary Major improvements to the Rede Capivara frontend including enhanced external link previews, better authentication flow, improved UX, and comprehensive documentation updates. ### Key Changes **🎨 Enhanced External Link Previews** - Replaced iframe embeds with social card previews using Open Graph data - Added new `useSocialCard` composable to fetch rich preview metadata from API - Implemented image-based previews with caching support - Fixed text overflow issues with better word-breaking **🔐 Authentication & Session Management** - Improved JWT token refresh logic with automatic retry - Enhanced session validation in router navigation guards - Added `/logout` route for proper cleanup - Better error handling for expired sessions with user notifications - Fixed logout flow to properly clear cache and redirect **🚀 Developer Experience** - Added dev.sh script for quick development setup - Auto-detects missing node_modules and installs dependencies - Displays helpful startup information **🐛 Bug Fixes & UX Improvements** - Fixed repost/like button event propagation issues (added `.stop.prevent`) - Moved toast notifications from bottom-right to bottom-left - Improved click handling on posts to prevent navigation conflicts - Better error messages in Portuguese throughout the application - Removed unnecessary console.error calls for cleaner logs **📝 Documentation** - Completely rewrote README.md with comprehensive project documentation - Added detailed feature descriptions, architecture overview, and setup instructions - Documented composables, routing, caching strategies, and PWA features - Enhanced styling and theming documentation - Added contribution guidelines and deployment information **🔧 Code Quality** - Cleaned up cache management code formatting - Improved error handling in notifications, followers, and following views - Better install prompt error messages - Streamlined migration view error handling ### Statistics - **21 files changed**: 475 insertions, 258 deletions - Major focus on UX improvements, documentation, and code quality
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rdenadai/web.redecapivara.social!23
No description provided.