Edit turn restrictions: leftovers
- 主要语言
- Rust
- 星标
- 21
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
描述
- [ ] Check results near https://www.openstreetmap.org/way/158782224. The maptiler basemap seems wrong here; there's no oneway.
- [ ] Arrows too small at https://www.openstreetmap.org/node/5113845431
- [x] Depends on #101
- [ ] Decide what turn restrictions to visualize, especially when they clash with oneways
Test cases:
- a "blackhole" of oneways pointing at each other
- a simple example https://www.openstreetmap.org/relation/3880112
Followups from #180:
- [ ] Account for one-ways in get_turn_restriction_targets` (See [here](https://github.com/a-b-street/ltn/pull/180#discussion_r1976002464) -- maybe not -- maybe instead highlight redundant or conflicting cases)
- [ ] bug: Click on a road to make a TR from it, click map, blue focus remains
- [ ] bug: Click to delete a TR, preview line remains
- [ ] improve toolbar width responsiveness
- [ ] make pico tooltips on the toolbar buttons cover the map
- [ ] Maybe rotate the TR icon in the popup when showing what'll be created
- [ ] `turn_restrictions` could be a BTreeMap, and `travel_flows` ought to be a Vec
贡献指南
这个仓库没有索引到贡献指南
调研方向
这个 issue 涉及在 LTN Web 工具中编辑转向限制。首先检查 `get_turn_restriction_targets` 附近的代码和 `turn_restrictions` 数据结构,它们很可能位于类似 `src/turn_restrictions.rs` 的文件中。在工具中测试列出的 OpenStreetMap way 和 node URL,以查看视觉错误。查看 PR #180,了解单向处理以及蓝色焦点仍然存在等 UI 问题的背景。'Done' 意味着修复视觉错误,并实现关于转向限制可视化的决定。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- frontend, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100