Commit Graph

74 Commits

Author SHA1 Message Date
Your Name a3903906df Integrate smart feed and unified search
- Update fetchSmartFeed() to call backend /api/smart-feed
- Update fetchUnifiedSearch() to call backend /api/unified-search
- Replace fetchPosts() with fetchSmartFeed() in usePostsEngine
- Add /api/unified-search as primary search endpoint
- Search now queries posts, profiles, and places together
- Map now shows personalized and trending posts

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 11:32:59 -05:00
Your Name 2c3722146a Fix map center drift by using geographic center instead of bounds center
Problem: Map position drifted north/higher on each reload because
bounds.getCenter() returns a visually offset center when pitch is applied

Solution:
- Use map.getCenter() for accurate geographic center (not affected by pitch)
- Save and restore bearing (rotation) along with pitch
- Store: lat, lon, zoom, pitch, bearing

Before: bounds.getCenter() → visual center (offset by 3D tilt)
After: map.getCenter() → true geographic center

This ensures the map returns to the exact same position after reload,
regardless of the 3D tilt angle.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 23:05:44 -05:00
Your Name f22b9dfe06 Fix pitch persistence to prevent view drift on reload
Problem: Map pitch was always forced to 45° instead of being restored,
causing the view to appear shifted higher after each reload

- Save current pitch value to localStorage on moveend
- Restore pitch from localStorage on map initialization
- Remove forced pitch=45 on map load event
- Default to 45° only if no saved pitch exists

This prevents the map from drifting north/higher with each page reload
while maintaining the 3D tilt effect.

Auth: Session persistence already implemented via localStorage tokens
- Tokens are saved in localStorage and restored on mount
- Auto-refresh runs every 30s to keep session alive
- If session issues persist, check browser console for specific errors

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 22:59:30 -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 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 48edeb03fe update frontend 2025-12-21 21:59:31 -05:00
Your Name a9351196df update frontend 2025-12-21 01:03:57 -05:00
Your Name 477d8a13b3 update frontend 2025-12-21 00:29:28 -05:00
Your Name fe6bd0d808 update frontend 2025-12-21 00:29:08 -05:00
Your Name 9da994cfbb update frontend 2025-12-21 00:28:26 -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 db4ce5599d menag 2025-12-19 15:00:43 -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 87394a44eb pewsqie pardair 2025-12-18 23:40:44 -05:00
Your Name 68c3648768 blehh 2025-12-18 22:39:29 -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 4753cacdcc goood 2025-12-18 15:45:46 -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 3d58684b87 cleanup frontend auth, remove keycloak remnants, local fontawesome 2025-12-17 13:52:59 -05:00
Your Name 0b6bb6cc07 j essais de fix 2025-12-16 22:47:17 -05:00
Your Name caeaea97e8 fix load map 2025-12-13 14:32:03 -05:00
Your Name 9c5de18421 update frontend 2025-12-13 02:51:04 -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 e452f360f9 update frontend 2025-12-13 02:16:44 -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 5918e7aea5 update frontend 2025-12-13 01:51:15 -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
Your Name eb81f038bf Update time filters: NOW=1h, TODAY=24h, RECENT=3 days, PAST=all 2025-12-11 14:37:43 -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 af03d992cb work with kc 2025-12-11 00:58:23 +00: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 48d5ed01a0 update frontend 2025-12-09 22:36:47 -05:00