docs: placeListbox test header and CLAUDE.md module count (#429, #384)
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m2s
PR Check — Rust / rust (pull_request) Successful in 3m52s

Review 25921, points 4 and 6: the header of placeListbox.test.ts still
listed the re-read after a render among what needs a DOM, though
CategoryCombobox.placement.test.ts pins it; only the paint and React's
skipped render remain. CLAUDE.md announced 10 command modules and listed
twelve: 12 modules, 10 of them with commands, 45 commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-10-20 19:43:18 -04:00
parent b626bcbabe
commit a17c1b7604
2 changed files with 6 additions and 6 deletions

View file

@ -65,7 +65,7 @@ src/
src-tauri/ src-tauri/
├── src/ ├── src/
│ ├── commands/ # 10 modules, 45 commandes Tauri (enregistrées dans generate_handler!) │ ├── commands/ # 12 modules, dont 10 avec des commandes : 45 commandes Tauri (enregistrées dans generate_handler!)
│ │ ├── fs_commands.rs # Système de fichiers (7 commandes) │ │ ├── fs_commands.rs # Système de fichiers (7 commandes)
│ │ ├── export_import_commands.rs # Export/import chiffré (5 commandes) │ │ ├── export_import_commands.rs # Export/import chiffré (5 commandes)
│ │ ├── profile_commands.rs # Gestion des profils (8 commandes) │ │ ├── profile_commands.rs # Gestion des profils (8 commandes)

View file

@ -1,11 +1,11 @@
// placeListbox — where the open list of a category combobox goes (#429). // placeListbox — where the open list of a category combobox goes (#429).
// The portal itself needs a DOM (manual check); its placement rule, the // The portal itself needs a DOM (manual check); its placement rule, the
// listeners that keep it on its input and the state update that keeps an // listeners that keep it on its input and the state update that keeps an
// unchanged position do not, and are pinned here. What needs a DOM: that the // unchanged position do not, and are pinned here. The combobox reading its
// combobox reads the position again after a render that moved its input // position again after a render that moved its input is pinned under the
// (`useLayoutEffect` without dependencies, `getBoundingClientRect`), and that // harness by CategoryCombobox.placement.test.ts. What still needs a DOM: the
// this ends, React skipping the render when `keepPlacement` hands back the // paint, and React skipping the render when `keepPlacement` hands back the
// same object; the harness refuses `useLayoutEffect` and `useId`. // same object, which is what ends that reading.
import { describe, it, expect, vi } from "vitest"; import { describe, it, expect, vi } from "vitest";
import { import {
LISTBOX_GAP, LISTBOX_GAP,