a-b-street / a-b-street/abstreet

Improve LTN Turn Restriction editing UX design

未關閉
#1,110 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
design-needed ltn
主要語言
Rust
星號
8.2k
分支
380
PR 合併指標
30 天內沒有已合併 PR

描述

Based on feedback here: https://github.com/a-b-street/abstreet/pull/1091#pullrequestreview-1604775328

> The UX of only being able to select a destination road on
one end is confusing to me. When you hover on a road in the neutral
state, roads on both endpoints are highlighted, but when you click, the
closer one wins.

## Option 1

> My first preference might be to get rid of the endpoint distinction
and just let the destination road exist on either end. I remember
discussing this and don't remember the rationale... was it due to
ambiguity with complex TRs and sequences of multiple roads where some
road might be shared?

This would require finding a solution for https://github.com/a-b-street/abstreet/issues/1108

## Option 2

> As a second option, what if we change the hover behavior to make it
clear which side of the road the cursor is closer to, so the click
becomes expected?

This would require calculating the hitboxes for each half-road segment. This would be a faff, but it is possible.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。