Merged
Conversation
Separate React app at /mobile served via /m/* on Caddy. Phone UAs auto-redirect; tablets stay on desktop. - 3-tab bottom nav: Alerts, Map, Search - Region picker sheet (replaces cycling) - Overlay picker on map with layer toggles - Alert cards with severity stripe and meta - Bottom sheet with swipe-to-dismiss for alert detail - Pull-to-refresh on alert list - Lazy-loaded Leaflet map (no Three.js in bundle) - PWA manifest for add-to-homescreen - Severity filter pills with counts - Category chip filters on search - Mobile bundle: 3.6 KB gzip (+ shared React)
Tapping a cluster opens a scrollable bottom sheet listing all alerts sorted by severity. Each row shows severity badge, title, category, freshness, and source. Tap a row to open alert detail, tap the external link icon to open the source URL directly. Disabled spiderfy and zoom-on-click for touch-friendly UX.
- Add category multi-select filter in mobile header (sheet picker) - Extract shared @theme variables into src/theme.css for both apps - Fix Docker build to bake mobile app (Caddyfile /m/* routing, manifest) - Add Vite dev server SPA fallback for /mobile/ path - Add Leaflet cluster styles to mobile CSS - Touch audit: bump all targets to ≥44px, fonts to ≥10px, vh→dvh, touch-action:manipulation, user-select:none, search input attrs, proper :active states replacing :hover on AlertDetail - Fix conflict brief violenceTypes showing alert categories instead of actual conflict data; hide empty violence/actors sections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mobile app
add mobile react app and routing.