{{-- /admin/settings/features — Feature Toggles. Lists every user-facing feature/card (from App\Support\FeatureRegistry) with an on/off switch. OFF hides that feature from the sidebar rail, the classic top bar and the /more grid. Each switch maps 1:1 to a `feature_show_` row. The form submits the keys left ON (name="show[]"); the controller turns every other registry key OFF. Default is ON, so nothing changes until an admin flips a switch. --}}
@csrf
{{ __('Admin · Project settings') }}

{{ __('Feature') }} {{ __('toggles') }}.

{{ __('Turn any feature off to hide it from the user dashboard — the sidebar, the top bar and the More page. Everything is on by default; switching one off removes it everywhere for all workspaces.') }}

{{ __('All settings') }}
@if (session('success'))
{{ session('success') }}
@endif
{{-- Tab bar: one tab per group. --}}
@foreach ($groups as $groupLabel => $items) @endforeach
{{-- One panel per group. All panels stay in the form so a Save submits every toggle, even the ones not on the visible tab. --}} @foreach ($groups as $groupLabel => $items) @endforeach