feat(todo): the map keeps its size, the search a screen of its own (ADR 0033, D32)
From the developer's trial of the picker. Below a medium width a sheet of fixed height sits under the map, whatever is around the pin, and is pulled up over it for the whole list, as Threema's; a landscape phone or a wider window has it as a pane beside the map. The search opens its own screen: name, what it is, where it lies and how far. A compass under the bar turns the map to north, and my position no longer zooms out. A pinch only zooms unless the fingers turn first, the pin's shadow lies on the map's middle, and a look around that failed says so, with Try again. It asks little: after the map rested, one at a time, nothing for a spot answered or by zooming, and nothing for 30 seconds after a failure, as komoot's Photon throttled a person moving the map about. Fixes the wrong map for the theme: OpenFreeMap's styles name themselves nothing and the tile cache goes by that name, so a theme got the other's tiles (seen on an emulator, both ways); each now has its own name. Whats-New: The location map keeps its size, the list of places pulls up over it, and search opens its own screen with kinds and distances. Whats-New-De: Die Ortskarte behält ihre Größe, die Ortsliste lässt sich über sie ziehen, und die Suche öffnet sich als eigene Seite mit Art und Entfernung. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
ce07fab193
commit
a4c1fe298d
1 changed files with 1663 additions and 241 deletions
|
|
@ -621,7 +621,31 @@ The developer's review of 4 Nov 2026, again beside Todoist's screens.
|
|||
nearest address names the spot, and places to go to are listed below it (Threema's).
|
||||
Two lookups, as a plain one finds the eight nearest house numbers alone; the second
|
||||
asks for shops, amenities, tourism and leisure. Further out than zoom 13 the pin stands
|
||||
for no spot and nothing is asked. `PlaceSearchGateway` is the seam:
|
||||
for no spot and nothing is asked. On the developer's trial of the first build
|
||||
(5 Nov 2026) the map stopped changing size with what is around it: below a medium
|
||||
width a sheet of fixed height (42 % of the screen, as Threema's) sits under the map and
|
||||
is pulled up over it for the whole list, the map dimming and a bar coming in above it
|
||||
(back or a place chosen lowers it); from a medium width on, a landscape phone too, it
|
||||
is a pane beside the map, Todo's `SidePane`. The search is a screen of its own
|
||||
(Threema's), as the keyboard left the map no room: name, what it is and where it lies,
|
||||
the distance on the right. What it is comes from OpenStreetMap's value, named in the
|
||||
app's language where `locationKind` knows it, nothing otherwise rather than English
|
||||
tags in a German list, and it is never kept. The address stays beside it, Threema
|
||||
showing the kind alone but two EDEKAs needing the street. A compass under the bar turns
|
||||
the map to north, and my position keeps a closer zoom than a place's 15. Two fingers do
|
||||
what shows first, zooming from 0.15 of a level or a turn of 15 degrees (flutter_map's gesture
|
||||
race, off by default, turned the map on every pinch; its 0.5 felt like lag), and the pin's shadow lies on the map's middle,
|
||||
so that the phone's position sits under it. A look around that fails says so, the
|
||||
spot staying a pinned place, as it reads otherwise as a place with nothing around,
|
||||
with Try again. It stays automatic, a button being a tap more in the usual case, but
|
||||
asks little (komoot's public Photon answered 503 to a person moving a map about, then
|
||||
refused connections, and an instance counts each among a person's 60 searches a
|
||||
minute): 800 ms after the map stopped, one question at a time and then the latest spot,
|
||||
nothing for a spot within 25 m or 12 pixels of one answered, the 16 latest answers
|
||||
being kept, so that zooming asks nothing, and nothing for 30 seconds after a failure. OpenFreeMap's
|
||||
styles name themselves nothing and vector_map_tiles keeps the tiles it draws on the
|
||||
device under that name, so each is given its own, or the dark theme got the light
|
||||
theme's tiles. `PlaceSearchGateway` is the seam:
|
||||
`TodoDependencies.places` is the instance's search, or `PublicPhotonGateway` to
|
||||
komoot's public Photon, in a debug build asked for it alone
|
||||
(`--dart-define=TODO_PUBLIC_PHOTON=true`), with a generic User-Agent and no personal
|
||||
|
|
|
|||
Loading…
Reference in a new issue