five-on-it / apps/client/src/ui/studio/CityPanels
apps/client/src/ui/studio/CityPanels
What the studio's inspector adds under a city element's fields: its points in order (a road's start, the points it runs through, its end; a river's; an outline's), each selected or deleted, a point inserted on the segment after it or the road cut there (that stretch removed); and what names the element (the roads ending on a road, the road up a hill, the spawn on a road), each selected with a click: what deleting it would break. The ids and data- attributes are the end-to-end tests' contract.