Skip to content

Commit 6c92a59

Browse files
committed
Update CLAUDE.md: #118 locationCount now includes PageData property usages
1 parent 65de12f commit 6c92a59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ A console command to scaffold a new component class would ease the process and a
616616

617617
An admin viewing a component group or draft resource currently has no way to know how many draft items exist across locations. A count per-location would allow the admin UI to surface "3 unpublished items in this group" without fetching all items.
618618

619-
**Partially implemented (commit `b438d60d`):** `_metadata.publishable.locationCount` is now returned in component responses, showing how many `ComponentPosition` entries reference that component. Behat test in `features/publishable/publishable.feature`.
619+
**Partially implemented (commits `b438d60d`, `65de12f1`):** `_metadata.publishable.locationCount` is now returned in component responses. The count includes both direct `ComponentPosition.component` references and `AbstractPageData` subclass instances that reference the component as a typed association property (the source of `pageDataProperty` dynamic positions). Behat tests in `features/publishable/publishable.feature`.
620620

621621
**Remaining:** aggregated counts per location (e.g. "N draft items in this group") and collection-level counts are not yet implemented.
622622

0 commit comments

Comments
 (0)