Commit Graph

106 Commits

Author SHA1 Message Date
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
Your Name c9872d6260 toit marche 2025-12-19 13:04:18 -05:00
Your Name 195b5634a1 toit msrxhe 2025-12-18 23:59:24 -05:00
Your Name d7f12db601 nleh 2025-12-18 22:19:15 -05:00
Your Name 4753cacdcc goood 2025-12-18 15:45:46 -05:00
Your Name 70251093a8 beiser 2025-12-18 15:19:25 -05:00
Your Name 0b6bb6cc07 j essais de fix 2025-12-16 22:47:17 -05:00
Your Name 5918e7aea5 update frontend 2025-12-13 01:51:15 -05:00
Your Name fbaee6ab17 update frontend 2025-12-10 23:36:13 -05:00
Your Name c4a6c3cddc update frontend 2025-12-10 23:29:13 -05:00
Your Name 851ee4fe1c update frontend 2025-12-10 23:12:14 -05:00
Your Name c130ad9fe6 update frontend 2025-12-10 18:04:28 -05:00
Your Name d2bde41aa4 tout fonctionne logins et post correct 2025-12-10 19:45:06 +00:00
Your Name 4f36b909c5 update frontend 2025-12-09 22:31:04 -05:00
Your Name 2bbb74de35 update frontend 2025-12-09 20:42:51 -05:00
Your Name 721e17d3a6 update frontend 2025-12-09 20:17:31 -05:00
Your Name 2a66d974a2 update frontend 2025-12-09 20:04:58 -05:00
Your Name 8e60ad833f update frontend 2025-12-09 19:54:35 -05:00
Your Name e0a8e68f33 update frontend 2025-12-09 19:33:29 -05:00
Your Name 28483f5ea2 update frontend 2025-12-09 18:57:34 -05:00
Your Name ff81a7709f Auto deploy: 2025-12-09 05:42:57 2025-12-09 05:43:01 +00:00
Your Name 7c0509466c Auto deploy: 2025-12-09 05:35:44 2025-12-09 05:35:48 +00:00
Your Name 057826feb0 Auto deploy: 2025-12-09 05:31:58 2025-12-09 05:32:01 +00:00
Your Name 4d214edea7 Auto deploy: 2025-12-09 05:25:55 2025-12-09 05:25:58 +00:00
Your Name 421b7ab20b Auto deploy: 2025-12-09 04:54:16 2025-12-09 04:54:19 +00:00
Your Name 45eda7126f Auto deploy: 2025-12-09 04:43:32 2025-12-09 04:43:35 +00:00
Your Name b86efc525a Auto deploy: 2025-12-09 04:27:52 2025-12-09 04:27:55 +00:00
Your Name ecf2e54778 Auto deploy: 2025-12-09 04:21:25 2025-12-09 04:21:28 +00:00
Your Name 9814fc411a Auto deploy: 2025-12-09 03:51:13 2025-12-09 03:51:16 +00:00
Your Name c755c0c9c0 Auto deploy: 2025-12-09 03:38:30 2025-12-09 03:38:34 +00:00
Your Name 71368d4a5e Auto deploy: 2025-12-09 03:26:48 2025-12-09 03:26:52 +00:00
Your Name 174f3784e3 Auto deploy: 2025-12-09 03:18:01 2025-12-09 03:18:04 +00:00
Your Name 1acb77f7d3 Auto deploy: 2025-12-09 01:46:49 2025-12-09 01:46:55 +00:00
Your Name 222a907dd2 yeah 2025-12-08 23:22:58 +00:00