Files
board-viewer/.tasks/done/2026-05-22-00208-board-viewer-ux-full-datetime.md

31 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# board-viewer-ux-full-datetime
## Goal
Сейчас карточка показывает `YYYY-MM-DD` + tooltip с full ISO + относительное `7h` (per `board-viewer-card-meta-fix`). User: «хочется видеть дату и время, а не только дату в непонятном форматировании».
Заменить short ISO на `YYYY-MM-DD HH:MM` (timezone-suffix явный — `МСК` / `UTC`, чтобы не было ambiguity). Relative «7h» оставить (компактный signal recency) или убрать — зависит от ответа user'а в impl-сессии.
## Design open questions
- TZ: МСК (UTC+3) или UTC? User в МСК, но board может смотреться из других мест. Recommend МСК с явным суффиксом.
- Format: `2026-05-22 14:35 МСК` или ISO `2026-05-22T14:35+03:00`? Recommend первое — читаемее.
- Relative «7h» — сохранить или убрать? Recommend сохранить как тоненькую вторую строку под датой.
## TDD posture
**Mode = TDD**. Failing test для нового format'а в `render.test.ts` (или эквивалент в card-meta-fix tests). Impl в `src/render.ts`.
## Key files
- `src/render.ts` (formatLastCommitIso или эквивалент функция)
- `tests/render.test.ts`
## Acceptance
- Карточка показывает `2026-05-22 14:35 МСК` (или согласованный format) — не только дату
- Tooltip остаётся (full ISO с секундами для копи-паста)
- Тесты pass с новым форматом
<!-- created-by: OpeItcLoc03@DESKTOP-NSEF0UK / from: .workshop / 2026-05-22 / trigger: user-ux-feedback-round1 -->