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:
@@ -12,7 +12,9 @@ use Livewire\Component;
|
||||
class ProjectTemplatesPicker extends Component
|
||||
{
|
||||
public Project $project;
|
||||
|
||||
public array $assignedIds = [];
|
||||
|
||||
public string $search = '';
|
||||
|
||||
public function mount(Project $project)
|
||||
@@ -41,7 +43,7 @@ class ProjectTemplatesPicker extends Component
|
||||
public function render()
|
||||
{
|
||||
$templates = InspectionTemplate::query()
|
||||
->when($this->search !== '', fn ($q) => $q->where('name', 'like', '%' . $this->search . '%'))
|
||||
->when($this->search !== '', fn ($q) => $q->where('name', 'like', '%'.$this->search.'%'))
|
||||
->orderBy('name')->get();
|
||||
|
||||
return view('livewire.projects.project-templates-picker', [
|
||||
|
||||
Reference in New Issue
Block a user