Complete configuration Web UI with tabbed SPA (fw 0.8.2).

Add now-playing view with metadata polling, six-band EQ controls, full REST coverage, companion-chip badges, and gzip-www helper for the embedded setup page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-07 07:36:06 +02:00
co-authored by Cursor
parent 1c38ac6f08
commit 8d826b4d73
9 changed files with 765 additions and 510 deletions
+7 -4
View File
@@ -369,10 +369,13 @@ delegate to \texttt{AudioService}:
\item \texttt{POST /api/audio/bass-enhance} --- same schema.
\end{itemize}
The gzipped setup page (\texttt{components/net/www/index.html}) exposes master
volume, Si4684/ESP32 path levels, and enhancement sliders; saving sends
\texttt{PUT /api/audio/profile}, while slider release on enhancements sends
the dedicated POST routes for immediate safeload + persist.
The gzipped setup page (\texttt{components/net/www/index.html}) is a tabbed
SPA: a \emph{Now playing} view (RDS/DLS metadata), tuner and preset panels,
master/path levels, six PEQ band gain sliders, enhancement overlays, Bluetooth
controls, and Wi-Fi provisioning. Saving sends \texttt{PUT /api/audio/profile};
enhancement sliders call the dedicated POST routes for immediate safeload +
persist. Regenerate \texttt{index.html.gz} with \texttt{tools/gzip-www.sh}
after editing the HTML source.
\section{Typical usage patterns}
\label{sec:adau1701-patterns}
+1 -1
View File
@@ -36,7 +36,7 @@ Returns a health-check DTO serialised by
\begin{drnote}[Response schema]
\begin{drcode}[JSON]
{"status":"ok","fw":"0.8.1",
{"status":"ok","fw":"0.8.2",
"chips":{"si4684":true,"adau1701":true,"bt1035":true}}
\end{drcode}
\begin{itemize}