✅ Tests Playwright (20 parcours utilisateur) + suite backend renforcee (56) + DOCUMENTATION.md + nettoyage (settings_store, react-router)
This commit is contained in:
1 parent
231a1f2599
commit
adab24ca61
20 files changed
+1315
-88
No files matched your search
+7
-2
@@ -345,8 +345,13 @@ export default function App() {
|
||||
`/api/movies/${selected.id}/log`,
|
||||
).catch(() => null);
|
||||
if (cancelled) return;
|
||||
if (detail) setSelected(detail);
|
||||
if (log) {
|
||||
// Ne re-rend la fiche que si son contenu change reellement: le
|
||||
// rafraichissement continu ne doit pas re-creer les boutons en pleine
|
||||
// interaction (clic, focus).
|
||||
if (detail && JSON.stringify(detail) !== JSON.stringify(selected)) {
|
||||
setSelected(detail);
|
||||
}
|
||||
if (log && (log.running !== logRunning || log.lines.length !== logLines.length)) {
|
||||
setLogLines(log.lines);
|
||||
setLogRunning(log.running);
|
||||
}
|
||||
|
||||
+1
-4
@@ -1,13 +1,10 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import App from "./App";
|
||||
import "./style.css";
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
</BrowserRouter>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
);
|
||||
Reference in new issue
Block a user