planner-interactions.md

August 3, 2020 ยท View on GitHub

The following table describes the interactions with nodes and routes in the planner map. This is intended for manual testing of these interactions.

Test results per browser:

  • C = Chrome
  • F = Firefox
  • S = Safari
Nrplanner interactionCFSexpected result
1hover over nodeOK??cursor changes (+ yellow highlight) to indicate node is clickable
1ahover over node, with ctrl-key downOK??cursor changes (+ yellow highlight) to indicate node is clickable
2hover over route in empty planOK??no cursor change, route is not clickable
2ahover over route in empty plan, with ctrl-key downOK??cursor changes (+ yellow highlight) to indicate route is clickable
3hover over route in plan with at least a start markerOK??cursor changes (+ yellow highlight) to indicate that the route is clickable (note: highlight may be partial due to technical limitation)
3ahover over route in plan with at least a start marker, with ctrl-key downOK??cursor changes (+ yellow highlight) to indicate that the route is clickable (note: highlight may be partial due to technical limitation)
4click node in empty planOK??adds blue start marker
4aclick node in empty plan, with ctrl-key downOK??open node details popup
5click route in empty planOK??not possible, route cannot be starting point
5bclick route in empty plan, with ctrl-key downOK??open route details popup
6click node in plan with start marker onlyOK??adds leg and green end marker
7click node in plan with last leg node-to-nodeOK??adds leg, and green end marker, previous green end marker becomes brown via marker
8click route in plan with start marker onlyOK??adds leg, adds brown via marker on the coordinate that was clicked and adds green end marker on destination node
9click node in plan with last leg via-routeOK??adds leg and green end marker, previous green end marker becomes invisible (brown route via marker remains)
10click route in plan with last leg node-to-nodeOK??adds leg, adds brown via marker on the coordinate that was clicked and adds green end marker on destination node, previous green end marker becomes brown via marker
11in plan with start marker only, drag blue start marker, drop on other nodeOK??plan start is moved
12in plan with first leg node-to-node, drag blue start marker, drop on other nodeOK??plan start is moved, first leg is recalculated
13in plan with first leg via-route, drag blue start marker, drop on other nodeOK??plan start is moved, first leg is recalculated (keeps going through route-via-point, end marker can change)
14drag blue start marker, drop on routeOK??not supported, no cursor/highlight change when hovering over route - marker jumps back to original position
15in plan with last leg node-to-node, drag green end marker, drop on other nodeOK??plan destination is moved, last leg is recalculated
16in plan with last leg via-route, drag green end marker, drop on other nodeOK??plan destination is moved, last leg is recalculated
17in plan with last leg node-to-node, drag green end marker, drop on routeOK??end marker moved, leg recalculated
18in plan with last leg via-route, drag green end marker, drop on routeOK??end marker moved, route-via-markers are kept
19drag brown node via marker, drop on other nodeOK??via point is moved, legs are recalculated
20drag brown via-route via marker, drop on other nodeOK??via point is moved, legs are recalculated
21drag brown node via marker, drop on routeOK??via point is moved, legs are recalculated
22drag brown via-route via marker, drop on routeOK??via point is moved, legs are recalculated
23drag node-to-node-leg, drop on nodeOK??via point is move, legs are recalculated
24drag node-to-node-leg, drop on routeOK??via point is moved, legs are recalculated
25drag via-route-leg, drop on nodeOK??via point is moved, legs are recalculated
26drag via-route-leg, drop on routeOK??via point is moved, legs are recalculated
27single click on brown node via markerOK??via marker is removed, and new leg is calculated connection previous leg start node to next leg end node
28single click on brown route via markerOK??via marker is removed, and new leg is calculated connection previous leg start node to next leg end node
29click reverseOK??plan reversed
30plan with via-route, click reverseOK??plan reversed
31shift drag rectangleOK??zoom in to selected area
32click "R" button, without planOK??error popup
33click "R" button, with planOK??zoom in/out to make planned route fit map view
34click spyglass button, enter locationOK??zoom and pan to choosen location
35click "target" button (with browser permission)OK??zoom and pan to what the browser thinks is the current location
35click "target" button (without browser permission)OK??error popup
36click double-ended arraow button in upper right cornerOK??map is shown fullscreen

save and restore plan with via-route via clipboard link or QR code