Радар на почту

Календарь — это структура данных, а не интерфейс

DEV · 15.11.2026 · 23:56

Приложения для отслеживания менструального цикла обычно требуют указать даты начала и окончания. В Mori календарь служит входными данными, что меняет модель данных и процессы исправления.

Читать в источнике

Оригинал

A calendar is a data structure, not a UI

Most period trackers start the same way: "When did your last period start?" Then "When did it end?" You pick two dates from a date picker and the app stores a range. We went the other way. In Mori the calendar is the input. You tap days. That's it. That sounds like a small UX difference. It ends up changing the data model, the correction flows, and a good share of the edge cases in the app. What a marked day means There is one fact per day: recorded or not. No start field, no end f