Commit Graph

379 Commits

Author SHA1 Message Date
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
Sociowire Dev 6d9c96e1bd fix: signup URL and content type filters
- ?signup=1 now opens clean signup form (clears old messages)
- Live filter only shows camera/live/stream (excludes video)
- Video filter shows only recorded videos

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 03:33:30 +00:00
Sociowire Dev 1902515d4a feat: Share button with options, video pins fixed, polaroid smaller
- Add share menu with 3 options: Copy URL, Copy with coords, Share via
- Share URL includes lat/lon/zoom/category/time filters
- Restore shared view from URL params on page load
- Fix videos ALWAYS using simple markers (blue pin + play button)
- Camera pins: blue 64x48 with red LED pulse
- Video pins: blue 64x48 with play button overlay (no LED)
- Polaroid cards: reduced from 180x230 to 150x190
- Force camera/video to simple markers in fallback scoring

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 22:56:38 +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 Dev 2a46aff450 Add polaroid/video/camera templates and respect backend tiers
- Add polaroid, video, camera template specs
- getTemplateKeyForPost selects template based on content_type
- prioritizePosts uses backend tier values (premium/regular)
- Tier determines SIZE, content_type determines STYLE

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 09:08:38 +00:00
Sociowire Dev e32b8a531a Fix live filter to include cameras and update pin styling
- Live filter sends live,camera content types to API
- Camera pin border and pointer changed to sky blue (#0ea5e9)
- Camera pin background is sky blue when no thumbnail

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 09:08:59 +00:00
Sociowire Dev a9a1d782c3 fix: camera pins - small red dot, hide if no thumbnail
- Replace LIVE badge with small pulsing red dot (6px)
- Hide camera marker entirely if no thumbnail available
- Cleaner, less intrusive design

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 05:34:24 +00:00
Sociowire Dev 108f8b441a feat: camera pins with thumbnail + LIVE badge (v0.0018)
- Camera markers show thumbnail preview from live stream
- Red LIVE badge with pulsing indicator
- Fallback to video icon if thumbnail unavailable
- Blue glow effect for camera pins

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 05:31:07 +00:00
Sociowire Dev 7e79688af3 fix: z-index layering - cards above pins + bump v0.0017
- Compact cards (petites cartes): z-index 100 base, 200 on hover
- Simple pins (pointeurs): z-index 2 base, 150 on hover
- Cards always render above pins now

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 05:09:39 +00:00
Sociowire Dev e39f5e8226 fix: z-index on hover for map markers
- Simple pins (hover card): z-index 150 on hover
- Compact cards: z-index 200 on hover
- Ensures hover cards are always above other markers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 05:02:48 +00:00
Sociowire Dev fa8134fd41 Fix truth voting, chat updates, and mobile contact dropdown
- Fix truth voting: add error logging, prevent duplicate event listeners,
  guard against concurrent votes
- Add real-time friends list updates in chat via custom event
- Make mobile contact dropdown narrower (260px) and stay on right side
- Add data-vote-bound attribute to prevent duplicate vote handlers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 20:35:29 +00:00
Sociowire Dev 35da962800 Change time filter: 1h becomes 'now' showing 3 hours
- First time option now shows "now" label instead of "1h"
- Filters for posts from last 3 hours instead of 1 hour
- Other time options remain: 6h, 24h, 7d, 2w

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 19:28:48 +00:00
Sociowire Dev 9d207f53cf Add sidebar with friends list to chat window
- Added toggleable sidebar showing friends list on right side of chat
- Small avatars with online status and unread badges
- Click friend to switch conversation
- Toggle button in chat header
- Hidden on mobile (use contacts dropdown instead)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 19:11:46 +00:00
Sociowire Dev f84888ea06 Fix FAB and weather widget z-index and positioning
- FAB category z-index goes to 9000 when open (above search/weather)
- FAB returns to normal z-index when closed
- Weather widget positioned with document flow below search bar
- Increased spacing between FAB categories and subcategories
- FABs moved lower on screen (260px desktop, 240px mobile)
- Search bar dropdown z-index increased to 850
- Labels use transparent background with text shadow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 06:10:48 +00:00
Sociowire Dev 74ab0bd1f5 Improve FAB menu: z-index, labels, clear all filters
- Fix z-index so FAB items appear above weather widget
- Add X button to clear all filters when FAB is open
- Add text labels for categories and subcategories
- Make labels readable with dark text on light background
- Update backdrop z-index hierarchy

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 04:59:32 +00:00
Sociowire Dev 8e3f8c4859 Weather: left 2px 2026-01-12 04:01:13 +00:00
Sociowire Dev 0fec70aa40 Weather: top 55px, left 3px 2026-01-12 03:58:06 +00:00
Sociowire Dev b4414a6fce Weather widget: top 65px, left 12px - below search bar 2026-01-12 03:56:27 +00:00
Sociowire Dev b0eaf5eafa Fix weather widget top position (120px) 2026-01-12 03:54:22 +00:00
Sociowire Dev 350ad9b4f7 Move weather widget to left edge (5px) 2026-01-12 03:52:23 +00:00
Sociowire Dev 85ebb500bc Fix weather widget position and z-index hierarchy
- Position weather widget fixed at left:24px, top:240px
- Set weather widget z-index to 300 (below FAB at 398-400)
- Fix FAB z-index to be below search dropdown
- Fix various z-index issues for modals and overlays

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 03:25:41 +00:00
SocioWire dac9f620d0 Fix search result click and FAB positioning
- Fix setMainFilter/setSubFilter -> setMainFilters/setSubFilters (array state)
- Move FABs lower on screen (top: 180px)
- Add version indicator in footer
- Fix search dropdown z-index

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:43:23 +00:00
SocioWire add2f20b39 Fix filter toggle triggering refetch
- Pass mainFilters/subFilters arrays to usePostsEngine
- Include arrays in filterKey for proper change detection
- Any filter toggle now triggers fresh API fetch

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 08:16:57 +00:00
SocioWire 6b50ac6937 Revert "Fix filter changes not triggering refetch"
This reverts commit bb0a5187b7.
2026-01-11 08:10:23 +00:00
SocioWire bb0a5187b7 Fix filter changes not triggering refetch
- Add mainFilters/subFilters arrays to usePostsEngine
- Update filterKey to use full arrays for comparison
- Any filter toggle now triggers fresh API fetch

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 08:08:30 +00:00
SocioWire 01e3ef2362 FAB: rotate selected category to middle-right, better subcategory spacing
- Selected category rotates to horizontal middle position
- Subcategories centered around category with more spacing
- Prevents subcategories from going off screen

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 07:33:01 +00:00
SocioWire 52d4d36727 Subcategories: all selected by default, cleaner UI
- Inverted subcategory logic: empty = all active
- Click to exclude/filter out subcategories
- Excluded items shown dimmed/smaller

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 06:15:39 +00:00
SocioWire b0ccd024b9 Add dual FAB menu for categories and time filters
- Left FAB: category selection with expandable subcategories
- Right FAB: time filter (1h/6h/24h/7d/2w) + weather toggle
- Multi-select support for categories with split-color FAB
- Category rotation to keep subcategories on-screen
- Simplified search bar (+ and Island buttons only)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 05:50:50 +00:00
SocioWire e89f53d1eb Fix modal flash when clicking actions (vote, like, etc.)
- Skip marker refresh when post modal is open (update UI in-place)
- Add stopPropagation to vote buttons to prevent event bubbling

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 03:17:40 +00:00
SocioWire d60a7e373e Blue tint for filter bar & sociowall + LIVE badge for cameras
- Add blue gradient tint to content filters bar
- Add blue tint to sociowall panel
- Show "LIVE" with red pulsing indicator for camera/live content
- Cameras always display as live instead of timestamp

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 03:03:47 +00:00