a-b-street / a-b-street/ltn

Automatic fixes before placing a filter

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Rust
星标
21
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

In v1, if you try to filter a one-way road, the tool first makes the segment two-way. The first time it does so, it warns the user (and by default, lets them only see that once).

Similarly, the only filter that can be placed on a road with bus routes along it is a bus gate.

Have to rethink the WASM API. Should it be two calls, or should the main 'add filter' call return something indicating an error to prompt the user with? If the user has opted into fixing that kind of problem automatically, does that choice live in the frontend and it silently makes two WASM calls?

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 描述了在应用过滤器之前进行自动修复,并引用了 v1 的行为。检查用于添加过滤器的 WASM API,该 API 很可能位于 Rust 代码库中。查找现有的过滤器放置逻辑和错误处理。确定如何修改 API,使其返回错误或支持两次调用,并决定将用户对自动修复的偏好存储在哪里。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, wasm
领域
api, frontend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。