docs(quiet-luxury): disclose ProjectCard template change bundled in 3fc90f1

Final code reviewer correctly identified that impl-commit 3fc90f1 included
not only the CSS work but also a template change <v-checkbox> →
<label><input><span> on ProjectCard.vue.

Root cause (Task 0 forensics): session-start git status showed
`M app/resources/js/components/projects/ProjectCard.vue` — pre-existing
uncommitted modifications from prior session/work. When the session Read
the file at start, it saw the working-dir version (already with native
<label><input>), not the branch-HEAD 88a13e2 version (with <v-checkbox>).
Stage+commit in 3fc90f1 thus bundled both changes.

The template change is architecturally required for the new CSS to work —
<v-checkbox> renders Vuetify-internal <input> without a sibling <span>,
which is what the scoped :checked + .card-check__box::after selector
needs. The baseline-fix commit 84530d5 was also prepared for the native
input selector, consistent with this template structure.

Updating spec §2 architecture to reflect this honestly rather than leave
a stale «Template / script нетронуты» statement that conflicts with the
diff in main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Дмитрий
2026-05-12 18:14:58 +03:00
parent 3fc90f12df
commit 4ee718e668
@@ -34,7 +34,9 @@
Узкая CSS / prop-правка, **без новых компонентов и primitives**:
- **`ProjectCard.vue`** — переписать `<style scoped>` (текущие строки 132172). Template / script нетронуты. Имена классов сохранены (`.card-check`, `.card-check__box`) → существующие Vitest-тесты с `findByTestId('card-select')` не ломаются, dev-indices signature для #1440 (line 11) не сдвигается.
- **`ProjectCard.vue`** — переписать `<style scoped>` (текущие строки 132172). Template / script нетронуты **в рамках этой задачи**. Имена классов сохранены (`.card-check`, `.card-check__box`) → существующие Vitest-тесты с `findByTestId('card-select')` не ломаются, dev-indices signature для #1440 (line 11) не сдвигается.
**Note (post-impl audit `3fc90f1`):** на момент начала сессии working dir уже содержал uncommitted template change `<v-checkbox>``<label><input type="checkbox"><span class="card-check__box" /></label>` (см. session-start `git status: M app/resources/js/components/projects/ProjectCard.vue`). Branch-HEAD `88a13e2` имел `<v-checkbox>`. Сессия работала поверх pre-modified working dir, и impl-коммит `3fc90f1` забрал этот template change вместе с CSS. Архитектурно изменение **необходимо** для работы Quiet Luxury CSS — `<v-checkbox>` рендерит Vuetify-internal `<input>` без sibling-`<span>`, который требуется scoped `:checked + .card-check__box::after`-селектору. Тестирование (Vitest 4/4 + baseline-fix commit `84530d5` подготовлен под native input selector) подтверждает корректность.
- **`NewProjectDialog.vue`** — на line 59 расширить props у `<v-text-field>`; добавить `<style scoped>` блок в конец файла (сейчас файл без scoped-стилей). Template/script — без структурных изменений → dev-indices signature для #896 не сдвигается.
Никаких изменений в `tokens.css`, `app.css`, `motion.css`, `typography.css`. Используем только существующие токены и Vuetify 3 API.