You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user managing samples in a project, I want a samples-only view where samples can be registered, edited, and deleted directly (without the explicit batch concept), so that I manage samples in the same bulk, Excel-based way I manage measurements.
Acceptance Criteria
Given a user navigates to the samples section of a project/experiment, When the view loads, Then no batch grid is displayed (the BatchDetailsComponent is removed).
Given a user registers samples, When they start registration, Then they upload sample metadata via an Excel spreadsheet directly (no separate batch dialog; RegisterSampleBatchDialog and EditSampleBatchDialog are removed).
Given a sample grid is displayed, When the grid renders, Then the batch value is shown as a mandatory column on the sample and remains sortable/filterable.
Given a sample grid is displayed, When the grid renders, Then the registration and modification date are shown for each sample.
Given a user edits samples, When they select samples in the grid and trigger edit, Then they download a pre-filled Excel template containing the selected samples current values, modify editable fields, and re-upload to apply changes (mirrors the measurement edit workflow).
Given a user deletes samples, When they select the corresponding samples in the grid, Then the selected samples are deleted in one action.
Given the batch concept is removed from the UI, When the view is shown, Then no batch-specific actions (create/edit/delete batch) are available.
Notes & Context
Part of FEAT-SAMPLE-BATCH-REMOVAL (Remove explicit sample batch from Data Manager)
Stable Story ID: FEAT-SAMBAT-04
Removes: BatchDetailsComponent, RegisterSampleBatchDialog, EditSampleBatchDialog, and batch event listeners in SampleInformationMain (datamanager-app/.../views/projects/project/samples/).
Registration and editing both use Excel spreadsheets, the same as the batch flow did; editing is pre-filled for the selected samples and deletion is a multi-select action, mirroring the measurement workflow (MEASUREMENT-R-01 / MEASUREMENT-R-02).
The batch value remains visible as a column on samples (see SampleDetailsComponent "Batch" column using SamplePreview::batchLabel).
Parent Feature
#1548
Requirement IDs
SAMPLE-R-04User Story
Acceptance Criteria
BatchDetailsComponentis removed).RegisterSampleBatchDialogandEditSampleBatchDialogare removed).batchvalue is shown as a mandatory column on the sample and remains sortable/filterable.Notes & Context
FEAT-SAMBAT-04BatchDetailsComponent,RegisterSampleBatchDialog,EditSampleBatchDialog, and batch event listeners inSampleInformationMain(datamanager-app/.../views/projects/project/samples/).SampleDetailsComponent"Batch" column usingSamplePreview::batchLabel).SAMPLE-R-04(added in PR [Docs] Add sample batch removal requirements #1553).