feat: replace calendar day modal with dedicated day-view page
Calendar day clicks now navigate to /experiments/:id/day/:date (with ?field= param). ExperimentDayView shows a sticky-column table of all subjects with data that day, inline edit via modal, and a session-metrics bar chart from analysis_summary. Subject name links to /daily-statuses/:id. Backend adds ?date= filtering to GET /experiments/:id/daily-statuses. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -372,15 +372,6 @@ export default function ExperimentDetail() {
|
||||
experimentId={id}
|
||||
template={dailyTemplate}
|
||||
allStatuses={experimentStatuses}
|
||||
animals={animals}
|
||||
onStatusChange={(updated) => {
|
||||
setExperimentStatuses((prev) =>
|
||||
prev.map((s) => (s.id === updated.id ? updated : s))
|
||||
);
|
||||
}}
|
||||
onStatusCreate={(created) => {
|
||||
setExperimentStatuses((prev) => [...prev, created]);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user