Groupe les entrées par jour
/entries et « Dernières entrées » affichent un en-tête par jour avec son total ; la colonne Jour disparaît des lignes. La liste de /entries se recharge après une modification inline (date déplacée, totaux). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6307be4f79
commit
467293a6bc
10 files changed
+63
-24
No files matched your search
+6
-1
@@ -649,7 +649,12 @@ async fn duplicate_entry() {
|
||||
)
|
||||
.await;
|
||||
assert_eq!(status, StatusCode::OK);
|
||||
assert!(html.contains("id=\"entry-2\"") && html.contains("mer. 11/03/2026"));
|
||||
assert!(html.contains("id=\"entry-2\"") && html.contains("09:00 – 10:15"));
|
||||
|
||||
// /entries groups rows under one header per day, with the day total.
|
||||
let (_, html) = get_html(&app, "/entries?from=2026-03-09&to=2026-03-15").await;
|
||||
assert_eq!(html.matches("class=\"day-head\"").count(), 2);
|
||||
assert!(html.contains("mer. 11/03/2026") && html.contains("mar. 10/03/2026"));
|
||||
|
||||
let (_, list) = send(
|
||||
&app,
|
||||
|
||||
Reference in new issue
Block a user