Ordering + limit-only Test für created_at DESC in DependencyExtractionFeatureTest.php UI Test für masked Identifier (ID: 123456…) + Guest-Access blocked in InventoryItemDependenciesTest.php Quickstart ergänzt um manuellen <2s Check in quickstart.md pr-gate Checkbox-Format normalisiert (kein leading space) in pr-gate.md Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local> Reviewed-on: #49
1.2 KiB
1.2 KiB
Quickstart — Inventory Dependencies Graph (042)
Prerequisites
- Run the app via Sail.
- Ensure you have at least one tenant and inventory items.
Viewing Dependencies
- Navigate to Inventory → select an Inventory Item.
- In the Dependencies section use the querystring-backed filters:
direction:all(default) |inbound|outboundrelationship_type:all(default) |assigned_to|scoped_by|targets|depends_on
Example URLs:
...?direction=outbound&relationship_type=scoped_by
Running the Targeted Tests
- UI smoke tests:
./vendor/bin/sail artisan test tests/Feature/InventoryItemDependenciesTest.php
MVP Notes
- Limit-only, no pagination.
- Shows <=50 edges per direction (<=100 total when showing both directions).
- Unknown/unsupported reference shapes are warning-only and should be visible via
InventorySyncRun.error_context.warnings[].
Manual Performance Check (<2s)
- Open an Inventory Item with ~50 inbound and/or ~50 outbound edges.
- Use browser devtools Network tab to confirm the page request completes quickly.
- Toggle
directionandrelationship_typefilters and confirm responses remain fast.