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:
Javier Braña
2026-08-28 13:04:28 +02:00
parent 2dccd59385
commit 90630379fb
139 changed files with 2888 additions and 2510 deletions
+2 -2
View File
@@ -1,4 +1,5 @@
<?php
$paises = [
'AF' => 'Afganistán',
'AX' => 'Islas Åland',
@@ -249,6 +250,5 @@ $paises = [
'BQ' => 'Bonaire, San Eustaquio y Saba',
'CW' => 'Curazao',
'MF' => 'San Martín (parte francesa)',
'SX' => 'San Martín (parte neerlandesa)'
'SX' => 'San Martín (parte neerlandesa)',
];
?>
+5 -1
View File
@@ -44,7 +44,11 @@
<!-- Page Content -->
<main>
{{ $slot }}
@isset($slot)
{{ $slot }}
@else
@yield('content')
@endisset
</main>
</div>
@@ -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) => {
@@ -1,6 +1,3 @@
@extends('layouts.app')
@section('content')
<div class="container mx-auto px-4 py-8">
{{-- Header --}}
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4 mb-8">
@@ -175,5 +172,4 @@
</div>
@endif
</div>
</div>
@endsection
</div>