finding: Core Activity UI duplicated in core/php-admin and core/php-developer #6
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-framework#6
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overlap
src/Core/Activity/(L1 package) owns the activity data model and provides a LivewireActivityFeedcomponent registered ascore.activity-feed.However, two standalone repos ship their own activity log admin UI components:
core/php-admin:src/Website/Hub/View/Modal/Admin/ActivityLog.phpcore/php-developer:src/View/Modal/Admin/ActivityLog.phpBoth are Livewire Volt/class-based components that query and display activity data in the admin panel.
What Differs
Core\ActivityActivityFeed: L1 package component, general-purpose feedcore/php-adminActivityLog: Hub module UI, may include workspace filteringcore/php-developerActivityLog: Developer panel view, likely raw/debug-focusedRisk
Recommendation
Extract to Core Activity. The
src/Core/Activity/package is the right owner for the canonical admin UI component.core/php-adminandcore/php-developershould use/extend the L1 component rather than maintaining their own copies. Consider makingActivityFeedconfigurable via props (scope, filters) to cover all use cases.Closes #3