Summary
The new Home is a collecting-first replacement for the field-guide Home, on the same route (scout://, mobile/app/(drawer)/index.tsx). It puts patch art at the centre and, since 2026-10-08, it is one screen: nothing scrolls. From top to bottom:
-
The top bar, "Corners": a glass menu button in the left corner, the place you are in as one quiet centred line ("Cupertino, CA"), and a glass bell with its unread count in the right corner. Profile is not on Home; it is the avatar at the top of the drawer.
-
The hero, which aims for 80% of the screen's height and gives some back on a phone too short for everything. It asks one question first: are you standing in a City Challenge?
- In a City Challenge (within
placeModeRadiusMiles, default 2, of one of its stops), the hero is that city: the city's own ring, the same one its City Challenge page draws, sized to the room the hero leaves it (358pt at most, about 200pt on an iPhone SE). The next stop's patch floats in the middle of the ring (its Clasp pin when it has no art — all of Alton today; patch-art-placeholder), its place photo lies behind it, and a satin arc runs over what you hold. Under the ring: "You're in a City Challenge", the city's name, "5 of 15 collected · 10 to go", then one line, Next stop and the stop's name, and its facts. Once the city is done, the ring says "Complete" and the line reads Your next patch: the nearest uncollected patch anywhere. - Anywhere else (OFF since 2026-11-22: past five miles Home is "A day out", item 7; nearer, Home approaches it, item 6.
HUNT_HERO_ON_HOME = false, the code kept), the hero was the nearest patch you have not collected, in the ring header's own look without the ring: the place's photograph behind it (tinted, fading into the black, the sameRingHeaderField), and the patch, floating, like the unlock celebration's patch, at most 30% of the screen's height. Under it the ring header's centred title: the patch's interest's icon (since 2026-11-25; before, its campaign's motif) over its campaign name in the interest's accent, then the name (two lines at most) and the facts.
- In a City Challenge (within
-
Go collect it · info, one row under either hero. Go collect it opens the Compass aimed at the patch, so there is no separate compass button (removed 2026-10-09). It is a flat button in the next patch's interest colour (since 2026-11-25: its primary Explore collection's home interest, explore's
patchInterest, the rule every screen colours a patch by; before, its themed campaign's). Winchester Mystery House, filed under Haunted Houses & Mansions, is Paranormal's lavender even from San Jose; Alcatraz, in Ghost Adventures but filed under Historic Prisons, is History's coral. Only a patch filed in no Explore collection wears the house brass. -
The action bar: four doors (since 2026-11-22 only under the empty hero: location off, or no patch you still need anywhere; past five miles "A day out" has its own bar), the same four for everyone, each an icon in a ring of that same campaign accent, its name, and one live line:
- Map: "14 within 10 mi" (uncollected real stops within 10 miles), "None within 10 mi", or "Explore nearby" with no location.
- Collections: "12 in progress" (collections started and not finished), or "Start one".
- Patches: "41 collected" (every patch you hold, imports included), or "Collect your first". It opens My Patches, the same place as the drawer's My Patches row. (Until 2026-10-09 this door was Badges, "32 one visit away"; Alan swapped it so your collected patches are one tap from Home.)
- Trips: "Plan a day trip". It opens
/trips, the same place as the drawer's Trips row (the new Trips, or Day Trip withtrips_v2off).
The bar sits in the middle of what the buttons leave and never shrinks. On a short phone, the hero gives the room back instead.
-
Inside a patch (2026-11-21, no flag): standing inside a patch's unlock polygon, or within 20 m of its line, collected or not, Home stops pointing you at your next patch and becomes the place you're in. It wins over the City Challenge and the hunt hero; step out past the buffer and Home is the screen above again.
- The map is the whole screen, under the title and the buttons too, and locked (no pan, no zoom): the patch's whole unlock area, framed as big as it fits between the top bar and just above the title, in its interest colour, with the compass's art pin on it (wearing its check once you hold it) and you as the maps' pulsing rose. One gradual fade darkens it from just above the title to the bottom and stops short of black: there is no black band.
- The title: the patch's interest's icon, "You're here" in the interest's accent, the patch's name, its rarity, type and campaign, and one quiet line naming the city and state you're also inside ("Also inside South Dakota"). No distance, no status pill, no explainer.
- The bottom bar, a camera app's: Board (the patch's community board), Your photos (the album's page for this place; before your first photo there, that page with the place photo as its hero, "No photos here yet", Take a photo and the camera roll), a big shutter in the interest colour, Patch details (the patch page), and Unlock.
- Unlock is a fail-safe, never a big button: unlocking stays automatic. The door is quiet inside the line on a good fix (it unlocks on its own), lit outside the line or on a fix looser than 75 m (where it can't), dimmed and untappable between 20 and 30 m out (where Home is only holding on to the patch, so the line doesn't make it flicker: the unlock is offered within 20 m and no further), and a dimmed "Unlocked" check once the patch is yours. The mode, and so the door, needs a fix of ±200 m or better (or one whose accuracy the phone doesn't report). Tapping it opens a small sheet that says why ("You're 15 m from its line, so it won't unlock on its own.", "Your GPS is ±120 m, looser than the 75 m an automatic unlock needs.") with Unlock it and Not now. It is a real unlock, never manual: it reaches the server as
source: 'gps'and counts on the leaderboard and for achievements like any automatic one (Alan: it is only for when the automatic unlock can't happen). Then the usual celebration. - The shutter opens Scout's camera (
scout://patch-camera/<id>, new): a full-screen camera whose capsule names the patch and says "Location on · goes in your album". Each shot is saved to the camera roll with its location (GPS written into the photo) and filed at once as a visit photo of the patch, so it is in the album and the patch's My Visit tab straight away; the toast's See it opens My Visit, where Post to board already lives. On the web build there is no camera roll, so the camera screen says it works in the app.
-
Approaching a patch (2026-11-21, no flag): within a mile of a real stop you have not collected (measured to its pin), and not inside any patch, Home is that patch on its way: the inside mode one step earlier. Inside beats approaching; approaching beats the hunt hero.
- The map is the whole screen, locked (no pan, no zoom), like the inside mode's, but it frames you and the patch's unlock area together, with a dashed guide line from you to the area's nearest edge, and it follows you: it re-frames (easing) each time you've moved about 25 m. Until the area has loaded it frames you and the pin.
- The title: the patch's interest's icon, "Approaching" in the interest's accent ("Approaching · 2 of 5" with several), the name, its rarity, type and campaign, then the Compass screen's own readout: its ladder word in a chip (Cold, Warmer, Hot, Burning, by the distance to the edge: over 800 m, 800 m, 150 m, 30 m), and "0.6 mi away · SW · 12 min walk" (the distance to the unlock area, the 8-point direction to the pin, the walk or drive).
- The bar: Patch details (the patch page), Directions (Apple or Google Maps to the pin, the Compass's own button:
openTurnByTurn), the compass where the inside mode's shutter is, Board (its community board), and Nearby ("Nearby · 8" with several). The compass is the Compass screen's own dial (CompassDial), plain: no patch art in the middle (Alan: "so it just looks like a regular compass"), a needle on a pivot pointing at the patch, its card turning with the phone and its heat arc filling as you get warmer. Tapping it opens the Compass on that patch. No camera and no Unlock: you're not there yet. - Several within the mile: a rail of patch-art chips in its own slot between the readout and the bar, centred in that room so the gaps above and below it match (Alan, 2026-11-21), the nearest six, nearest edge first, each with its distance; the one Home approaches is ringed. Tap a chip to approach that one instead. Past six, a "+N" chip; it and Nearby open Near Me pre-set to 1 mile (
/near-me?within=1, a 1 mi stop added to its radius dial), so its list is the patches the count names, and you can widen it there. - Nothing within the mile: the drive (2026-11-22, Alan: "within five miles makes sense ... if there's one patch within a mile we don't need to pump it out to five miles. It's only if there's no patches in one mile"). With no real stop you haven't collected within a mile, Home looks out to five miles and approaches the nearest there the same way (the map, the guide line, the title, the rail), as a drive: the readout has no ladder word (past 800 m it could only say Cold) and gives the trip by car ("2.0 mi away · S · 3 min drive", even under the 2 miles the Compass would call a walk); Directions takes the middle of the bar as the big round button (the inside mode's shutter,
BigButton), the compass becomes a Compass door beside Patch details (it opens the Compass), and the caption reads "Directions opens it in Maps": Patch details · Compass · Directions · Board · Nearby. Nearby and "+N" open Near Me on its 5 mi stop (/near-me?within=5). One patch within the mile and Home never widens. Past five miles, "A day out" (item 7).
-
Nothing within five miles: A day out (2026-11-22, no flag;
mobile/research/home-far-lab.html, B · A day out, picked by Alan the same day: "guide them to take action ... plan out a trip or browse the interests ... look what's around you"). Past the approach's five miles there is nothing to walk or drive to now, so Home offers a day: the plan Plan my day would make from here, with its own planner and pool (planStops, imported through the trips module's door), so what Home shows is what Plan my day opens. It replaces the hunt hero, on the same full-screen map as the place modes.- The map: the whole screen, locked, following you, the same fade under the title (
PlaceMapFrame, shared with inside and approaching). Each stop's patch art is a pin numbered in order (the first grown), with a dashed line from you through the stops. There is no line home: Plan my day's budget counts the way out and the stops, not the drive back, so neither does Home. - The title: "Nothing within 5 miles · a day out" (just "A day out" when a patch you still need is within five, which only happens on a fix too loose for Home to approach it by), then the plan as a name, "2 patches, half day" ("1 patch, three hours", "3 patches, full day", "… until 9:00 PM" late in the day), its facts "121 mi · 3 hr 2 min driving · Done by 2:47 PM" (the planner's own totals and end), one line "First: Wolf Creek State Park · 10:49 AM". The length (since 2026-11-28 the bar's length door and its glass menu, item 8; from 2026-11-27 to then the day bar): 3 hr · Half day · Full day as the patch screen's own floating tab bar (since 2026-11-27, Alan: "not consistent with the design. Should be a glass bar", then "it should look like the bottom bar on the patch details page. should use the same component if possible. If there's only one option then don't show the bar"; before, Plan my day's
SegmentedDial, a solid gold pill):GlassTabPill(mobile/src/components/ui/, lifted out of the patch screen'sFloatingTabBar, which now draws with it), a pill of clear glass where each length is its icon (an hourglass, half a sun, a sun) and the picked one also its name and how many patches it fits from here ("Half day · 2 patches", "3 hr · none fit"), in the screen's colour on its wash. A screen reader hears each as "Half day, 2 patches". With only one length left (late in the day, when only three hours still ends by 9 PM), there is no bar. Only the lengths that end by 9 PM are offered (lengthOptions). It opens on the shortest length with two or more stops, else the shortest with one. A length that fits none can still be picked: the title says "Nothing fits three hours" ("Nothing fits a half day") and the line names the nearest patch by car ("Nearest: Casey Big Things · 32 mi away · E · 1 hr drive"). - Too late today: when what's left of today fits nothing (or after 8 PM, nothing is left), the plan is tomorrow's, from 9 AM, and the title ends "tomorrow" ("2 patches, half day tomorrow").
- The rail: the plan's stops in order, each its art with its number and arrival time, drawn with approaching's own rail chip (
RailChip). A stop picks (since 2026-11-27, Alan: "do what we're doing for ... the mode that you're within a mile that you click on it and it ... changes the color to match what the patch interest is ... if it's a trip and there's three patches there all three patches need to still stay in view ... re-add the list of patches ... we don't support clicking on the patches in the map"; before, a stop opened its patch): the screen wears that stop's campaign colour and motif (the title, the day bar's wash, the doors, the pins and the line), its pin is the grown one, and the line names it ("Stop 2: Casey Big Things · 1:17 PM"; the first stays "First: …"). The map keeps the whole trip in view whichever stop is picked; it stays locked and its pins take no taps. The day opens on its first stop; a new length opens on its first stop; a re-plan that drops the picked stop (you moved, it was collected) lets it go for good (pickStop,useStopPickinfar/). - The bar: Map (
/map) · Just drive (/trip-drive) · Plan my day, the big middle button (/trip-plan?length=<the length's>, with&start=tomorrowfor tomorrow's plan: Plan my day opens on the same length and day, so it plans the same stops) · Explore (/explore) · the length (since 2026-11-28: the day's length, opening its glass menu; item 8). Before, the last door was Nearby (Near Me on the first of 25 / 100 / 250 mi that holds five patches you still need, or Trips past 250), which nothing within a day still has. The caption "Plan my day opens this plan, to start or save" is gone under the views' strip. - Nothing within a day (no length, today or tomorrow, plans a stop: Alan, "switch to like C ... locks in ... the closest patch ... with a buffer"): the dial goes, and Home shows what's around you inside a locked circle: out to the 5th-nearest patch you still need, and at least 25% past the nearest, rounded up to 10 mi (
lockRadius). The kicker says why: "Every patch within a day is yours · 73" when you hold patches a full day reaches, else "Nothing within a day's drive". The title "What's within 790 mi", facts "6 patches you still need · 3 interests", the line "Nearest: <name> · 629 mi away · N · 13 hr 33 min drive". The rail is an interest shelf: All, then each interest the circle holds, most places first, each patch counted once (under its primary category's home interest, so the chips add up to All), in its interest's icon and ring colour. Picking one names its nearest ("Nature within 790 mi", "4 places you still need") and colours the screen. The map draws the nearest 12 of what the title is about as art, the rest of the circle as dots, a guide to the named one, and your nearest 8 held patches a day reaches, ticked. It is framed on the circle's patches (the picked interest's, once one is picked), centred in the open map above the title, not on you: you are hundreds of miles off, so the dashed guide runs off the map toward you (Alan, 2026-11-22, on the slot build: framed on you too, the patches sat at the bottom of the screen). The bar: Map · Patch details (the named patch) · Directions, the big button (Apple or Google Maps to it) · Explore (the picked interest's page,/interest/<id>, else Explore) · Nearby (Near Me on the first stop that covers the circle; a circle past 250 mi, Near Me's widest, gets Trips instead). Caption: "Directions to <name>". - No patch you still need anywhere: the empty hero and the four doors, as before.
- The map: the whole screen, locked, following you, the same fade under the title (
-
Three views you pick (2026-11-28, no flag;
mobile/research/home-views-lab.html, B · Swipe, picked by Alan as round 2's B2). Items 5 to 7 used to switch by distance on every fix, so at 40 mph Home changed screen and patch by itself (Alan, 2026-11-27, driving through downtown St. Louis: "it's not optimized correctly for driving"). Now the distance picks a view once, when Home opens, and after that only you change it:- Nearest: approaching (item 6), locked on the patch it opened on. It keeps it however far you go: past the mile it reads as a drive (Directions leads, no heat word), still on that patch. Only you change it (a chip on the rail), or collecting it (then the nearest again). Leaving the view lets go: coming back locks on what is nearest then. Its kicker is just "Nearest" (no "2 of 5": the rail re-ranks as you move while the lock holds still).
- Around me (new): every real stop you still need within five miles, on the approaching Home's map and title as a drive, one focused (the nearest, until you tap another pin on the map or card on the rail; the map stays locked and never moves for a tap). Kicker "Around me · 15 within 5 mi"; a quiet line "Tap a patch on the map to focus it". Its rail (since 2026-11-28, Alan: "I would like the horizontal scroll row of the patches for the Around me section as well, just like we have for Nearest and for Plan"): Nearest's own
ApproachRail, the patches the map draws (up to 13: the 12 pins and the focus), "+N more" for the rest (Nearby), the focused card lit. A card and its pin focus the same patch; a pin tapped scrolls its card to the middle of the rail (ApproachRailbrings the lit card in whenever it changes, on Nearest too). Its order holds as you move: taken where you are, then kept until you're a mile from there (nextAroundOrder/inAroundOrderinviews/around.ts), so the cards and pins don't reshuffle while you drive; the distances on them are always the current ones, and a patch coming into reach joins at the end. Leaving the view starts a fresh order. The map frames the nearest 12 as art pins with you. With nothing within five miles it looks out to the nearest few (A day out's locked circle,lockRadius): "Around me · nothing within 5 mi · 5 within 40 mi", Nearby then on the Near Me stop that covers it. - Plan: A day out (item 7) from here, whatever is near ("A day out" when a patch you still need is within five miles). Its length is a door in Nearby's old slot (Alan, 2026-11-28: "replace 'nearby' with a button, when you click on it, a glass menu pops up with the 3 options (or whatever is available)"): the day's length (its icon and name, "3 hr"); tapping it opens a glass menu (the pull-down filter's rows on
GlassSurface) of the lengths still on offer before 9 PM, each with how many patches it fits, the picked one ticked. With one length left the door just names it. It replaced the glass tab pill under the title (#348). - Which view Home opens on: Nearest when a real stop you still need has its pin within a mile (approaching's own reach), else Around me. Picked once, when Home has its content and a fix (it holds its skeleton until then). The pick is kept while you move round the app (Home stays mounted as the drawer root); away from the app for 30 minutes or more is a new open, and the default is picked again.
- Switching: the strip at the foot of the screen, a camera app's mode strip (NEAREST · AROUND ME · PLAN, the one you're on in the middle in the screen's colour; it slides only when the view changes, never on a new fix), in the line where the bars' captions were (they're gone with it). Tap a name, or swipe sideways anywhere on the map or across the title (2026-11-28, Alan: "i would like swipe support to be able to swipe between the different tabs"; at first it was the title only). The maps are one swipe surface (
nh-map-swipeinNewHome.tsx): they're locked, so a swipe has nothing to fight, and a tap still reaches Around me's pins. The rail and the bar don't swipe: their buttons and the rail's own scroll keep their touches. The strip stands off the foot by the phone's safe area, or by 16 where there is none (the web build, an older phone), so it never meets the edge or the screen's corners (Alan, 2026-11-28: "can we make sure we are respecting the safe area here?"). - Driving (
views/motion.ts): two fixes in a row over ~15 mph is a drive; about a minute under 5 mph (or a minute with no fix) is stopped. The speed is the phone's (coords.speed, now kept on the fix aslocationSpeedMps), else the distance from the last fix over the time. While you drive, Plan holds its plan (the one made where it was last made, and its times) and re-plans once you stop. It holds only while it shows: Plan opened mid-drive plans once from where you are, then holds from there (useDayOut'sholdwithenabled; review on #353); Nearest needs nothing (it is locked); Around me keeps its focused patch. - The place you're in is a tab (2026-11-28, Alan, standing in the Saint Louis Zoo: "we can actually get rid of this pill ... there would be a new tab called Saint Louis Zoo or whatever the patch is and that would be where you go into, not this floating pill"). Standing inside a patch (item 5), the strip has a fourth tab, first, named for the place: SAINT LOUIS ZOO · NEAREST · AROUND ME · PLAN. That tab is "You're here": lit while it shows, a tap or a swipe right from Nearest opens it, a tap or a swipe onto a view leaves it for that view (the tab stays, to go back). On foot Home opens on it (as "You're here" always took over); driving through a patch the tab appears unlit and Home stays on the view you're on until you pick it (open call a: no takeover while driving). Walk out of the patch and the tab goes; Home is on the view you picked last. A long name ends in an ellipsis at about half the strip. It replaced the glass capsule, "You're in Forest Park · Open", that floated under the top bar over the map's pins and route (
InsidePrompt.tsx, deleted). The top bar keeps the city.
-
The hunt (2026-11-28, no flag;
mobile/research/home-hunt-lab.html, A · Hunt map, picked by Alan the same day: "I think option A is perfect ... If we have it as the first tab item that's dynamically added, so 'Forest Park', that makes perfect sense. We don't need the glass pill"). Alan: "If we're inside a polygon that has a lot of other different destinations within it ... almost like a scavenger hunt to get all of the patches inside this polygon", and "it should be like another tab that's added within our stack. That should be the default when we're in a patch like this that has subpatches within it."- When: standing inside a real stop's unlock area (or within 20 m of its line, held to 30 m, on a fix of ±200 m or better, as "You're here" measures it) that holds 3 or more other real stops by their pin (
HUNT_MIN). Never a city, state or region, and never a district (Lower Manhattan would be "1 of 111"). Nested hunt places: the smallest. A child counts by its pin, not its whole polygon (Alan's call c: by polygon the National Mall would lose the Washington Monument, whose grounds spill past the Mall's line). Only patches the app is sent count (a patch in a visible collection, or filed in an Explore category:VISIBLE_PATCH_WHERE), since the hunt is worked out on the phone from the synced catalog. Six pins are inside Forest Park on scout_dev (2026-11-28), but the Saint Louis Art Museum and Turtle Park are in no visible collection and filed nowhere, so the app never gets them: Forest Park's hunt is 4 (the Saint Louis Zoo, the Muny, the Apotheosis of St. Louis, the Missouri History Museum; the Science Center's pin is south of I-64, outside). Counting every pin, not just the sent ones, 65 places would be hunts (Balboa Park, Central Park, Grant Park, Seattle Center, the National Mall's 26…); fewer are today, by as many as the catalog leaves unfiled. - Where it sits: a 4th view on the strip, first, named for the place ("FOREST PARK · NEAREST · AROUND ME · PLAN"), only while you're in such a place; a swipe steps onto and off it like the others. Home opens on it there while a patch in it is still to find. Walking in with Home open, it takes the screen: it is "You're here"'s takeover, for a place with patches in it, so it is not a new exception to "never switches by itself" (Alan's call b). Driving in, it only joins the strip, with no prompt (Alan: no glass pill; the tab appearing is the signal). Walking out of the place, it leaves the strip, and Home goes to the view it would open on there.
- "You're here" in a hunt place: the hunt holds the screen (on the hunt, or anywhere while something is left to find), and "You're here" waits behind the bar's last door, You're here, which opens it for the patch you stand in (the zoo, standing in it; else the place). Standing in the zoo, the hunt keeps the screen; the zoo unlocks as always (its celebration), and the hunt ticks it off. The zoo has its own tab too, next to the park's (Alan, 2026-11-28: "tabs only. we need to show both"): FOREST PARK · SAINT LOUIS ZOO · NEAREST · AROUND ME · PLAN, the zoo's opening its "You're here" like the door. Standing in the park itself (in no patch inside it), there is one tab for it, the hunt's, and it is the tab lit while that place's "You're here" shows (from the door, or on foot once the hunt is finished); pressing it shows the hunt. There is no pill anywhere.
- The screen (approaching's own pieces, in the place's colour): the map is the place's unlock area, every patch inside it as its art pin (checked once yours), the one leading grown, a dashed guide to its edge, and you; framed on the whole place, following you; a pin tapped leads with that patch. The title is the closest patch still to find (by the distance to its edge), its kicker the hunt: a small progress ring and "Forest Park · 2 of 6 found" ("… · last one" with one left), the Compass's heat word and "0.3 mi away · NW · 6 min walk". The rail is every patch in the place, still to find first (nearest edge), then found, each found one checked and saying "Found"; a card leads with it. The bar is approaching's: Patch details, Directions, the plain compass, Board (all the lead's), and You're here. Driving (if you open it by car): the readout by car, no heat word, Directions the big button, as Nearest past the mile.
- The finish: all found, "Forest Park · complete", "All 6 found", the ring full, the place's own pin grown on the map, and a bar of the place's Patch details, Board, You're here (the big camera button) and Your photos. It stays on the strip while you're there, but a finished place opens as any other (on foot, its "You're here"). Nothing is earned for it (Alan's call d: the celebration of each unlock only, for now).
- When: standing inside a real stop's unlock area (or within 20 m of its line, held to 30 m, on a fix of ±200 m or better, as "You're here" measures it) that holds 3 or more other real stops by their pin (
A day out follows mobile/research/home-far-lab.html, B · A day out, picked by Alan on 2026-11-22 (A Which way and C Around you were not picked; C's interest view is what B becomes when nothing is within a day). Approaching a patch follows mobile/research/home-approach-lab.html, C · Patch rail, picked by Alan on 2026-11-21 (A Swipe and B Map pins were dropped); the compass is the Compass screen's dial and logic by his ask, made plain the same day. Inside a patch follows mobile/research/home-inside-lab.html, C · Camera first, picked by Alan on 2026-11-21 (A Map curtain and B Map + console were dropped). The 2026-10-08 one-screen layout follows mobile/research/home-fit-lab.html (bar A, Corners, Liquid glass, hero 80% and patch 30%; the picks are recorded on the page). Before it, the same day, the City Challenge ring and the full-bleed hero came from home-ring-lab-r2.html and home-ring-lab.html round 5 (variant B3). The very first version was built to home-gamified-lab.html, variant B. The field-guide Home it replaces is kept intact as the flag-off path (see discovery-surfaces).
Status
Built, behind new_home_screen, default ON. The flag is in both registries (mobile/src/config/feature-flags.ts:57, backend/src/admin/feature-flag-definitions.ts:72). The route picks the screen on every render (mobile/app/(drawer)/index.tsx:19). Because the client default is also ON, a cold start draws the new Home before the server answers. Only a server that has turned the flag OFF swaps to the field-guide Home, once, when flags land.
The 2026-10-08 work shipped in v1.1.103 (7c62da12, 26f715b2; in every store build since, including the current 1.1.114): the City Challenge mode, the floating hero, and then the one-screen layout with the action bar. Builds before 1.1.103 show the earlier scrolling new Home. It changed the new Home in place, with no new flag: new_home_screen still chooses between this screen and the field-guide Home.
The hunt hero is OFF Home (2026-11-22): HUNT_HERO_ON_HOME = false in NewHome.tsx. Past five miles Home is "A day out". HuntHero, HeroCtas and targetFor are kept (the discovery map's console draws HeroTitle and HeroCtas), and the screen tests' hunt-hero blocks are skipped with that reason. Store builds up to this change still show it.
The hunt has no flag (2026-11-28). It needs no backend change (the sync already sends each patch's polygon reach and area, and the polygons come from the compass's geofence endpoint) and no native change, so it ships with the next store build or OTA after it merges.
The three views have no flag (2026-11-28). They need no backend change and no native change (the fix's speed was already in expo-location's coords; Home only keeps it now), so they ship with the next store build or OTA after they merge. Store builds up to then switch by distance as items 5 to 7 describe.
A day out has no flag and needs no backend or native change; it ships with the next store build or OTA after it merges. It changed Plan my day with it: Plan my day's radius is now a preference, not a wall (see trips), which is what lets it plan from past five miles at all.
The City Challenge hero is OFF Home (2026-11-21, Alan: "not show the City Challenge screen on the home screen ... We're gonna redesign that later"). CITY_HERO_ON_HOME = false in mobile/src/components/home-new/NewHome.tsx: standing in a City Challenge, Home is the ordinary hunt hero. CityHero, buildCityHero and their tests are kept (the screen tests' "in a City Challenge" block and the E2E City Challenge test are skipped with that reason) for when it comes back redesigned. Everything this doc says about the City Challenge hero describes that dormant code. Store builds up to this change still show it.
On first load Home holds its skeleton while a nearby patch's polygon is still arriving (useInsidePatch's and useApproachPatches' resolving), so it never flashes another hero before turning into "You're here" or reordering the approach. Once Home has shown, a polygon arriving later just switches it.
"Collect it" is off Home (2026-11-21, Alan): HOME_COLLECT_IT_WHEN_HERE = false in NewHome.tsx. Since approaching a patch the same day, the hunt hero never shows within a mile of an open stop at all (Home approaches it; since 2026-11-22, within five), so that state no longer reaches the screen. The logic is kept (targetFor's allowHere) for a later screen type. The discovery map's console and the dormant City hero keep their "Collect it".
Approaching a patch has no flag either, and like the inside mode it needs no backend or native change; it ships with the next store build or OTA after it merges. Inside a patch has no flag of its own (Alan, 2026-11-21: "This is how it's gonna be going forward"). It ships with the new Home, so it reaches every install with the next store build or OTA after it merges. It needs no backend change and no native change: expo-camera was already linked, and its iOS permission string already existed (it still says the photo "verifies you visited this place"; rewording it is a native change).
The rarity in the hero's facts renders only for a patch with a tier. Rarity is live on prod (patch-rarity), and almost every real place carries one, so it almost always shows, usually as Common.
User-facing surfaces
| Surface | Where | testID |
|---|---|---|
| Top bar (Corners): menu, the place line, the bell with its count ("9+" past nine) | mobile/src/components/home-new/CornersTopBar.tsx:24 — Scout.TopBar with glass IconButtons; the count is MessageBell's own UnreadBadge |
nh-topbar, fg-menu, nh-place, fg-messages, fg-messages-badge |
| City Challenge hero: the city's ring fitted to its box, "You're in a City Challenge", the city's name, "5 of 15 collected · 10 to go" / "All 15 patches collected", the Next stop / Your next patch line and its facts | mobile/src/components/home-new/CityHero.tsx:110 |
nh-city-hero, nh-city-ring, nh-city-kicker, nh-city-title, nh-city-progress, nh-city-next, nh-city-facts |
| A patch on the city's ring | opens that patch (/patch-modal/<id>) |
cc-ring-patch-<id> |
| The Next stop line | opens that stop (/patch-modal/<id>) |
nh-city-next |
| Full-bleed hero (outside a city): photo, the patch floating on it, the interest's icon and the campaign name, the patch's name, rarity + facts ("1.0 mi SE · 3 min drive · State Park"). Tapping it opens the patch | mobile/src/components/home-new/HuntHero.tsx:49 |
nh-hero, nh-hero-art-box, nh-hero-art, nh-hero-kicker, nh-hero-title, nh-hero-facts |
| Go collect it (Collect it standing on it) · info, under either hero | HuntHero.tsx:154 (HeroCtas). Go collect it opens the Compass on that patch (/compass?patchId=); info opens its detail. No compass button: Go collect it is the compass |
nh-hero-collect, nh-hero-info outside a city; nh-next-collect, nh-next-info in one |
Action bar: Map → /map, Collections → /campaigns, Patches → /my-patches (my-patches; /browse-patches?status=collected with my_patches_screen off), Trips → /trips |
mobile/src/components/home-new/ActionBar.tsx:18; routes NewHome.tsx:69-72 |
nh-action-bar, nh-door-map, nh-door-collections, nh-door-patches, nh-door-trips |
| Approaching: the map following you, its area and the guide to its edge | mobile/src/components/home-new/inside/InsideHero.tsx (PlaceMapLayer, shared with the inside mode) |
nh-approach-map-layer, nh-approach-map, nh-approach-fade |
| Approaching: "Approaching" / "Approaching · 2 of 5", the name, the facts, the ladder word, "0.6 mi away · SW · 12 min walk" | mobile/src/components/home-new/approach/ApproachTitle.tsx |
nh-approach, nh-approach-kicker, nh-approach-title, nh-approach-facts, nh-approach-heat, nh-approach-distance |
Approaching: Patch details → /patch-modal/<id>, Directions → Maps, the compass → /compass?patchId=, Board → /patch-community/<id>, Nearby → /near-me?within=1 |
mobile/src/components/home-new/approach/ApproachBar.tsx |
nh-approach-bar, nh-approach-door-details, nh-approach-door-directions, nh-approach-compass (with compass-dial, compass-dial-needle), nh-approach-door-board, nh-approach-door-nearby |
Approaching, the drive (nothing within the mile): Patch details, the Compass door → /compass?patchId=, Directions (the big middle button) → Maps, Board, Nearby → /near-me?within=5 |
ApproachBar.tsx (BigButton from inside/CameraBar.tsx) |
nh-approach-door-details, nh-approach-door-compass, nh-approach-door-directions, nh-approach-door-board, nh-approach-door-nearby (no nh-approach-compass, no nh-approach-heat) |
Approaching: the rail (several within the radius), "+N" → /near-me?within=1 (or =5 on the drive) |
ApproachBar.tsx (Rail) |
nh-approach-rail, nh-approach-chip-<id> (selected = the one approached), nh-approach-chip-more |
| A day out: the map with the numbered stops (or the circle's art and dots, and your held patches ticked) and the dashed line | mobile/src/components/home-new/far/DayOutMapLayer.tsx (on PlaceMapFrame, inside/InsideHero.tsx) |
nh-far-map-layer, nh-far-map, nh-far-fade, nh-far-pin-<id> (-badge with its number), nh-far-got-<id> |
| A day out: the kicker, "2 patches, half day", the facts, the line (the picked stop); the length is the bar's door since 2026-11-28 (below) | mobile/src/components/home-new/far/DayOutTitle.tsx |
nh-far, nh-far-kicker, nh-far-title, nh-far-facts, nh-far-line |
| A day out: the stops (a stop picks; selected = the picked one) / the interest shelf | mobile/src/components/home-new/far/DayOutRail.tsx |
nh-far-stops, nh-far-stop-<i>; nh-far-interests, nh-far-interest-all, nh-far-interest-<id> (selected = the picked one) |
A day out: Map → /map, Just drive → /trip-drive, Plan my day → /trip-plan?length= (&start=tomorrow), Explore → /explore, Nearby → /near-me?within=; nothing within a day: Map, Patch details → /patch-modal/<id>, Directions → Maps, Explore → /interest/<id> or /explore, Nearby |
mobile/src/components/home-new/far/DayOutBar.tsx |
nh-far-bar, nh-far-door-map, nh-far-door-drive, nh-far-door-plan, nh-far-door-details, nh-far-door-directions, nh-far-door-explore, nh-far-door-nearby, nh-far-caption |
The views' strip: NEAREST · AROUND ME · PLAN at the foot (the picked one selected), tap, or swipe across the map or the title |
mobile/src/components/home-new/views/ViewStrip.tsx (ViewStrip, SwipeViews) |
nh-views, nh-view-nearest, nh-view-around, nh-view-plan, nh-map-swipe, nh-act |
| Around me: "Around me · 15 within 5 mi", the hint, the other patches as pins (a tap focuses one) | ApproachTitle.tsx (hint), inside/InsideHero.tsx (PlaceMapLayer's others) |
nh-approach-kicker, nh-approach-hint, nh-approach-pin-<id> |
| Plan: the length door and its glass menu (only the lengths still on offer) | mobile/src/components/home-new/far/LengthMenu.tsx (LengthDoor) |
nh-far-door-length, nh-far-door-length-menu, nh-far-door-length-3h / -half / -full, nh-far-door-length-scrim |
| The hunt: the strip's first name (the place's), the map (the place, every patch in it, checked once yours), the progress ring and "Forest Park · 2 of 6 found", the lead's readout, the rail of every patch (found ones checked, "Found"), the bar (Patch details, Directions, compass, Board → the lead's; You're here → "You're here" where you stand); finished: "Forest Park · complete", "All 6 found", Patch details · Board · You're here · Your photos (the place's) | mobile/src/components/home-new/hunt/ (HuntParts.tsx; the title, rail and bar are approach/'s with the nh-hunt prefix) |
nh-view-hunt, nh-hunt-map-layer, nh-hunt-map, nh-hunt-pin-<id> (-held once yours), nh-hunt-place-pin, nh-hunt, nh-hunt-ring, nh-hunt-kicker, nh-hunt-title, nh-hunt-facts, nh-hunt-heat, nh-hunt-distance, nh-hunt-rail, nh-hunt-chip-<id> (-held), nh-hunt-bar, nh-hunt-door-details / -directions / -board / -here / -photos, nh-hunt-compass |
| The place you're in, as a tab: its name ("SAINT LOUIS ZOO"), after the hunt's place and before the views, lit while "You're here" shows; none when the place you're in is the hunt's own | mobile/src/components/home-new/views/ViewStrip.tsx (the tabs from stripTabs, a swipe stepping them with stepView, views/homeView.ts); NewHome.tsx lights it (tab) and opens it (pickTab('here'), the same as the hunt's You're here door) |
nh-view-here (with nh-view-hunt, nh-view-nearest, nh-view-around, nh-view-plan) |
| Empty hero (permission off / nothing to collect) | the field-guide Home's HeroEmpty, shared, in the hero's place |
fg-hero-empty |
| Screen mock gallery | scout://dev-screen-mock/new-home: nine states: a day out from Effingham, IL, tomorrow's plan, every patch within a day collected, nothing within a day's drive (Churchill, MB; all four on real rows, the dial and shelf live), in a City Challenge, the city complete, location off, loading and error (mobile/src/dev/mocks/new-home.tsx) |
— |
The root keeps fg-home / fg-home-skeleton, the Maestro "home loaded / still loading" anchors, so a flow that waits for home works under either flag value.
How it works
Everything is derived on the device from synced content and your collected set, with no request of its own, in the view model NewHomeViewModelImpl (mobile/src/components/home-new/NewHome.tsx:120). The derivations are pure functions in mobile/src/components/home-new/selectors.ts, fit.ts and CityHero.tsx:
-
Where you stand: the field-guide Home's own proximity selector,
selectHomeContext(NewHome.tsx:162). It returnsplacewhen the nearest City Challenge stop is withinplaceModeRadiusMiles, and Home takes the city as its hero (NewHome.tsx:185). Within the widercityChallengeRadiusMilesband, the city only ranks first among the collections that colour a patch. There is no park mode, so no containment check. -
Open patches:
rankOpenPatches(selectors.ts:45) ranks every uncollected patch in the whole catalog, nearest first, with no radius. Everything the screen sends you to or counts as a destination (the hero, the next stop, the Map door) is narrowed to real stops withfilterRealStops; see Edge cases. -
The City Challenge hero:
buildCityHero(CityHero.tsx:68) builds the ring with the City Challenge page's own pure builder (buildCampaignRingScreenData,mobile/src/components/campaign/CampaignRingScreen.tsx) and draws it with the page's own dial (RingDial), so the two can't disagree. The next stop is the nearest uncollected real stop among the city's members. Once the city is done, or only city/state containers are left, it is the nearest real stop anywhere, labelled "Your next patch". With nothing open anywhere there is no line and no button row. -
A target:
targetFor(selectors.ts:209) is the one shape both heroes and the button row read: name, art, photo, rarity, facts (heroFacts,selectors.ts:94: distance + heading, walk or drive time, type, or just "You're here"), and its look (themeOfPatch,selectors.ts:243): the family and motif are the patch's interest's (explore'spatchInterest, from the taxonomyHomeContentContextnow carries,usePatchTaxonomy; the motif is the interest's icon image; a patch filed nowhere wears the house brass and no motif), the kicker's words its themed campaign's (ringKicker). Campaign-only questions (which campaign a patch is in, for filters and the club) takeCampaignContext, without the taxonomy. -
The doors:
selectHomeDoors(selectors.ts:250, called atNewHome.tsx:210). Map counts real stops within 10 miles; Collections counts collections with0 < collected < patchCount; Patches counts your collected set (useCollectedPatchIds, imports included, as My Patches lists them); Trips is fixed. No location fix → Map says "Explore nearby". -
A day out (
far/):buildDayOut(far/dayOut.ts, pure) runs Plan my day'splanStopsfor each lengthlengthOptionsoffers fromnowStart(now)(from tomorrow 9 AM when today's fit nothing), schedules the chosen one withschedule, and otherwise builds the locked circle and its interests (lockRadius,interestIndexfrom the synced taxonomy).useDayOut(far/useDayOut.ts) feeds it the fix rounded to ~1 km, re-plans each minute while it shows (not while you drive: itshold), and holds the length's and the shelf's picks; since the views (item 8) it runs on Plan, and on Nearest or Around me only as their fallback on a fix too loose to place you near a patch, never while "You're here" shows. -
The fit:
homeFit(fit.ts:10) turns the window height into the hero's flex basis (80%) and the patch's cap (30%). The hero slot may shrink (flexShrink: 1,minHeight: 0); the action area may not, and its bar slot keeps 22pt above and below (NewHome.tsx:308). Those slot styles live in one place,mobile/src/components/home-new/layout.ts, which the loading skeleton uses too. So on a phone where everything does not fit, the hero gives the room back, the patch shrinks inside it, and the doors keep their air. The City Challenge ring measures the box the title leaves and is sized byringFit(fit.ts:16): as big as the box allows inside the screen gutters, never past the ring screen's own 358pt frame. Nothing is drawn until that box is measured, so a ring is never guessed too big for a short phone. -
The views (
views/):defaultHomeView(views/homeView.ts) picks Nearest or Around me from the fix and the catalog;useHomeViewholds the pick (null until content and a fix, then never changed but bypickView, cleared by anAppStatereturn afterREOPEN_AFTER_MS, after which it waits for a fix taken since the return, at mostLOCATION_FIX_DEADLINE_MS, before it picks: the stored fix is from before the app went to the background).useApproachPatchestakes the view as itsmode:'nearest'is approaching's own reach (approachReach) plus the locked patch however far (lockId), ordered so the lock stays on the rail (nearestOrder);'around'isaroundCandidates(views/around.ts: within five miles, elselockRadius's circle).useMotionruns every fix throughnextMotion(views/motion.ts) anduseDayOut'sholdkeeps the plan's origin and its minute while it says driving. On a fix too loose to place you near a patch, Nearest and Around me have nothing to show and Home falls back to the day out, as it did before the views (the strip still names the view you're on). -
The hunt (
hunt/):useInsidePatchworks out, from the same candidates and areas as "You're here" (no extra fetch), which of them are hunts (huntPlaces: a hunt type whose area holdsHUNT_MIN+ real stops' pins, tested only for pins within the area's reach of its own pin; recomputed when the candidates or their areas change, never per fix) and which you're in (selectHuntPlace: within the inside mode's buffers, the smallest).useHomeViewopens on'hunt'there (it waits for the polygons round you, so it knows the place);homeViews(true)puts the hunt first on the strip. Arriving at a hunt place is decided on the render after the fix that brought it, whenuseMotionhas read that fix: on foot Home switches to the hunt, driving it doesn't.buildHuntHome(pure) orders the children (to find by edge, then found by name:huntOrder), and builds the lead with approaching's ownbuildApproachHome(its rail every child,heldIdschecking the found ones), in the place's colour. The children's own areas come fromusePatchAreas(the compass's cached geofences), only while the hunt shows.
The patch floats. It drifts 6pt up and down every 5 seconds — the unlock celebration's idle float, one shared definition (mobile/src/components/celebration/idleFloat.ts; the hero mounts it through IdleFloatView (mobile/src/components/celebration/IdleFloatView.tsx, at HuntHero.tsx:68, since the 2026-10-28 refactor that let the album map reuse the ring header), and both celebration stages read idleFloatY directly). Only while Home is the screen you see; under another screen, or with reduced motion, it holds still. There is no progress arc and no family atmosphere on this hero: those belong to the campaign pages.
The glass is the app's one glass. The menu and bell are IconButton variant="glass", which draws on Scout.GlassSurface: clear Liquid Glass on iOS 26+, a light blur with a rim on older iOS, a live CSS backdrop blur on the web, a translucent stand-in on Android, solid under Reduce Transparency (see design-system). The bar itself is transparent, like the ring screens' chrome.
Home's side effects are shared, not copied. The intro beat, the throttled syncNow() on focus, the 10-second unlock check, the permission prompt, the bell refresh and the app-load-complete signal all live in useHomeLifecycle (mobile/src/components/home-v3/useHomeLifecycle.ts:37). Both Homes call it. The new Home's first paint waits on content and the location fix only, and on the fix only while location permission is granted and Location Tracking is on (isLocationResolving, mobile/src/components/home-v3/homeLoadGate.ts:57). That wait is bounded (since 2026-11-24, after Home sat on its skeleton for ever on a Mac whose location service had stopped): it ends after LOCATION_FIX_DEADLINE_MS (10 s, homeLoadGate.ts:11), or at once when the location watch reports that it cannot get a fix (its error callback sets the store's locationFixFailed, mobile/src/services/location/locationWatch.ts:192; the next fix clears it, and so does a watch started from stopped, locationWatch.ts:169, which gets its own chance at a fix; a cadence change such as the compass asking for high frequency does not, so a Home already showing no fix does not go back to its skeleton). Home then shows its no-fix state (the empty hero and the four doors) and the top bar reads "Location unavailable" instead of "Locating…" (isLocationUnavailable and homePlaceLabel, homeLoadGate.ts:46, :68). A fix that lands later switches Home to the located hero with no reload. Both Homes read the wait through one hook, useLocationGate (mobile/src/components/home-v3/useLocationGate.ts:14), whose timer measures the wait itself, so a frozen clock cannot hold it either. expo-location's web build never reports watch errors (it gives the browser no error callback), so on the web build the deadline is what ends the wait. Signing back in re-arms the location watch, so a phone that has not moved still gets a fix (mobile/src/providers/LocationProvider.tsx:382). It no longer fetches achievements (2026-10-09).
Loading uses the house page loader: NewHomeSkeleton (NewHomeSkeleton.tsx:22: a hero block at its share of the screen, the button row, four doors, in the screen's own slots) crossfades into the screen. The top bar is not part of either: it is drawn once over both, outside the loader, because Liquid Glass under the crossfade's animated opacity draws plain until something lays it out again (seen on a 17 Pro, 2026-10-08). The bell is there while loading too. Which hero you get is only known once content lands, so the skeleton's hero block serves both. A failed first content load with no cache shows the shared HomeErrorState ("Unable to load content / Try Again").
Data model
No new tables. It reads the synced catalog (patches, collections, campaigns, patchCollections, patchTypes), the user's collected set, and AppConfig.placeModeRadiusMiles / cityChallengeRadiusMiles.
API surface
GET /api/notifications/unread-count: the bell's count.GET /api/feature-flags: servesnew_home_screen.GET /api/app-config:placeModeRadiusMiles(default 2) decides City Challenge mode.
No new endpoint.
Key files
mobile/app/(drawer)/index.tsx:19: the flag switch.mobile/src/components/home-new/NewHome.tsx: view model (:120), the door routes (:68), the pure one-screen layout (:255).mobile/src/components/home-new/layout.ts: the hero, button and bar slots, shared with the skeleton.mobile/src/components/home-new/selectors.ts: every derivation above.mobile/src/components/home-new/fit.ts: the hero and patch shares, and the ring fit.mobile/src/components/home-new/CornersTopBar.tsx: the top bar.mobile/src/components/home-new/CityHero.tsx:buildCityHero(:68) and the City Challenge hero (:110).mobile/src/components/home-new/HuntHero.tsx: the full-bleed hero and its float, andHeroCtas, the button row both heroes share. Patch art is never dimmed or tinted.mobile/src/components/home-new/ActionBar.tsx: the four doors.mobile/src/components/home-new/approach/: approaching a patch.approachPatch.ts(pure: the mile and the five-mile drive,approachReachpicking between them with the hold past each line, which patches and in what order, which one leads,nearbyHref(mi)),useApproachPatches.ts(the device fix and the cached areas),approachHome.ts(what the screen draws),ApproachTitle.tsx,ApproachBar.tsx(the doors, the live plain compass, the rail).mobile/src/components/home-new/far/: A day out.dayOut.ts(pure: the plan per length, the default length, tomorrow, the titles and hrefs; the locked circle, the interests, what you hold a day reaches),useDayOut.ts(the fix, the taxonomy, the picks),DayOutTitle.tsx,DayOutRail.tsx,DayOutBar.tsx,DayOutMapLayer.tsx. The planner is the trips module's (planStops,schedule,lengthOptions, exported bymobile/src/features/trips/index.ts).mobile/src/components/home-new/views/: the three views.homeView.ts(pure: the views, their order and labels, the default, the strip's step, the 30-minute reopen),motion.ts(pure: driving or stopped from the fixes),around.ts(pure: Around me's patches and kicker, Nearest's rail order with its lock),useHomeView.ts,useMotion.ts,ViewStrip.tsx(the strip, with the hunt's place and the patch you're in as tabs, and the swipe).far/LengthMenu.tsx(Plan's length door and glass menu),far/lockCircle.ts(the locked circle, shared by A day out and Around me). The fix's speed:LocationFix.speedMps(mobile/src/types/index.ts), the store'slocationSpeedMps(mobile/src/domain/store.ts), fromcoords.speedinlocationWatch.tsandtracker.ts.mobile/src/components/home-new/hunt/: the hunt.huntPlace.ts(pure:HUNT_MIN, which types can be a hunt, the children by pin, the hunts among the candidates, the one you're in, the progress),huntHome.ts(pure: the order, the lead, the kicker, the finish),HuntParts.tsx(the map layer, the progress ring, the finished title and bar).inside/useInsidePatch.tsreturns the hunt too;views/homeView.ts(homeViews,stripTabswith the patch's tab, the hunt default,stepViewover the strip's tabs).RailChip'sheld,ApproachTitle/ApproachRail/ApproachBar'sprefix,ApproachBar'slastDoor="here",HeroTitle'skickerLead. Real fixture:mobile/fixtures/forestPark.ts. Design:mobile/research/home-hunt-lab.html(its datajs/home-hunt.generated.js, fromjs/home-hunt.export.sql).mobile/src/components/home-new/usePatchAreas.ts: the unlock areas of a few patches (the compass'sgeofenceQuery, cached on the device; a point patch's radius circle), shared by both place modes.mobile/src/components/compass/approach.ts: the Compass screen's distance to the area, its ladder hook with hysteresis, and its direction and travel wording, shared by the Compass and approaching.CompassDial'splainprop draws the needle instead of the art.mobile/src/components/home-new/inside/: inside a patch.insidePatch.ts(pure: which patch, the buffer and accuracy constants, the Unlock door's state and sheet copy),useInsidePatch.ts(the device fix and the cached polygons),insideHome.ts(what the screen draws),InsideHero.tsx(the locked map and the title),CameraBar.tsx(the four doors and the shutter),UnlockSheet.tsx.mobile/src/screens/PatchCameraScreen.tsx(and.web.tsx),mobile/app/patch-camera/[id].tsx: Scout's camera.mobile/src/services/patchCamera.ts:gpsExifandsaveShot(camera roll +addVisitPhotos).mobile/src/components/campaign/ring/RingDial.tsx: shared with the City Challenge page (CampaignRingScreen).RING_FRAMElives inmobile/src/components/campaign/cityRing.ts.mobile/src/scout/primitives/TopBar.tsx,GlassSurface.tsx: the bar and the glass, shared with the ring screens.mobile/src/components/home-v3/selectors.ts(selectHomeContext),useHomeLifecycle.ts,HomeErrorState.tsx,Hero.tsx(HeroSquareButton,HeroEmpty),MessageBell.tsx(UnreadBadge,messagesLabel): shared with the field-guide Home.
Configuration and flags
new_home_screen: default ON on both sides. Off mounts the field-guide Home.AppConfig.placeModeRadiusMiles(default 2): within this of a City Challenge stop, Home is the city.AppConfig.cityChallengeRadiusMiles(default 25): within this, the city ranks first among a patch's collections.- The shares are code constants, not config:
HERO_SHARE = 0.8,PATCH_SHARE = 0.3(fit.ts:7). - Approaching's thresholds are code constants (
approach/approachPatch.ts):APPROACH_MI = 1(to the pin),DRIVE_MI = 5(nothing within the mile: the drive;approachReachpicks the first radius with a patch in it),APPROACH_EXIT_M(the mile plus 160 m: once approaching, Home lets go only past it, so the mile line doesn't flip it; the same 160 m hold applies past five miles on the drive),MAX_SWITCH = 6(the rail),MAX_AREAS = 12(the nearest pins whose areas are fetched to rank by edge). It uses the inside mode'sMAX_MODE_ACCURACY_M = 200. The ladder's rungs are the Compass's (components/compass/proximity.ts). - A day out's are code constants (
far/dayOut.ts):LOCK_COUNT = 5andLOCK_BUFFER = 1.25(the circle),MAX_ART_PINS = 12,MAX_HELD_PINS = 8; the lengths, their budgets, the 9 PM end and tomorrow's 9 AM are Plan my day's (PLAN_LENGTHS,DAY_END_HOUR,TOMORROW_HOUR).HUNT_HERO_ON_HOME = false(NewHome.tsx). - The hunt's are code constants (
hunt/huntPlace.ts):HUNT_MIN = 3,NOT_A_HUNT(district); its buffers and accuracy bar are the inside mode's (INSIDE_BUFFER_M,EXIT_BUFFER_M,MAX_MODE_ACCURACY_M). - The views' are code constants:
REOPEN_AFTER_MS(30 min,views/homeView.ts);DRIVING_MPS(~15 mph),STOPPED_MPS(~5 mph),DRIVING_FIXES = 2,STOPPED_FOR_MS = 60 s(views/motion.ts); Around me'sAROUND_ART_PINS = 12(approach/approachHome.ts) and five miles (DRIVE_MI). The default's "in range" is approaching'sAPPROACH_MI = 1, to the pin. - Inside a patch's thresholds are code constants (
inside/insidePatch.ts):INSIDE_BUFFER_M = 20(enter),EXIT_BUFFER_M = 30(once showing a patch, let go only past this, so the line doesn't make Home flicker),MAX_MODE_ACCURACY_M = 200(a looser fix shows the ordinary Home), and the automatic unlock's own 75 m bar (MAX_LOCATION_ACCURACY_METERS) for when the Unlock door lights up. A point patch's unlock area isAppConfig.pointUnlockRadiusMeters(default 50) round its pin, as the unlock pass treats it.
Edge cases and known limits
- The views: what "opens" means. The default is picked when Home first has content and a fix, and again only after 30 minutes away from the app (or a cold start). Back after 30 minutes, Home holds its skeleton until a fresh fix arrives (at most 10 s), so it picks from where you are, not from where you left the app. Coming back from a patch page, the Compass or the drawer keeps the view you were on. A fix that arrives late (location allowed, no fix for a while) picks the default then.
- Nearest's lock. It is taken when the view opens, on the nearest by edge once the nearby areas have loaded (until then Home holds its skeleton on a first load). A rail pick moves it; collecting it moves it to the nearest again; nothing else does. Driving off, the lock stays the patch shown even when six others are nearer (it is put first on the rail).
- Around me's focus is held by patch while it is within reach; when it leaves the list (you drove out of its five miles) the nearest leads again, and leaving the view (or a new open) lets it go, as Nearest's lock does. Its map frames the set, not the focused patch, so tapping a pin never moves the map; where pins overlap (downtown St. Louis's five within half a mile), the one on top takes the tap.
- Around me past Near Me's widest stop (250 mi: Churchill, James Bay) has a Trips door where Nearby was, as the day out's bar does: Near Me would list nothing there.
- Around me and Plan can name a different nearest patch. Around me measures to a patch's edge (the Compass's measure), Plan's line to its pin (the planner's): from James Bay, Around me focuses Hiawatha National Forest while Plan says "Nearest: Tahquamenon Falls State Park".
- The hunt: what counts. Only what the app is sent: a patch in no visible collection and filed in no Explore category is not in the hunt, though its pin is inside (Forest Park's Art Museum and Turtle Park on 2026-11-28). A child is a real stop whose pin is inside the place's area, so a patch whose grounds spill over (the Washington Monument on the National Mall) counts, and one whose pin is just outside does not (the Saint Louis Science Center's planetarium is in Forest Park, but its pin is the main building south of I-64). The place itself never counts toward its own hunt (it unlocks as you walk in). A place whose polygon hasn't arrived is no hunt yet, never guessed. National parks unlock by
protected_areas; the same containment works on those polygons, so a park with 3+ patches inside is a hunt too. - The hunt on a loose fix. A fix looser than ±200 m (common indoors, in a museum in the park) can't say you've left, so the hunt you're in holds, with your pick on its rail, while that fix's accuracy circle still reaches the place's area (plus the 30 m hold), even once the place is no longer a candidate round the fix; a good fix outside the place lets it go, and so does a loose fix farther than its own accuracy (Scout Review Bot, #355: unheld, a loose fix read as leaving, dropped the hunt and switched Home back to it by itself on the next good fix, even from a view you had picked; unbounded, a reopen at home on an indoor ±500 m fix opened on the old park's hunt). While it holds on a loose fix there's no patch you're known to stand in, so the You're here door shows but takes no tap ("You're here: waiting for a better location"). On a cold start a loose fix finds no hunt, as it finds no "You're here"; on a reopen (Home stays mounted) a loose fix keeps the hunt only while its circle still reaches the place, as above. While held, the screen is drawn from the last good fix (the readout, the guide, the rail's order and the map's frame), not the loose one. Your pick on the rail lasts while the hunt is the view, a trip to "You're here" from its door and back included; leaving it by the strip, or for another place, lets it go.
- The hunt and "You're here". In a hunt place "You're here" takes the screen only from the hunt's You're here door. A finished place behaves as before the hunt (on foot "You're here" takes over) unless you're on the hunt when the last one unlocks: then the finish stays on screen.
- Driving is a guess from the fixes. On the web there is no reported speed, so it comes from fix distance and time; a GPS jump makes one fast fix, which is why it takes two. Worked out from the fixes, a fix looser than ±50 m says nothing, and a move within the two fixes' accuracy is jitter, read as standing still (Scout Review Bot, PR #353: iOS gives no speed exactly when a fix is poor). A phone parked with no new fixes is "stopped" after a minute.
- The maps are locked on the web build too (since 2026-11-28, Alan: "we should not allow the map to move / be draggable"). The web map ignored the native gesture switches
FieldGuideMap interactive={false}sends, so every locked map dragged in a browser; the page lying over it used to hide that, until the views let a touch through to Around me's pins.mobile/src/lib/map/gestures.tsmaps them onto GL JS's handlers (maplibre.web.tsx);home-views.spec.tsdrags each view's map and checks the pin stays put (seen failing first: 219 px). Maps that pass nothing (the discovery map) still pan and zoom. - On the web build the map's attribution sits at the foot of the screen, over the left end of the strip (the web map ignores the placement it gets; on a phone it sits above the title). It sat there before the strip too, over the captions.
- A day out: the plan is Plan my day's. Same pool (the length's radius, else, with nothing you still need inside it, everything the length's budget could reach), same greedy nearest-next, same dwell per type, same estimated legs. Home never calls the router, so its miles and times are the planner's estimates; Plan my day re-times the same stops on the measured route, so its times can differ by a few minutes.
- A day out leaves out another planned day's patches, exactly as Plan my day does (
reservedFor, the Trip Calendar's rule): with Saturday saved holding Wolf Creek, today's plan from Effingham starts elsewhere, so Plan my day opens the same stops (Scout Review Bot, PR #323). It re-plans as you move about a kilometre (the fix rounded to 0.01°), each minute while it shows, and when your saved days change. - A day out: what "within a day" means. A patch a full day reaches is one whose drive plus its time there fits 8 hours (the planner's own first-stop test); there is no drive home in it. A quick roadside stop 300 mi off can be "within a day" while a state park 280 mi off is not.
- A day out on a loose fix. A cell-tower fix keeps Home from approaching a patch two miles off; Home is then "A day out", and its kicker drops "Nothing within 5 miles".
- A day out: the picks. The day dial's length, the rail's stop and the shelf's interest are the screen's own; they stay as you move (the length) and fall back to the default when they no longer apply (an interest no longer in the circle is All). Nothing is remembered across a restart.
- A day out: the circle can be huge. From Churchill, MB the nearest patch is 685 mi off, so the circle is 860 mi. That is the rule (the 5th nearest, at least 25% past the nearest), not a bug.
- Nothing collectable (everything collected, or no fix): the shared empty hero sits in the hero's place, and the doors still show. Location permission off: its "Continue" permission pitch, and the Map door reads "Explore nearby". City Challenge mode needs a fix, so it never shows without one.
- Location allowed, but no fix comes (indoors, a dead GPS, a browser whose location service has stopped): Home holds its skeleton for at most 10 s (less when the watch reports the failure), then shows the empty hero with "No patches within reach—yet.", the four doors with the Map on "Explore nearby", and "Location unavailable" in the top bar. It does not ask for the permission again (it is granted). A late fix switches Home to wherever you are. On iOS a reported watch error is terminal for that watch (iOS drops the transient
locationUnknownitself); the watch is restarted only by what restarts it today (a cadence change, Location Tracking off and on, a relaunch), so this change does not retry it. Turning Location Tracking off and on starts the watch from stopped with the failure cleared, and Home gives it the full wait again; a cadence change (opening the compass) re-opens the watch but keeps the failure. - A city you have finished still takes the screen (the ring says "Complete"); the line under it offers the nearest patch anywhere. If nothing is open anywhere, the line and the button row are omitted.
- City, state and region patches are never a destination. The hero, the next stop and the Map count use real stops only (
filterRealStops). A City Challenge collection can list its own city patch, 0 ft away; the ring draws it, but Home's next stop skips it for the nearest real stop, and the Map door does not count it. Those patches still unlock by containment exactly as before. - The hero has no radius outside a city. The nearest uncollected patch may be far away; the facts then say "N min drive".
- A short phone (iPhone SE, 667pt): the hero gives back what the buttons and the bar need, the patch shrinks inside it, and the City Challenge ring is drawn smaller (about 200pt). A patch name stops at two lines and a city name at one, so neither can push the buttons off. Very large accessibility text can still overflow, because nothing scrolls: the hero shrinks first, but text set far larger than the default is not re-laid out for. This has not been checked on a device.
- Badges are no longer on Home at all. Neither the patch-count milestone ("Perfect Ten 2/10") nor "one visit away" is shown; both live on Achievements, reached from the drawer.
- Under another screen, the City Challenge hero keeps its photo. Only motion stops: the ring's float and (were
HEADER_ATMOSPHEREon) the embers. The next stop's photo behind the ring stays mounted (CityHero.tsx,RingHeaderFieldwith a nullatmosphere), so coming back from a patch never shows black while it decodes. It used to unmount with the embers and flash black for about half a second on every return (fixed 2026-11-03). - Patch art is never dimmed to say "uncollected". "Your next patch" and the facts say it.
- Inside a patch: which patch. Only real stops take over Home (never a city, state or region, which you are always inside). Inside beats near (standing in a park 15 m from a zoo's fence, you're in the park); among those, the smallest polygon wins (
polygonAreaSqM), then the nearest. The patch's polygon is the compass's own (geofenceQuery, persisted on the device), fetched only for the few patches whose polygon can reach you (polygonBboxRadiusM); until it has arrived (first time near a patch, or offline with nothing cached) Home stays the ordinary Home, with no spinner and no flash. - Inside a patch decides on the device, on the endpoint's display polygon (simplified to ~11 m), not the server's
ST_Contains. They can disagree by a few metres at the line; the automatic unlock is still the server's answer, and the Unlock door is the fail-safe when they disagree. - Standing on a stop, Home is that stop (inside a patch), not the City Challenge or "Collect it"; near it, Home approaches it. "Collect it" is off Home (
HOME_COLLECT_IT_WHEN_HERE). - Approaching: which radius. The mile when any real stop you don't hold has its pin within it, else five miles (the drive), else none (the hunt hero). Once Home uses a radius it holds on 160 m past that radius's line, so a patch just past the mile keeps Home walking rather than widening, and one just past five keeps it driving; a patch coming within the mile always brings Home back to the mile (
approachReach, tested both ways). - Approaching: which patches. Real stops you don't hold, whose pin is within a mile (or five, on the drive) (so a big park whose pin is farther but whose edge is near is left out until its pin is in reach), ordered by the distance to their edge (to the pin until the area loads, and for patches past the nearest 12 pins). Inside any patch, collected or not, "You're here" wins. A fix looser than ±200 m shows the ordinary Home.
- Approaching: Nearby's count and Near Me's. Nearby counts the patches Home measured (pin within the mile, or within five on the drive); Near Me on its 1 mi (or 5 mi) stop counts the uncollected real stops whose pin is within that radius, so they match, except in the 160 m hold just past the line, where Home still counts a patch Near Me has dropped.
- Approaching: the rail pick is not remembered. It lasts while that patch stays on the rail at the same radius; collect it, walk out of the mile (into the drive, or past five, or into a patch), or restart the app, and it is cleared (a pick carries the radius it was made on, so it never shows on the other radius's rail even for a frame), so the nearest leads again (
NewHome.tsx, an effect on the ranked list; tested by walking out and back). - Approaching on the web build has no compass heading (
useDeviceHeadingis null there), so the dial holds north up with the needle on the patch's absolute bearing, as the Compass screen does. - Scout's camera needs photo-library access to save (the album reads the photos back), asked on the first shot. Off: "Allow Scout to add photos in Settings to save shots." and nothing is taken. Camera off for good: "Camera access is off" and Open Settings. A save the camera roll refuses files nothing. No fix: the shot is saved and filed without a location ("Location off").
What this feature does NOT do
- It does NOT switch views by itself. Not as you move, not at any speed, not when a patch comes within a mile. The view changes only on the strip, a swipe, or a new open (30 minutes away). "You're here" is the one screen that still takes over, and only on foot; in a place with patches in it, the hunt takes that takeover's place (walking in), and walking out of it Home leaves the hunt for the view it would open on.
- The hunt does NOT reward finishing a place. No badge, achievement or points for "complete"; each patch's unlock celebrates as always. It does NOT have a share sheet, a list view or filters (the rail is the list), and it does NOT count cities, states, regions or districts as hunts, or a child whose pin is outside the place.
- The hunt does NOT prompt or notify. Driving in there is no glass prompt and no push: the place's name joining the strip is the only sign. It does NOT route you between the patches (the guide is a straight line to the lead's edge; Directions hands off to Maps).
- It does NOT remember the view across opens. Each open (a cold start, or back after 30 minutes) picks the default again. Within the app the view is kept.
- Around me does NOT have a full list, or pan and zoom. You focus a patch by tapping its pin or its card on the rail; the rail stops at the patches its map draws (13 at most), and the full list is Nearby (Near Me on five miles). The rest are not on its map. Its order is re-ranked at most once a mile, so the first card is not always the nearest while you drive.
- Driving does NOT change what a view shows, only when Plan re-plans (it waits until you stop) and whether "You're here" takes over (it waits for a tap). It does NOT hide doors, lock the phone, or warn you about using it while driving.
- It does NOT scroll. Everything is on one screen. There is no "more below".
- With location allowed but no fix coming, it does NOT keep waiting, retry the watch, or ask for the permission again. After 10 s (or the watch's own error) it shows the no-fix Home with "Location unavailable" and waits for a fix to arrive on its own. Permission prompting, tracking and unlocking are unchanged.
- A day out's stops do NOT open their patch, and its map pins take no taps (since 2026-11-27). A stop on the rail picks it (its colour, its pin, its name in the line); the map never zooms to one stop and can't be panned. A stop's page is a tap away in Plan my day, which the big button opens on the same plan.
- A day out does NOT start or save a trip. Plan my day does: its big button opens Plan my day on the same length and day, where Start and Save live. Home plans nothing on the server, routes nothing, and its line on the map is straight segments, not roads.
- A day out does NOT count the drive home, and it does NOT know opening hours, prices or tickets (Plan my day's scope cut). "Done by" is when you leave the last stop.
- A day out does NOT show the hunt hero, Go collect it, or the four-door action bar. Those appear only under the empty hero now (location off, or nothing you still need anywhere).
- It does NOT show what a collect pays. The "Collect it and you get" pills are gone (2026-10-08). The badge a patch earns and the collections it moves are on the patch's own page, one tap away (info).
- It does NOT show your collections or badges as rows. The collections rail, the badges rail and "Also within a walk" are gone. Map, Collections and Patches are doors to their own screens, each with one live number.
- It does NOT show badges or badge progress. There is no Badges door (it became Patches on 2026-10-09) and Home makes no achievements request. Achievements are in the drawer.
- It does NOT have a profile button. Profile is the avatar at the top of the drawer.
- It does NOT show level, XP or a streak. The server still computes them (see achievements), and no screen shows them, this one included. Do not describe levelling up or streaks.
- It does NOT have the City Challenge band. (Standing inside any real stop's polygon, a national park included, Home is that place: see Inside a patch.) Near (but more than 2 miles from) a City Challenge, the city only ranks first in a patch's collections; there is no band.
- It does NOT turn into a City Challenge from more than
placeModeRadiusMilesaway, and it does not check whether you are inside the city's boundary. It measures the distance to the nearest stop. - It does NOT reward finishing a city. The ring says "Complete"; nothing is earned for it.
- It does NOT show the trip-resume card. An active Day Trip or Road Trip is not resumable from the new Home. The Trips door opens the trip planner; resume from the trip screens.
- It does NOT carry the camera-roll import band, the Journeys carousel, the day-trip marquee, or the decorative explorer-map card.
- It does NOT unlock anything on its own. Collecting happens through the normal automatic unlock (the location check, the Compass), exactly as before; "Collect it" opens the Compass. The one exception is inside a patch's Unlock door, which you tap: a real unlock (
source: 'gps'), offered only inside the polygon or within 20 m of it. - Inside a patch does NOT check the location on the server. The 20 m buffer is decided on the device; the server trusts the client's collect, as it does for every unlock. The Unlock door works within 20 m of the line on a fix of ±200 m or better (a dev location fix always counts as precise, as for the unlock pass), so on a loose fix "20 m" is the fix's centre, not a guarantee.
- Inside a patch does NOT let you pan or zoom the map, and it does NOT draw the 20 m buffer.
- Approaching does NOT route you, on foot or on the drive. There is no in-app turn-by-turn: the guide line is a straight line to the nearest edge, the compass points at the pin, and Directions hands off to Apple or Google Maps.
- Approaching does NOT unlock or take photos. It has no Unlock door and no camera; those appear when Home becomes "You're here". It does not approach a patch you already hold, a city, state or region, or anything whose pin is more than five miles away (more than a mile, when anything is within the mile).
- Approaching does NOT let you pan or zoom the map, and it does NOT send its own analytics event (the same allowlist wait as the inside mode).
- Scout's camera does NOT upload anything. The photo stays on the phone (camera roll + the album's reference); it is uploaded only if you post it, or if the account has the album's cloud backup on, as for every visit photo. It does NOT work on the web build (no camera roll to save to). It records no video, has no filters or editing, and does not post for you.
- Inside a patch does NOT send its own analytics event yet. An Unlock-door unlock is counted in
patch_collectedwithmethod: 'unlock_here'; Home showing the mode and camera saves have no event (a new event name needs the backend'sEVENT_TYPESallowlist deployed first). The admin dashboards' unlock counts leave Unlock-door unlocks out: theirREAL_UNLOCK(backend/src/analytics/analytics-sql.ts) counts onlymethod: 'geofence', as it already leaves out photo check-ins (check_in). The leaderboard and achievements do count them (they readsource: 'gps'). - It does NOT replace the field-guide Home's code. That screen ships unchanged behind the flag being off, with its own top bar.
Tests that cover it
-
The three views (2026-11-28):
mobile/src/components/home-new/__tests__/homeView.test.ts(the default: a patch within a mile → Nearest, paired past the mile → Around me, a held patch or a city round you not in range, nothing anywhere; the strip's order and step; the 30-minute reopen, paired),motion.test.ts(the phone's speed, worked out from fixes without one, iOS's -1; two fast fixes to drive, paired with a slow one between; a red light under a minute holds the drive; a minute under 5 mph stops it; walking pace neither starts nor ends it; no fix for a minute stops it),viewsAround.test.ts(Around me within five miles, never held or a container, widened to the circle and its kicker; Nearest's rail keeping its lock first). These three were RED before the modules existed.mobile/hook-tests/homeViews.test.tsx(useMotionon the store's fixes, paired with walking;useDayOutholding its plan while driving 40 km and re-planning once stopped, paired with not driving; the two hold tests seen failing withholdignored).mobile/src/domain/__tests__/locationSlice.test.ts(the fix's speed kept, none or -1 stores none, cleared with the fix; 3 seen failing before the store kept it).mobile/screen-tests/new-home-views.test.tsx(31: the default on open, paired; the strip; Nearest keeping its patch 3 mi away and a rail pick holding; Around me's pin focus; Plan's length door and menu, paired with one length; inside a patch, since 2026-11-28 the place as the strip's first tab (nh-view-here): driving through, there and unlit, pressing it opens "You're here", paired with on foot (Home opens on it, lit); a view picked from it and back, paired with walking out (the tab gone, the three views); its name on one line; 6 seen failing on develop first (nonh-view-here), withhomeView.test.ts's three strip tests (nostripTabs); falsified by moving the seeds and by re-picking the view on every fix), and innew-home-far.test.tsxAround me past Near Me's widest stop offering Trips (seen failing first: its Nearby door opened Trips), paired with Effingham's Nearby. Web E2E:e2e-rn-web/specs/flows/home-views.spec.ts(14: downtown St. Louis → Nearest, paired with Morden → Around me; the strip and swipes; Nearest on a 2 mi drive, then a reload re-picks; Around me staying put coming within a mile; a pin focusing; Plan's length menu re-planning; driving into The Mammoth Site → the place's tab, unlit, which opens "You're here", paired with walking in → Home on the place's tab; each seen failing on a mutated copy first; since 2026-11-28 standing in the Saint Louis Zoo → Home on the zoo's tab, first on the strip, a swipe off it and back, Plan and back by taps, and the tab gone once you leave);home,home-far,home-approach,home-insidemoved onto the views,smoke.spec.tsnow expects Around me at Morden; the existing Home suites below were moved onto the views (approaching is Nearest or Around me, a day out is Plan, the length is the door). -
The hunt (2026-11-28):
mobile/src/components/home-new/__tests__/hunt.test.ts(26, +3 a loose fix holding the hunt you're in, even out of the candidates while its circle reaches the place, bounded (a loose fix far away, or one whose circle falls short, lets go), paired with a good fix outside letting go and nothing to hold, seen failing first; 23 on Forest Park's real rows and polygons,mobile/fixtures/forestPark.ts: the six inside by pin, never the place, a city or the Science Center; the zoo holds none; 3 needed, a district never, an unfetched polygon skipped; in the park and in the zoo it's Forest Park, south of it none, a ±500 m fix none, the smaller of two; progress; the order, the lead, the checked rail, a pick, the zoo ticked off, last one, by car, the finish; the default and the strip's order and step. 12 failed with the polygon test and the district rule removed).mobile/screen-tests/new-home-hunt.test.tsx(27; +3 for the patch's tab beside the hunt's: in the zoo, both tabs (the park's lit), the zoo's opening its "You're here" and the park's going back, seen failing on develop first; paired with standing in the park itself, one tab; the finished park's "You're here" lighting the park's own tab, pressing it showing the finish, seen failing with the lit tab falling back to the view; +4 for the third review's nits: a long kicker shrinks beside the ring, the pick survives You're here and back (paired: leaving by the strip lets it go), and the readout stays on the last good fix while a loose fix holds (3 seen failing first); +4 for a loose fix holding the hunt and your pick, a loose fix out of the park's reach whose circle still reaches it holding it too (its You're here door disabled, live again on a good fix), paired with a loose fix at home letting it go, paired with Nearest picked staying Nearest, seen failing first; 16: the hunt first on the strip, named and lit; its title, ring, readout and compass; the rail's order and checks; a chip leading; the place's colour; paired, south of the park no hunt; the bar's doors and You're here (Forest Park's), and back; in the zoo the hunt keeps the screen, the zoo unlocking live ticks it off, paired once held, You're here is the zoo's; last one; finished opened there → "You're here" with the hunt on the strip, paired, finishing on the hunt keeps the finish; walking in takes the screen, paired, driving in only joins the strip with no prompt and opens by car; leaving the park drops it. 14 failed with the drive-in rule and the "You're here" wait removed). Web E2E:e2e-rn-web/specs/flows/home-hunt.spec.ts, on Hermann Park, Houston (the Houston Zoo, the Museum of Natural Science and McGovern Centennial Gardens), not Forest Park: the run pins the catalog to 2026-11-22 (e2e-rn-web/lib/catalog-premise.ts), when only Forest Park's Zoo was sent to the app, so Forest Park is no hunt in a run. Walking in from the east: no hunt east of it, the park's celebration, then the hunt first on the strip and lit, "0 of N found", every patch on the rail; on into the zoo: its celebration, the hunt still on screen with the zoo checked and "1 of N found", You're here the zoo's, and the server holding both. Paired: driving in only joins the strip, no prompt, opening by car. Seen failing with the drive-in rule removed, and with "You're here" let take over in a hunt place. The walk and drive helpers moved toe2e-rn-web/lib/travel.ts(shared withhome-views.spec.ts). -
mobile/screen-tests/new-home.test.tsx(51 tests, real catalog rows: Boston stops, the Statue of Liberty, and Walden Pond with Massachusetts State Parks from a Concord, MA fix). It covers:- the flag (new by default, field-guide when off)
- the top bar: the place line, the bell's count and "9+", no profile button, the bell opening notifications, and the menu and bell as clear Liquid Glass (falsified with a solid menu button, and with nothing unread)
- in a City Challenge: the ring as the hero (kicker, name, progress), no ring until its box is measured (falsified by guessing a size), the ring fitted to a short box by height, to a narrow one inside the gutters, and never past 358pt, the next stop's art in the ring over its photo, Next stop folded into the title with its facts, Go collect it and info (and no compass button), "Collect it" standing on it, a finished city → "Complete" + "Your next patch", and a finished city with nothing open → no line, no buttons
- outside a city: the hero's facts, the patch floating on its own with no arcs, capped at 30% of the screen (falsified at 38%), no pills, moving on once collected, art undimmed, the buttons, the empty hero
- containers are never a destination: not as the next stop even when the city's collection lists its city patch, and the Map door counts the three real stops, not the two containers too (falsified by counting all open patches)
- the action bar: the four doors and their lines from the seed, the Patches door's "1 collected" (falsified with a 0 count), a brand-new user's "Start one" / "Collect your first", location off → "Explore nearby", each door's route, Patches to My Patches and Trips to
/tripslike the drawer (falsified by routing a door elsewhere), their screen-reader names, their accent - one screen: no
RCTScrollViewanywhere on screen (falsified by adding one back), the hero's 80% basis, no rails or walk row, the bar never squeezed (the 17 Pro spacing bug; seen failing first), the glass bar drawn outside the loader's fade (the plain-glass bug; seen failing first), and loading: the skeleton under the real bar with its bell, in the screen's own bar slot - motion only while Home is in view, with the city's photo still mounted under another screen (seen failing first, 2026-11-03); the shared error state
-
Inside a patch:
mobile/screen-tests/new-home-inside.test.tsx(11 tests, The Mammoth Site's real row and real geofence, South Dakota round it): inside → the place, its title and facts, "Also inside South Dakota", no hunt hero or action bar; the paired 150 m outside → approaching it (the hunt hero before 2026-11-21's approaching); 15 m outside (in the buffer) → still the place; a ±500 m fix → the ordinary Home; the four doors and the shutter and where each goes; collected → "Unlocked", disabled, no sheet; the sheet at the edge (how far; Not now collects nothing), Unlock it →collectPatch(id, 'unlock_here')and the celebration, never'manual'; a throwing collect → "Couldn't unlock it. Try again." and no celebration; a ±120 m fix → the accuracy line.mobile/src/components/home-new/__tests__/insidePatch.test.ts(22: the buffer, the 30 m hold, nesting, never a state, accuracy 199/201/unknown, an unfetched polygon, point patches, door states, sheet copy; the inside-beats-near and never-a-state rules falsified by mutation).mobile/hook-tests/useInsidePatch.test.tsx(5).mobile/src/domain/__tests__/patchSourceTagging.test.ts:'unlock_here'reaches the server asgpswhile Unlock Manually staysmanual(falsified by mapping it to manual).new-home.test.tsx: standing ON Boston Common is now Boston Common. -
Scout's camera:
mobile/screen-tests/patch-camera.test.tsx(9: the capsule names the patch, Location on/off; a shot passes its GPS as EXIF, is saved to the camera roll and filed as a visit photo, with the toast and the count; See it → My Visit; a refused save files nothing; photo library off → takes nothing; camera off → Settings; the web build's notice).mobile/src/services/__tests__/patchCamera.test.ts(6). -
A day out:
mobile/screen-tests/new-home-far.test.tsx(27 tests, real rows near Effingham, IL and Churchill, MB,mobile/fixtures/homeFar.ts): the plan (kicker, "2 patches, half day", the facts, "First: Wolf Creek State Park", the numbered stops and pins, no hunt hero, no action bar); the dial (each length's count, half day on, 3 hr → "1 patch, three hours", Plan my day →/trip-plan?length=3h); every door's route; the length is Plan's door and glass menu since 2026-11-28 (the door names the length; the menu is clear glass, lists each offered length with what it fits, the picked one selected, a pick re-plans; with one length left at 5 PM the door takes no tap and opens no menu; it replaced the glass tab bar of 2026-11-27); a stop on the rail picks (Casey Big Things: the line "Stop 2: …", its chip selected, its pin the grown one, the bar's picked length in Route 66's colour not Wolf Creek's wild, nothing opens, the same frame; the first again; the map's pins take no taps; a new length opens on its first stop; a re-plan that drops the picked stop lets it go for good (off to Churchill and back; review on PR #348); 4 of these seen failing on develop's code); a length that fits none ("Nothing fits three hours", the nearest by car, paired with half day fitting); after 9 PM tomorrow's plan and&start=tomorrow; paired, within five miles → approaching, no day out; nothing within a day (every patch a day reaches held: "Every patch within a day is yours · 73", "What's within 790 mi", the shelf, the ticked pins; Directions to the nearest in Maps, Patch details, Nearby, Explore; picking an interest and back to All; Churchill's "Nothing within a day's drive"); nothing anywhere → the empty hero. Falsified by turning the day out off when it had 19: 17 failed, the two passing being the opposite-branch tests.mobile/hook-tests/homeDayOut.test.tsx(25:buildDayOuton the same rows, the default length, the dial, a length that fits none, never a state, Nearby's radius, late in the day, tomorrow, an hour left that fits nothing → tomorrow (seen failing first: it said "nothing within a day"), a patch within five on a loose fix → "A day out" (seen failing first), the locked circle, the interests summing to All, a picked and a vanished interest, Churchill, nothing anywhere → null;lockRadius; andpickStopanddayOutFrame: a plan opens on its first stop in its colour, picking the second wears its family and motif and names it (and back), an unknown id picks the first, nothing to pick comes back as is, the frame is the whole trip whichever stop is picked; 5 seen failing on develop's code).new-home.test.tsx,new-home-approach.test.tsx,new-home-inside.test.tsx: past five miles and on a loose fix Home is a day out; the hunt-hero blocks skipped (HUNT_HERO_ON_HOME); the action bar's tests re-seeded on the empty hero (location off, everything collected; containers still never counted: "None within 10 mi" with Boston and Massachusetts open). The gallery's four day-out states inscreen-mocks.test.tsx. -
Approaching a patch:
mobile/screen-tests/new-home-approach.test.tsx(10 tests; The Mammoth Site's real row and geofence from the lab's Hot Springs spot, and the eight nearest real Boston stops): within a mile → "Approaching", name, facts, Cold, "0.6 mi away · SW · N min walk", the map, no hunt hero; paired with two miles off → the hunt hero, a held patch → the empty hero, inside → "You're here", a ±500 m fix → the ordinary Home; one patch → no rail and a bare "Nearby"; the plain dial (needle, no art); every door's destination and Directions' coordinates; the rail's six in order, the first selected, "+2" and "Nearby · 8"; a chip switching the patch, its kicker and its doors. These failed before Home had the mode (seen 6 of 10 failing).mobile/src/components/home-new/__tests__/approachPatch.test.ts(10: the mile, never a held patch or a container, the hold past the mile, edge-first with the pin fallback, loose and dev fixes, the leading pick and its fallbacks).mobile/src/components/compass/__tests__/approach.test.ts(7: the shared area distance, travel and direction).new-home.test.tsx: its default fix moved 1.1 mi south of Boston Common (the hunt hero's ground now); 75 m from Walden Pond is approaching it (Burning, feet, never "Collect it"); from the middle of Boston the Common leads and Nearby counts 3 real stops, not the containers.new-home-inside.test.tsx: 150 m out is approaching.near-me.test.tsx:?within=1opens on the 1 mi stop, an unknown value on 25 mi. The drive (2026-11-22,new-home-approach.test.tsx, 4 tests, RED before the change): two miles off The Mammoth Site → approaching with drive time, no heat word, no dial, the Compass door and "Directions opens it in Maps"; its doors (Directions → Maps, the Compass door → the Compass, Nearby →/near-me?within=5); one patch within the mile plus a (synthetic) museum three miles off → still walking, no rail, a bare Nearby; two miles south of downtown Boston → the drive's rail of six, "+2", "Nearby · 8", "+2" →/near-me?within=5. Six miles off is the hunt hero; the pick test now also checks a pick is let go when the radius changes (the State House is on both rails; falsified by dropping the radius check).approachPatch.test.ts(+8:approachReach— one within the mile never widens, none within the mile → five, a held patch within the mile doesn't count, none within five → null, the hold on both lines, back within the mile → the mile;nearbyHref).compass/__tests__/approach.test.ts(+1: drive time by car).new-home.test.tsx's spots moved past five miles (6 mi south of Boston Common; 6 mi west of Walden Pond), every assertion kept. -
Location allowed, no fix (2026-11-24):
mobile/src/components/home-v3/__tests__/homeLoadGate.test.ts(the deadline, the watch's error, a late fix, location off not counting as unavailable, the top bar's line; seen failing on develop first, 8 of 14),mobile/src/services/location/__tests__/locationWatch.test.ts("the watch error path": an OS error marks the fix failed, a position never does, a watch started from stopped clears an earlier failure (review, PR #342; seen failing first), a cadence change keeps it (second review pass; seen failing first), a stopped watch's late error is ignored; seen failing first), andnew-home.test.tsx's "allowed, but no fix is coming" (4: the skeleton inside the deadline then the no-fix Home with the seeded doors and "Location unavailable"; at once on the watch's error; a fix after the deadline → approaching the Common; paired, a fix in time stays the located Home past the deadline; 3 of 4 seen failing on develop's wiring, the paired one passing), andindex.test.tsx's "allowed, but no fix is coming" for the field-guide Home (2: the skeleton, then its empty hero and "Location unavailable"; paired, a fix in time stays the Gateway Arch hero; the first seen failing on develop's field-guide Home). Web E2E:e2e-rn-web/specs/flows/home.spec.ts"location allowed, but no fix possible" (the browser's geolocation granted but failing with code 2: Home leaves the skeleton, the empty hero, "Location unavailable", the doors, no permission pitch, the same after a reload; a fix handed over later turns Home into the day out from Morden; both seen failing on develop with "Locating…"). -
Web E2E:
e2e-rn-web/specs/flows/home-approach.spec.ts: at Hot Springs, approaching The Mammoth Site with the Compass readout and the plain dial, each door opening its screen (Nearby on Near Me's 1 mi, the compass on the Compass, Directions a Google Maps tab with the pin), two miles off the drive (drive time, no heat word, no dial, Nearby on Near Me's 5 mi counting the one patch, the Compass door), six miles off the hunt hero, inside it unlocks and "You're here"; downtown St. Louis's five on the rail, a chip switching the patch, and Near Me counting the same five.home.spec.ts: beside Wall Drug, approaching it, and its compass leads to the unlock. From Morden, a stop on the day out's rail picks it: the line "Stop 2: …", its chip selected, its pin grown, the title and the URL unchanged, no pin moved on screen, and a pin tap does nothing; a new length after a pick opens on its first stop; at 5 PM, with one length left, no length bar, and (paired) at noon every length on it, the picked one selected (both seen failing on the earlier bar).home-far.spec.ts's Effingham flow picks Casey Big Things and sees the day bar's colour change, and back (2026-11-27; all three seen failing on develop's code).e2e-rn-web/specs/flows/home-inside.spec.tsat The Mammoth Site: 150 m away approaching it; 15 m from the line the place, the Unlock sheet, Not now (server still only South Dakota), Unlock it → celebration → "Unlocked" → the server holds the patch; standing inside it unlocks on its own and every door and the shutter open their screens. -
mobile/src/components/home-new/__tests__/selectors.test.tsandfit.test.ts: every selector, includingselectHomeDoors(all four lines and their fallbacks, the 192-mile patch outside the radius; falsified with a 1000-mile radius),collectionMovesFor,targetFor, andhomeFit/ringFit. -
mobile/screen-tests/screen-mocks.test.tsx: all ninenew-homegallery states render their expected content. -
mobile/screen-tests/campaign-ring.test.tsx,campaign-id.test.tsx: the City Challenge page, sharingRingDial. -
mobile/screen-tests/index.test.tsx: the field-guide Home's full suite, pinned to the flag off, including its bell (which now sharesUnreadBadge).
Open questions
-
Should finishing a hunt earn something (a badge, an achievement)? Answered "celebration only, for now" (2026-11-28).
-
Should districts (downtowns, neighbourhoods) ever be hunts, perhaps under a size cap? Today never.
-
Should Around me draw more than its nearest 12 (as dots, as A day out's circle does)? Today the rest are only in Nearby.
-
Should the view be remembered across opens after all (open call b was answered "reset each time")? Revisit once people have used it.
-
Should A day out remember the dial's length (or the shelf's interest) across restarts? Today they are the screen's own and reset.
-
Should A day out measure the plan on the road (the router) before showing it, so Home's times are Plan my day's exactly? Today Home shows the planner's estimates.
-
Should an active trip surface on the new Home? The agreed design has no trip-resume card, so it is not here (see "does NOT do").
-
Should approaching also take in a big area whose pin is more than a mile off but whose edge is within it? Today the pin decides who's in (it is what Near Me counts too).
-
Should Home have a national-park mode?Answered 2026-11-21: inside any real stop's polygon (a park included), Home is that place. -
Should Home showing the inside mode, and camera saves, get their own analytics events? They need the backend's event allowlist deployed first.
-
Should the admin dashboards'
REAL_UNLOCKcount Unlock-door unlocks (unlock_here), and photo check-ins with them? -
The iOS camera permission string still says the photo "verifies you visited this place"; rewording it for Scout's camera is a native change (next store build, not an OTA).
-
The Maestro flows that drive the field-guide Home's day-trip marquee, Journeys and trip "Resume" (
maestro/tests/home.yaml,day-trip.yaml,day-trip-driving.yaml,map.yaml) assume the field-guide Home. With the flag ON they need either the flag off or rewriting against this screen. Not yet decided. -
Very large accessibility text on a screen that cannot scroll (see Edge cases).