= 48d2c1a47e feature: ConnectionProvider integration
- Added `ConnectionProviderData`, `NavItemData`, and `NavSubItemData` DTOs for structured data handling.
- Implemented CRUD operations for `ConnectionProviderService`, including transaction-safe create, update, and delete methods.
- Introduced Livewire components for ConnectionProvider list, edit, and create pages with dynamic and reusable UI elements.
- Refactored routes to consolidate paths under the `apps` prefix and updated navigation to dynamically include new sections for providers.
- Enhanced sidebar with structured submenu for ConnectionProviders and Settings using dynamic collections.
- Updated existing Create and Edit templates to use consistent route naming and validation handling.
- Replaced hardcoded navigation items with dynamically generated structures leveraging the `NavItemData` collection.
2026-05-15 09:18:40 +00:00

34 lines
1.1 KiB
PHP

<?php
use Livewire\Component;
new class extends Component {
public string $selectedTab = 'all-tab';
};
?>
<div>
<x-shared.card title="Connected Apps" icon="lucide-grid-2x2-plus" class="p-0">
<x-slot:actions>
<x-shared.button :link="route('apps.create')">
<div class="flex items-center gap-x-2">
<x-lucide-plus class="w-5 h-5"/>
{{ __('Connect App') }}
</div>
</x-shared.button>
</x-slot:actions>
<x-mary-tabs wire:model="selectedTab" class="px-4" label-div-class="pt-3 bg-gray-50 border-b border-gray-200"
label-class=" font-bold pb-3">
<x-mary-tab name="all-tab" label="All" class="">
<livewire:dashboard.connected-apps.all/>
</x-mary-tab>
<x-mary-tab name="oidc-tab" label="OIDC">
<div>Tricks</div>
</x-mary-tab>
<x-mary-tab name="saml-tab" label="SAML">
<div>Musics</div>
</x-mary-tab>
</x-mary-tabs>
</x-shared.card>
</div>