10 Commits

Author SHA1 Message Date
GotthardG
548a86678b Update SampleTracker to support dynamic activePgroup
Enhanced the `SampleTracker` component to accept and utilize an `activePgroup` prop, allowing dynamic filtering of data based on the current project group. Adjusted related polling and data fetching logic to respond to changes in `activePgroup`. Removed excessive code from the test notebook for cleanup.
2025-02-27 11:20:04 +01:00
GotthardG
b04c7b8c95 Add Image models and clean up test code structure
Introduced `ImageCreate` and `Image` models to handle image-related data in the backend. Improved the organization and readability of the testing notebook by consolidating and formatting code into distinct sections with markdown cells.
2025-02-26 15:11:20 +01:00
GotthardG
3b315f2997 Add mount_count and unmount_count tracking for samples
Introduced `mount_count` and `unmount_count` fields to track mounting events for samples. Updated models, schemas, and front-end components to support dynamic calculation and display of these counts. Enhanced backend queries and API responses to include the new data.
2025-01-20 11:02:56 +01:00
GotthardG
f855930340 Implement polling for tracking sample updates in real-time
Added a 1-second polling interval to fetch the latest sample data, ensuring the UI remains updated with real-time progress. Cleaned up code formatting for readability and consistency. Improved `getSampleStatus` logic to better distinguish sample states.
2025-01-10 16:19:57 +01:00
GotthardG
4a2d9bd1fc Implement polling for tracking sample updates in real-time
Added a 1-second polling interval to fetch the latest sample data, ensuring the UI remains updated with real-time progress. Cleaned up code formatting for readability and consistency. Improved `getSampleStatus` logic to better distinguish sample states.
2025-01-10 15:07:51 +01:00
GotthardG
19ef20e6b0 Fix type and handle missing dewar_id in sample router.
Updated puck_id type from str to int for better type consistency. Added a fallback value of -1 for pucks with missing dewar_id to prevent potential errors when querying pucks.
2025-01-10 13:39:10 +01:00
GotthardG
46199395ba more infos on the sample tracker 2024-12-05 19:26:49 +01:00
GotthardG
1be9f4127e more infos on the sample tracker 2024-12-04 17:54:26 +01:00
GotthardG
46f6122dca more infos on the sample tracker 2024-12-04 15:06:43 +01:00
GotthardG
7b00db3c0d added sample tracker on the frontend 2024-12-04 14:45:47 +01:00