Строка «Город» в сравнении — только городThe «City» row in compare — the city only
· Открыть на сайтеOpen on the site
ЦельGoal
Инвестор сравнивает лот из названного проекта с лотом, где продавец проект не назвал, и сразу видит, в одном ли они городе. Каждое сведение в таблице сравнения должно стоять один раз, а «Только различия» — не показывать одинаковое как разное.An investor compares a lot in a named project with a lot whose seller does not name the project and sees at once whether they are in the same city. Each piece of information in the compare table should appear once, and «Differences only» should not show the same thing as different.
ЗадачаProblem
У 84 лотов в продаже, где продавец не назвал проект, шапка столбца уже пишет «Проект не указан продавцом» (итерация 26), а строка «Город» прямо под ней повторяла: «Стамбул (Проект не указан продавцом)». На телефоне эта строка была 112 px (320 px) и 89 px (390 px). Из-за приписки «Только различия» считала один и тот же город разным: у 80 из 84 таких лотов в том же городе есть лот названного проекта, и в паре с ним (замер — по одному такому лоту на каждый) строка «Город» не скрывалась.For 84 lots for sale whose seller does not name the project, the column head already says «Project not named by the seller» (iteration 26), and the «City» row right below repeated it: «Istanbul (Project not named by the seller)». On a phone this row was 112 px (320 px) and 89 px (390 px) tall. Because of the suffix, «Differences only» treated the same city as different: 80 of these 84 lots have a lot of a named project in the same city, and paired with it (measured with one such lot for each) the «City» row was not hidden.
Как решилиHow it was solved
- В строке «Город» — только ссылка на город; «Проект не указан продавцом» остаётся в шапке столбца. Строка стала 66 px и на 320 px, и на 390 px.The «City» row holds only the link to the city; «Project not named by the seller» stays in the column head. The row is now 66 px at both 320 px and 390 px.
- Один город у названного и безымянного лота теперь одинаковое значение: при «Только различия» строка «Город» скрывается во всех 80 измеренных парах. Данные не менялись; в compare.json изменилась только ячейка «Город» этих 84 лотов.One city for a named and an unnamed lot is now the same value: with «Differences only» the «City» row is hidden in all 80 measured pairs. Data did not change; in compare.json only the «City» cell of these 84 lots changed.
До и послеBefore and after

