feat(rust): the map on a phone (module-rust phase 15, M17) #51
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/rust-phase-15-map"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Android leg D of module-rust: the live map as a fifth tab on the Rust server screen, and site-event markers linking to the app's own event pages. Design of record:
docs/modules/rust/PLAN.md§31 (D121–D125, merged in docs#273). As-built and walk: docs#274 (§31.5–§31.7).What it does
RustTab.MAPsits between Online and Wipes. It's shown when the site's module declaresmap, under the app's one three-state capability rule.?tab=mapopens it, and on a site without a map it opens the feed.Canvasdraws the grid and the markers, with pinch, pan and double tap. No new dependency.mapGeometry.jswith its fifteen probed grid cases.map/liveis projected per viewer on the server. The app draws what it is sent, and lists each layer it wasn't sent with who can see it (the D113 line included).Routes.event(slug, runId)."41", core sends41.map/liveeverypollMs(10 s) while RESUMED on the Map tab. There is no poll at all for a viewer who is sent nothing that moves. A newmapKeyre-reads/map, so a new seed's picture follows in place.Walked on an emulator against real core (D125 branch) and the Oxide rig's protocol-11 sidecar, with probe stand-ins. All seven §31.3 steps pass; details are in §31.5. The walk found two defects, both fixed here:
rememberSaveable.MapTransform.resized, tested).Depends on website#208 for the event link. Against an older core the field is absent, and every event marker stays unlinked.
Checks:
testDebugUnitTest732/732 (72 new or changed inui/rust),lintDebugclean,assembleDebug.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY