Commit Graph

408 Commits

Author SHA1 Message Date
Your Name 7faf0b180b feat: Add planets fetch and tabs UI to IslandUniverse
- Fetch planets alongside islands with error handling
- Add filter tabs (All/Islands/Planets)
- Show planets count in header

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 07:43:01 +00:00
Your Name a1ef3cf6ff feat: Add universe tabs and planet marker CSS
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 07:37:12 +00:00
Your Name 733296dd59 feat: Add planets API and translations (safe incremental)
- Add planet API functions to client.js (fetchPlanets, createPlanet, etc.)
- Add updateIsland function for island customization
- Add sociowire:create-post event listener in App.jsx
- Add planets translations (EN, FR, ES)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 07:34:45 +00:00
Your Name c50c61ff36 fix: content filter triggers immediate refetch on change
- Fix race condition between content filter effect and general filter effect
- Map content filters to proper content_type values for backend
- Links → link, Image → image/picture/photo, Text → post/system/news_enriched
- Live → live/camera/stream, Video → video
- Ensure forceFetch fires moveend to trigger refetch

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 16:49:07 +00:00
Your Name 3a469dfa8d Fix tags display in PostDetailModal
- Use event_tags (API field) instead of tags
- Add impact-based coloring (green positive, red negative, default neutral)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 03:03:46 +00:00
Your Name 9e6f3f8029 feat: add impact-colored tags to post modals
- Update renderTagPills to accept topicImpacts and apply color classes
- Tags colored by impact: negative=red, neutral=blue, positive=green
- Add CSS for tag color classes (sw-tag-negative, sw-tag-neutral, sw-tag-positive)
- Tags display below title in post modals

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 14:45:25 +00:00
Your Name 91e024e156 Fix image gallery deduplication for absolute vs relative URLs
- Extract filename only (not full path) for deduplication
- Same image as https://domain/path/file.jpg and /path/file.jpg
  were not being deduplicated because full paths differ
- Updated both PostDetailModal.jsx and markerManager.js
- Added fetchPostById to get full post data with image_urls

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:02:54 +00:00
Your Name 3a29812319 Fix gallery to use image_urls only, not media_urls
media_urls is for video files, image_urls is for images.
Updated PostDetailModal.jsx and markerManager.js to exclude
media_urls from gallery image collection.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:07:26 +00:00
Your Name 081fba7244 Increase card sizes and improve gallery deduplication
- Polaroid scale: 0.58/0.48 (desktop/mobile)
- Handle _l, _m, _s suffixes in gallery deduplication

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:00:49 +00:00
Your Name 848f19d02b Increase map card size (scale 0.52/0.42)
- Fix duplicate CSS rule that was overriding card size
- Increase scale from 0.45 to 0.52 (desktop) and 0.38 to 0.42 (mobile)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:48:11 +00:00
Your Name cc3baf8c29 Fix image gallery deduplication for short suffixes
- Handle _l, _m, _s size suffixes in addition to _large, _medium, _small
- Prevents carousel from showing duplicate images in different sizes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:45:03 +00:00
Your Name 61654601ff Increase compact map marker size
- Larger padding, dot, and text for compact markers
- max-width increased from 180px to 220px
- font-size increased from 11px to 13px

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:42:56 +00:00
Your Name 2a9ec02d1c Fix map cards, share URL, and post modal issues
- Fix share URL format (/p/ instead of /post/)
- Reduce map card size (scale 0.45/0.38)
- Add polaroid tilt effect via CSS variable
- Fix card positioning above pointer
- Improve gallery image deduplication
- Fix save error handling in post edit

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:38:52 +00:00
Your Name 30c962e95e fix: Weather widget positioning and z-index
- Position at 64px from top (desktop & mobile)
- z-index 830 (above FAB, below searchbar dropdown)
- Throttle map updates to 2 seconds
- Click outside to close expanded view

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 10:38:06 +00:00
Your Name 3c3a6639e4 feat: Add weather widget with apps system
- Weather widget in top-left slot with compact pill display
- Click to expand 7-day forecast
- Uses apps system via Pulsar with Open-Meteo fallback
- Click outside to close expanded view
- Throttled updates (1/sec) when moving map

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 10:18:34 +00:00
Your Name e635d0e7f6 feat: Add event clusters visualization with lake-like zones
- Add EventClustersLayer component with convex hull algorithm
- Clusters appear as organic shapes around member posts
- Only visible when Clusters filter is selected
- Add fetchEventClusters API function
- Update ContentFilters with cluster filter option
- Filter posts by cluster membership when filter active

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 07:44:07 +00:00
Your Name da4fde9185 Fix template selection for posts with images but empty content_type
- Added detection for posts with images when content_type is empty
- Posts with images now correctly show as polaroid style instead of news

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:53:39 +00:00
Your Name dd5954caad fix: improve content filtering for unknown types
- Unknown content types (systems, news-scrapper) treated as text
- Filter "text" now includes news and unknown types
- Add KNOWN_CONTENT_TYPES set for type detection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:57:44 +00:00
Your Name 4b3bbe01ef Show 'Wired to Life' tagline on mobile (v0.0.95)
- Remove hidden class, show on all screen sizes
- Smaller text (7px) and dot (1px) on mobile

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:42:56 +00:00
Your Name 09f4ace25b Auto-play videos when opening post (v0.0.94)
- Add autoPlay to HeroVideo component
- Videos now start playing automatically when post opens

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:39:39 +00:00
Your Name 01272f492b Fix live post removal + add commenter avatars (v0.0.93)
- Always dispatch live-post-deleted when stream ends (removes marker)
- If saved, also dispatch live-post-created with video post
- Add commenter avatar fetching from profile API
- Display profile pictures in live chat comments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:33:04 +00:00
Your Name bacf7d9df3 Redesign LiveKitBroadcast with fullscreen experience (v0.0.92)
- Fullscreen video preview with gradient overlays
- Pre-live: Collapsible settings panel for title/category
- Live: Floating comments section with toggle
- Modern pill-style badges for LIVE/viewers/timer
- Camera switch and settings buttons on right side
- End stream confirmation with Save/Discard/Continue options
- Websocket events for live-post-updated/deleted already handled

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:20:58 +00:00
Your Name 6bec96cc19 Pass live title/category from PostCreateModal to LiveKitBroadcast (v0.0.91)
- Add liveData state to MapView for title/category/subCategory
- Pass initialTitle, initialCategory, initialSubCategory to LiveKitBroadcast
- Skip form in LiveKitBroadcast when data provided from PostCreateModal
- Show ready state with title/category instead of redundant form
- Fix auto-scroll only on new comment (v0.0.90)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:12:56 +00:00
Your Name f4fe10d804 Fix auto-scroll on post open - only scroll on new comment (v0.0.90)
- Add justCommentedRef to track when user submits a comment
- Only scroll to comments bottom when user adds new comment
- Don't auto-scroll when modal opens with existing comments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 07:07:29 +00:00
Your Name d051a9337c Add commenter avatars & category colors to comments (v0.0.89)
- Fetch profile avatars for commenters
- Apply post category gradient to comment avatars
- Add events, friends, market to CATEGORY_CONFIG
- Fix first comment race condition with setTimeout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 06:53:52 +00:00
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 c4ae815f4b feat: Distinct card layouts + live comments
PostCardNew:
- Photo/image: Polaroid-only layout (no duplicate card)
- Video: Play button overlay with title at bottom
- Camera/Live: TV style with LIVE badge and title overlay
- Default: Full card with header/body/footer
- Hidden header/body for media content types

Live Comments:
- Added comments panel to LiveKitViewerModal
- Optimistic UI update for instant feedback
- Auto-scroll and polling every 3 seconds
- Styled chat interface with animations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 10:05:39 +00:00
Your Name 8d0db6ddfe feat: Add content-type specific card styles
PostCardNew now renders different styles based on content_type:
- camera/live/stream: TV-style with red pulsing LIVE badge
- video: Card with centered play button overlay
- photo/picture/image: Polaroid white-frame style
- default: Standard gallery image

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:50:53 +00:00
Your Name 6e29a502d4 feat: Islands overhaul + modal improvements
Islands Universe:
- Grid-based positioning to prevent overlap
- Much bigger islands (120px) with detailed SVG
- Beach rings, palm trees, huts, sparkles
- Info cards with username, post count, terrain type
- Zoomed out view to see all islands

Island Viewer:
- Bigger island visualization (320-400px)
- Terrain-specific decorations (emoji)
- Add Post button for island owners
- Share Island button with native share API

Post Modal:
- Hide "Open source" button when no URL
- Changed to link instead of disabled button

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:37:57 +00:00
Your Name fa345f23fd fix: restore PWA install button visibility 2026-01-19 09:30:34 +00:00
Your Name 91dd114544 fix: TopBar mobile compact + map markers positioning
- Make TopBar buttons smaller on mobile (icon-only)
- Remove language label on mobile, reduce padding/gaps
- Add scrollbar-hide utility for clean overflow
- Fix marker CSS conflict that broke positioning
- Remove conflicting .sw-appear animation that overrode marker styles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:27:22 +00:00
Your Name a1ffc300ff feat: TopBar refonte + map markers animations + theme system
- Add TopBarNew with Framer Motion animations and compact design
- Enhance map markers with bounce-in animations and hover effects
- Improve cluster styles with gradient backgrounds
- Add comprehensive theme system (dark/blue/light modes)
- Add theme-aware utilities and improved contrasts
- Better accessibility with focus rings and motion preferences

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 09:15:35 +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
Your Name 197151d818 Fix LiveKit live streaming and remove old WebRTC code
- Add double-click guard in handleGoLive to prevent duplicate posts
- Update LiveKit URLs to use stream.sociowire.com
- Remove deprecated WebRTC broadcast/viewer components
- Bump service worker cache to v11

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 08:13:59 +00:00
Your Name a9ac9051c5 fix: simplify PWA install detection to use browser native API
- Remove localStorage/cookie tracking for installed state
- Rely on browser's beforeinstallprompt event (only fires if not installed)
- Use display-mode: standalone to detect running as PWA

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 04:18:39 +00:00
Your Name ba7e40fa20 Update LiveKit URLs to production endpoints
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 08:51:44 +00:00
Sociowire Dev 4ff882c459 chore: auto-read version from package.json in footer
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 03:37:36 +00:00
Sociowire Dev e5c75a68fa chore: update version display to 0.0.22
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 03:35:11 +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