Commit Graph

54 Commits

Author SHA1 Message Date
SocioWire bdd6e2c691 fix: prevent time filter reset when changing category
- Set autoWidenRef.current = true when user changes filter to prevent auto-widen
- Time filter now stays as user selected when changing category/subcategory

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 04:49:40 +00:00
SocioWire 713a35ab75 Update live flow and search dedupe 2026-01-08 05:26:11 +00:00
SocioWire 29e80a7f0e Update branding and fix video content display
- Update favicon and icons with new 2026 branding
- Fix video content display - skip hero replacement for video posts
- Add video_url to asset resolution in client.js
- Update LiveKit broadcast with egress recording
- Fix auth context and topbar styling
- Update PostCard and map styling

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 20:11:49 +00:00
SocioWire 15141835f2 Update live features 2026-01-07 02:03:36 +00:00
Your Name 6a0dcc650d Refine modal arrows and counter 2026-01-02 02:18:56 -05:00
Your Name 551a8ccf8c Bigger arrows and counter 2026-01-02 02:14:28 -05:00
Your Name dac6fc3555 Simplify modal arrows 2026-01-02 02:12:26 -05:00
Your Name 5d5cf3e3ab Tighten marker modal controls 2026-01-02 02:05:41 -05:00
Your Name e3a67347fd add touch swipe to overlay carousel 2026-01-02 01:53:15 -05:00
Your Name 36fc9a7dd1 add carousel to post overlay 2026-01-02 01:51:08 -05:00
Your Name d9d3b9df20 Commit remaining frontend tweaks 2025-12-31 02:41:50 -05:00
Your Name 5cc21194a0 Fix time filter refresh and polish search UI 2025-12-30 18:01:11 -05:00
Your Name 0bd4988ad7 Adjust map radius and fetch limits 2025-12-29 22:25:59 -05:00
Your Name 972ba1afe5 feat: refine create flow and island UI 2025-12-28 22:50:32 -05:00
Your Name 909715c2d7 Improve map UX, theming, and privacy page 2025-12-27 14:50:18 -05:00
Your Name 55ecfbd34e Fix fakalyzer UI and realtime updates 2025-12-26 21:11:22 -05:00
Your Name b8ac7d2010 Enhance analytics, map overlay, and UI fixes 2025-12-26 19:21:04 -05:00
Your Name 453e17b6eb Always push history for modal back behavior 2025-12-26 02:32:21 -05:00
Your Name f6cda99b4c Fix back button closing modal 2025-12-26 02:27:39 -05:00
Your Name e1e5999617 Close fullscreen modal on back 2025-12-25 21:28:27 -05:00
Your Name 5a9c49ab87 Use event date for modal and tighten truth rail 2025-12-25 17:09:03 -05:00
Your Name 3d7a33b06e Add truth rail and remove duplicate modal content 2025-12-25 16:39:10 -05:00
Your Name c4b7f6cb90 Normalize map image URLs 2025-12-25 02:29:55 -05:00
Your Name 8fa842ecb7 Refine sociowall feed and post media fallbacks 2025-12-25 00:45:15 -05:00
Your Name ffeaee6e88 Improve post modal auth flow and share handling 2025-12-24 23:02:11 -05:00
Your Name 40bc03d90d Add map clustering with priority pins 2025-12-24 14:59:14 -05:00
Your Name eca8c6c270 Improve map fetch, search UX, and filters 2025-12-24 14:30:44 -05:00
Your Name e38238d199 Fix: Offset upward for new posts and clear filters on pick
1. New post pin offset upward
   - Changed from {x: 0, y: 0} to {x: 0, y: -80}
   - Negative Y = moves UP on screen
   - Compensates for anchor:bottom positioning
   - Pin now appears at crosshair position

2. Clear filters when picking post from suggestions
   - When clicking a post in search results
   - Set mainFilter and subFilter to "All"
   - Ensures the post is visible
   - No more "post hidden by filters" issue

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 20:27:48 -05:00
Your Name 366cfc0417 Fix: Auto-adjust filters on search and fix post pin position
1. Auto-clear category filters when searching
   - When user searches, set mainFilter and subFilter to "All"
   - Ensures search results are visible regardless of category
   - No more hidden results due to filter mismatch

2. Fix post pin offset after creation
   - New posts (< 10 seconds old) have NO smart offset
   - Respects crosshair position chosen by user
   - Pin appears exactly where user aimed
   - Older posts still get smart offset to avoid overlaps

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 20:20:55 -05:00
Your Name 9d906fb4a4 Fix: Simplify marker DOM structure for better map anchoring
Removed intermediate sw-simple-pin-container div that was causing
issues with MapLibre GL marker positioning. The root element is now
directly a flex container, which should fix pins staying at screen
position instead of following map geography during pan/rotation.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 16:03:58 -05:00
Your Name 266292eba2 Final polish: Remove duplicate buttons, fix pin anchoring
1. Remove Duplicate Buttons (MapView.jsx):
   - Removed "My spot" and "New wire" buttons from map-top-actions
   - These functions already available in SmartSearchBar icons
   - Cleaner UI, less clutter

2. Fix Pin Anchoring - Pins Stay Fixed Now! (markerManager.js):
   - Root element now has fixed dimensions: width:40px, height:52px
   - Pin container positioned absolute bottom:0 (ensures correct anchor point)
   - Hover card uses bottom:100% instead of fixed pixel value
   - Transform includes translateY(-6px) for proper spacing
   - Result: Pins remain perfectly fixed at geographic position during zoom/pan

Pin DOM structure now:
```
<div root style="width:40px;height:52px"> (anchor bottom here)
  <div container style="position:absolute;bottom:0">
    <circle>image</circle>
    <triangle>point</triangle>
  </div>
  <div hover-card style="bottom:100%">preview</div>
</div>
```

The key: Root has explicit height, pin container at bottom,
so MapLibre anchor:"bottom" aligns triangle point with lat/lon

Tested: Pins now stay locked to position on zoom/pan 

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 15:48:01 -05:00
Your Name 28e760d616 Major UX improvements: Smart search, navigation, fixed markers
1. Smart Search Integration (MapView.jsx, SmartSearchBar.jsx):
   - Replace simple search bar with SmartSearchBar component
   - Suggestions appear on focus (popular cities/regions)
   - Suggestions update as user types (debounced 150ms)
   - Click suggestion → fly to location with appropriate zoom
   - Search triggers even with empty query for popular results

2. Navigation to Cities (MapView.jsx):
   - New handlePickSuggestion() function
   - Extracts coords from suggestion (supports coords array or lat/lon)
   - Uses map.flyTo() with smart zoom levels per type:
     * Cities: zoom 11
     * Regions: zoom 7
     * Posts: zoom 16
     * Profiles: zoom 14
   - Clears search after navigation

3. Fixed Marker Anchoring (markerManager.js):
   - Changed anchor: "center" → "bottom"
   - Markers now stay fixed at geographic position
   - Pin design: circle image + triangular point (52px height)
   - Point positioned at exact lat/lon location
   - No more drifting when map moves!

4. Improved Pin Design:
   - Circle (32px) with category color background
   - White border + shadow for visibility
   - Triangular point (16px) below circle
   - Image inside circle if available
   - Hover card positioned above pin (bottom: 58px)
   - Smooth transitions on hover/click

Mobile-friendly: Works on cellphone without console, visual feedback

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 15:39:58 -05:00
Your Name 76adb74833 Add intelligent post clustering and simple markers
Implement smart prioritization system to reduce map clutter:
- Create priority scoring based on reco score, category, freshness, distance, engagement
- Cluster nearby posts and show best post as full card, others as simple markers
- Simple markers: circular icons with category colors, hover preview, click to expand
- Max 15 full cards displayed, rest shown as compact markers
- Optimize search debounce: 220ms → 150ms for faster suggestions

New files:
- postPriority.js: Scoring and clustering algorithm

Updated:
- markerManager.js: Add createSimpleMarkerForPost() with hover cards
- usePostsEngine.js: Use prioritizePosts() to separate full cards vs simple markers
- SmartSearchBar.jsx: Faster debounce (150ms), increased limit to 12 suggestions

Result: Less visual clutter, better UX with prioritized content

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 15:15:53 -05:00
Your Name d845fd7a5a Fix marker stability and reduce image preview size
- Use deterministic hash-based offset calculation for stable marker positions
- Markers now stay in same position across zoom/pan operations
- Check geographic distance instead of pixel distance for clustering
- Reduce image preview from 60px to 40px for compact modal
- Reduce button font size to save space

Fixes: Markers no longer jump around when zooming
Fixes: Modal stays compact with image preview

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 22:51:05 -05:00
Your Name c3e9426e64 Improve map UX: compact modal, visible crosshair, smart marker overlap
- Reduce create post modal height (max 45vh) and add scroll
- Lower modal position (bottom: 8%) to keep map visible
- Move crosshair higher (top: 30%) for better visibility
- Implement smart marker offsetting for nearby posts
- Add visual connection line from offset markers to true position
- Create cascade effect for clustered markers (45° circular pattern)
- Maintain pointer accuracy when zooming

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 22:44:50 -05:00
Your Name c9872d6260 toit marche 2025-12-19 13:04:18 -05:00
Your Name 87394a44eb pewsqie pardair 2025-12-18 23:40:44 -05:00
Your Name ef79700865 update frontend 2025-12-18 22:27:12 -05:00
Your Name d7f12db601 nleh 2025-12-18 22:19:15 -05:00
Your Name 70251093a8 beiser 2025-12-18 15:19:25 -05:00
Your Name e52e451d98 pas pire 2025-12-18 14:53:39 -05:00
Your Name 0b6bb6cc07 j essais de fix 2025-12-16 22:47:17 -05:00
Your Name 78f3ea5d63 update frontend 2025-12-13 02:42:20 -05:00
Your Name 68b859ccf5 update frontend 2025-12-13 02:31:28 -05:00
Your Name 7c5fbf5077 update frontend 2025-12-13 02:27:14 -05:00
Your Name 6b19131f95 update frontend 2025-12-13 02:21:17 -05:00
Your Name b5babb5d50 update frontend 2025-12-13 02:13:29 -05:00
Your Name bc4cfc9d14 update frontend 2025-12-13 01:59:12 -05:00
Your Name 8249aa7e16 update frontend 2025-12-13 01:45:24 -05:00
Your Name fb538781b4 update frontend 2025-12-13 01:40:31 -05:00