Commit Graph

83 Commits

Author SHA1 Message Date
SocioWire 642fc2d196 Update frontend assets handling 2026-01-08 15:40:58 +00:00
SocioWire 15141835f2 Update live features 2026-01-07 02:03:36 +00:00
SocioWire 2014e3434d Filter data: URLs before creating posts
- Prevent data: URLs from being sent to backend (crash browsers)
- Only send properly uploaded asset URLs

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:43:56 +00:00
SocioWire d5aa930d34 Add source:sociowire for user posts, fix time filter, cross-origin SSO 2026-01-04 07:10:36 +00:00
Your Name d4829ae628 picture 2026-01-03 16:40:32 -05:00
Your Name da1af00aaa Thumbnails row only below preview 2026-01-02 12:54:04 -05:00
Your Name d6238e46bc Keep gallery row inside preview 2026-01-02 12:49:40 -05:00
Your Name 0010709b24 Persist gallery preview row 2026-01-02 12:48:00 -05:00
Your Name ff275cd47d Show gallery row under preview 2026-01-02 12:46:30 -05:00
Your Name 8d3a1a7e41 Default non-link creation to custom upload 2026-01-02 12:44:14 -05:00
Your Name cd8cd9f308 Link-only preview block 2026-01-02 12:42:55 -05:00
Your Name f0b4956b3d Compact create image panel 2026-01-02 12:39:55 -05:00
Your Name 04511b87ee Use inline placeholder for previews 2026-01-02 12:37:25 -05:00
Your Name 7b84a516e5 Reset link preview placeholder 2026-01-02 12:35:23 -05:00
Your Name b6c4f52df2 refine gallery preview layout 2026-01-02 01:43:52 -05:00
Your Name 0d4dc7ebf8 fix media preview for uploads 2026-01-02 01:36:11 -05:00
Your Name c37d90500a show gallery preview while uploading 2026-01-02 01:28:43 -05:00
Your Name 97f8ce3c11 allow multiple images when creating posts 2026-01-02 01:23:34 -05:00
Your Name 3babb277d0 a 2026-01-02 01:12:56 -05:00
Your Name c955b122e3 Smooth filter transitions 2025-12-31 02:36:59 -05:00
Your Name 0647dc823b Reset cluster focus on time change 2025-12-30 21:11:51 -05:00
Your Name bd512ba04d Switch time filters to hours-based range 2025-12-30 19:54:21 -05:00
Your Name a9bc4d02e6 fix: tighten search bar layout 2025-12-28 23:48:41 -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 903622e523 Refine search picks and cap map fetch 2025-12-26 00:49:01 -05:00
Your Name 252c6b3891 Adjust search behavior and add GA tag 2025-12-26 00:41:20 -05:00
Your Name 81c64999c4 Filter map results when picking search suggestions 2025-12-26 00:28:12 -05:00
Your Name 80b266ca56 Add post visibility controls and island profile avatar 2025-12-25 23:29:52 -05:00
Your Name 1fcff38e56 Add asset privacy controls for post images 2025-12-25 22:37:10 -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 964a133f5b Feature: Intelligent zoom and fix dropdown z-index
1. Fixed dropdown z-index
   - Set .map-overlay-top z-index to 500
   - Now dropdown appears above filter buttons (z-index: 300)

2. Intelligent zoom when searching
   - 1 result: Zoom to that post (zoom level 14)
   - Multiple results: Calculate bounding box and fitBounds()
   - Shows all matching posts together on map
   - Padding of 100px on all sides
   - MaxZoom 15 to avoid zooming too close

When you search and press Enter, the map automatically adjusts
to show all matching results optimally.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 20:13:02 -05:00
Your Name 797859ac80 Feature: Add search filtering on Enter key
Users can now:
1. Type a query and press Enter (without selecting a suggestion) to filter posts on the map
2. When picking a post suggestion, it navigates AND filters by that post's title
3. When picking a city/place, it navigates but clears the filter

Changes:
- SmartSearchBar: Added onSearch prop, triggers on Enter with no active item
- MapView: Added handleSearch() to set searchQuery for filtering
- Posts are automatically filtered by usePostsEngine's matchesSearch()

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 16:10:06 -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 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 2c4c9a7065 Add image upload and category icons to map cards
- Add image upload functionality with file picker and URL input
- Display custom uploaded images or category-specific FontAwesome icons
- Add icon styles for all themes (dark, blue, light)
- Map unique icons to each category and subcategory (News, Friends, Events, Market)
- Update card templates to show 72x72px icon/image on the left
- Add image preview and validation (max 5MB, images only)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 22:36:20 -05:00
Your Name a19e179c2b update frontend 2025-12-20 23:43:32 -05:00
Your Name 04dc5f695c update frontend 2025-12-20 23:17:28 -05:00
Your Name 0dad16e338 update frontend 2025-12-20 22:54:48 -05:00
Your Name 0989edbd09 update frontend 2025-12-20 22:51:21 -05:00
Your Name 5bffb63028 bleh 2025-12-20 22:21:59 -05:00
Your Name 1b52075561 yo 2025-12-20 22:01:57 -05:00
Your Name ae44f2e019 marxhe 2025-12-19 20:47:42 -05:00