chore: cleanup dead code + format with Pint
- Remove unused FeaturesController (empty stubs, no routes) - Remove ConvertSpatialFile CLI command (unused; service used in LayerManager) - Remove MigrateGeojsonToFeatures CLI command (one-shot migration, not referenced) - Remove .claude/worktrees/ (11 old agent worktrees from June) - Apply Laravel Pint formatting across 219 files (style only, no functional changes) Tests: 101 passing (319 assertions) API routes: unchanged (8 routes intact)
This commit is contained in:
@@ -741,8 +741,13 @@
|
||||
|
||||
// Define selectFeature here so Livewire is guaranteed to be available
|
||||
window.selectFeature = function(featureId) {
|
||||
console.log('selectFeature called with:', featureId);
|
||||
Livewire.emit('map-select-feature', { featureId: featureId });
|
||||
console.log('[ProjectMap] selectFeature called with:', featureId, typeof featureId);
|
||||
if (typeof Livewire !== 'undefined' && Livewire.emit) {
|
||||
Livewire.emit('map-select-feature', { featureId: featureId });
|
||||
console.log('[ProjectMap] Livewire.emit executed');
|
||||
} else {
|
||||
console.error('[ProjectMap] Livewire not available or emit not a function');
|
||||
}
|
||||
};
|
||||
|
||||
Livewire.on('layersUpdated', (activeIds) => {
|
||||
|
||||
Reference in New Issue
Block a user