Commit Graph

20 Commits

Author SHA1 Message Date
Your Name 0119174969 Add category icons & author avatars to PostDetailModal (v0.0.88)
- Category icon shown when post has no image (with gradient background)
- Author avatar fetched from profile API and displayed
- Logo position adjusted (6px down, 1px left)
- Comments auto-open when existing comments present

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 06:45:06 +00:00
Your Name 68c1fce064 TopBar redesign & PostDetailModal improvements (v0.0.87)
TopBar:
- Responsive logo size (adapts to mobile)
- Logo positioned correctly (+5px down, +2px right)
- Brand text "SOCIOWIRE" visible on all sizes
- Tagline "Wired to Life" hidden on mobile
- Smaller action buttons on mobile (w-7 → w-9 responsive)
- Friends button always visible (opens login if not auth)
- Removed duplicate search bar and location button

PostDetailModal:
- Truth score block made more compact
- Comments use correct API fields (username, body)
- Comments auto-open when there are existing comments
- Fixed comment API response handling (ok at end of spread)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 06:36:37 +00:00
Your Name 37f879556e feat: Refactor PostDetailModal with unified post type system
- Add unified getPostType() detection for 6 post types: link, story, picture, video, live, camera
- Create dedicated Hero components for each post type
- Quebec511 cameras now use proxy stream /live/api/stream/{id}
- Fix media URLs to use relative paths (same origin)
- Add scroll lock when modal is open
- Generic link display (domain name instead of "Read article")
- Stories with images show gallery, text-only shows gradient
- Support long text content with proper scrolling
- Add i18n keys for modal (EN/FR/ES)
- markerManager.js now dispatches React event for all post types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 05:36:51 +00:00
Your Name 471d5ab544 fix: Remove old cycling vote handler, skip if already voted same way
- Remove old truthBadge click handler that cycled through votes
- Add check to skip vote if already voted that way (no double-click bug)
- Fetch initial vote state and show active button
- Update button styles to show current vote

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 21:29:11 +00:00
Your Name 59019f493f fix: Single truth badge with thumbs up/down, fix score display
- Remove duplicate truth vote section (was showing 2 truth scores)
- Add thumbs up/down buttons to existing truth badge
- Fix client.js to use truth_score (final score) instead of user_score (vote effect)
- Both regular and cluster modals have voting in the badge

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 20:58:14 +00:00
Your Name bd6d53f1e8 feat: Add truth score voting UI with thumbs up/down to map overlays
- Add truth vote section with thumbs up/down buttons and progress rail
- Fix image gallery deduplication in map overlay (add image_urls support)
- Both regular and cluster modals now have the truth voting UI
- Score display with color-coded rail (green/amber/red)
- Interactive button feedback on vote

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 20:51:03 +00:00
Your Name 1bc7163bf9 feat: 2-step post creation flow + auth fix
- Step 1: Show crosshair to pick location with confirm/cancel buttons
- Step 2: Open PostCreateModal with selected coords
- Fix createPost to use authHeaders() automatically
- Add location picker UI with hints and styled buttons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 17:26:51 +00:00
Your Name 9cdcc28784 feat: Integrate new PostCreateModal into MapView
- Replace old 3-step wizard with single-screen PostCreateModal
- Simplify handleOpenCreate function
- Connect modal submit to createPost API
- Connect Go Live button to LiveKit broadcast

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 17:17:09 +00:00
Your Name 77e376465d feat: Hot topbar + full-featured post creation modal
TopBar:
- Animated gradient accent line
- Glowing logo with pulse effect
- Theme selector pills on desktop (visible again)
- Cleaner action buttons with color states

PostCreateModal:
- 4 content modes: Text, Photo, Link, Live
- Link mode with auto-preview
- Live mode with Go Live button
- Category and sub-category selection
- Image upload with gallery
- All features from old wizard in single screen

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 17:07:48 +00:00
Your Name f2992bd791 feat: Cleaner topbar + new post creation modal
- Simplified topbar design (cleaner, more minimal)
- Created PostCreateModal.jsx for single-screen post creation
- Removed complex animated gradients from topbar
- Made logo and brand text cleaner

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 16:59:54 +00:00
Your Name 1ea2b58066 feat: Simplify truth score display + UI improvements
- Replace complex truth rail with simple badge in post modal
- Truth score now displays like small cards (colored circle with number)
- Remove API calls that were overwriting correct truth scores
- Add vote functionality to badge (click to cycle vote)
- Fix truth score not updating due to WebSocket race conditions
- Various UI color and style improvements

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 12:51:34 +00:00
Your Name d120aa9d17 chore: bump version to 0.0.23 2026-01-19 10:11:50 +00:00
Your Name 8f2e5b8c18 feat: Modernize UI with Tailwind CSS v4 + Framer Motion
- Add Tailwind CSS v4 with custom Sociowire theme
- Add Framer Motion for smooth animations
- Create Skeleton component for loading states
- Create BlurImage component with progressive blur-up effect
- Create new PostCardNew with:
  - Entry/hover/tap animations
  - Glassmorphism design
  - Category-colored badges
  - Micro-interactions on buttons
- Update PostList to use new components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:05:51 +00:00
Sociowire Dev 27e1a672db chore: bump version to 0.0.22
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 03:34:33 +00:00
Sociowire Dev 0e741329cb v0.0.21: Fix camera pins, carousel gallery, polaroid text
- Camera posts now use small blue pins with red flashing dot
- Fixed carousel gallery arrows for posts with multiple images
- Added title and source text to polaroid mini cards
- Bumped version to 0.0.21

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 21:49:10 +00:00
SocioWire f9e1505147 feat: add real-time chat system with i18n support
- Add WebSocket-based chat with presence indicators
- Add message delivery status (sending/sent/read)
- Add notification badges for unread messages
- Add body scroll lock on mobile to prevent keyboard issues
- Add visibility change handling to refresh data on browser resume
- Add internationalization (i18n) with English/French support
- Add timezone-aware message timestamps

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 20:40:28 +00:00
SocioWire 15141835f2 Update live features 2026-01-07 02:03:36 +00:00
Your Name 0b6bb6cc07 j essais de fix 2025-12-16 22:47:17 -05:00
Your Name d2bde41aa4 tout fonctionne logins et post correct 2025-12-10 19:45:06 +00:00
Your Name 222a907dd2 yeah 2025-12-08 23:22:58 +00:00