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

Impossible/impracticable to undo automated filter placement in Design LTN tool

Aberta
#1,116 2 comentários 0 reações 0 responsáveis Ver no GitHub
ltn
Linguagem predominante
Rust
Estrelas
8.2k
Forks
380
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

How to reproduce
=============

- In the Design LTN tool, select a large-ish neighbourhood
- Try automatically placing filters using the following option:

> Advanced -> Automatically place modal filters -> stop the most shortcuts (bute-force)

- Attempt to undo the placement of the filter

Expected behaviour
============

The user should be able to undo the filter placement with a single undo.

Actual behaviour
============

The user may need to select undo > 100 times in order to return to the state before automatically placing the filter.

(It seems that an edit is made and undone for each candidate filter (see https://github.com/a-b-street/abstreet/blob/70002600991c4611d3d905da59173c0b74cee2a6/apps/ltn/src/logic/auto_filters.rs#L105) (~= the number of interior roads in the neighbourhood). This can be > 100, making it impracticable for the user to undo this change later.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.