feat: matrice de routing audio style Dante Controller (Phase 2.5)

- API GET/POST /admin/audio/routing
- Composant AudioRoutingMatrix avec 2 matrices :
  * Inputs vers Groupes (8 inputs x N groupes)
  * Groupes vers Outputs (N groupes x 8 outputs)
- Interface visuelle type grille cliquable
- Intégration noms de canaux personnalisés
- Stockage routing dans config.yaml
- Responsive design avec CSS Grid
- Style cohérent avec interface admin
This commit is contained in:
2026-05-25 09:56:31 +02:00
parent 0aebf3e3e0
commit e053924b63
4 changed files with 420 additions and 0 deletions
+3
View File
@@ -1,5 +1,6 @@
import { useState, useEffect } from 'react';
import './Admin.css';
import AudioRoutingMatrix from './components/AudioRoutingMatrix';
const API_URL = import.meta.env.VITE_API_URL || '/api';
@@ -642,6 +643,8 @@ function Admin() {
</div>
</div>
<AudioRoutingMatrix groups={groups} channelNames={channelNames} />
{currentDevice && Object.keys(currentDevice).length > 0 && (
<div className="current-config">
<h3>Configuration actuelle</h3>