25 Commits

Author SHA1 Message Date
GotthardG
3757950b51 Refactor Dewar service methods and improve field handling
Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
2025-01-30 15:25:04 +01:00
GotthardG
c2215860bf Refactor Dewar service methods and improve field handling
Updated Dewar API methods to use protected endpoints for enhanced security and consistency. Added `pgroups` handling in various frontend components and modified the LogisticsView contact field for clarity. Simplified backend router imports for better readability.
2025-01-30 13:39:49 +01:00
GotthardG
6825421f20 Update package-lock.json with latest dependency versions
Upgraded multiple dependencies across Babel, Emotion, ESLint, and DevExpress packages in `package-lock.json` to their latest versions. These updates ensure compatibility, fix minor issues, and improve overall performance and security.
2025-01-17 15:35:29 +01:00
GotthardG
9739b8cfe9 Make shipment fields optional and refactor test scripts.
Updated the `number_of_pucks` and `number_of_samples` fields in the `schemas.py` to be optional for greater flexibility. Simplified the test Jupyter Notebook by restructuring imports and consolidating function calls for better readability and maintainability.
2025-01-17 09:36:16 +01:00
GotthardG
481068603b Enhance deletion processes with event-check validations.
Added validation to prevent deletion of shipments, dewars, pucks, or samples if they have associated events. Updated frontend components to handle and display error messages based on API responses for improved user feedback.
2025-01-15 15:30:54 +01:00
GotthardG
0f6759e417 Add default values to optional fields in SampleUpdate 2025-01-09 22:51:26 +01:00
GotthardG
9bfcc30981 Refactor dewar and sample handling; improve grid data binding
Updated Dewar and Sample schemas, added nested relationships, and adjusted API responses for better data handling. Simplified puck normalization, enhanced data grid logic in the frontend, and implemented a PUT endpoint for updating samples. Incremented backend version to 0.1.0a15 and added new HTTP request example.
2025-01-09 13:01:52 +01:00
GotthardG
6d67d02259 Expand sample data handling and grid display.
Integrated additional sample parameters into backend and frontend for enhanced data collection. Updated pyproject version to reflect these changes. This improves user interface flexibility and enriches displayed sample metadata.
2025-01-08 09:52:15 +01:00
GotthardG
9b4f8599f3 Add support for data collection parameters across layers
Introduced serialization for `data_collection_parameters` in backend models and processing. Added logic to parse and attach data collection parameters in the frontend. This ensures consistent handling and storage of these parameters throughout the application.
2025-01-08 09:19:23 +01:00
GotthardG
54975b5919 Add spreadsheet enhancements and default handling
Implemented a toggleable spreadsheet UI component for sample data, added fields such as priority and comments, and improved backend validation. Default values for "directory" are now assigned when missing, with feedback highlighted in green on the front end.
2025-01-06 14:40:02 +01:00
GotthardG
0178de96fd fixing bugs with ci pipeline 2024-12-16 22:50:04 +01:00
GotthardG
a0be71bdfe Fix formatting with black 2024-12-16 10:41:56 +01:00
GotthardG
328a95d76e fixed bug with generate qrcode 2024-12-11 14:28:31 +01:00
GotthardG
66a0ce3281 fixed bug with unique id creation during spreadsheet upload 2024-12-11 12:32:33 +01:00
GotthardG
2a27b61a1f https and ssl integration on the backend, frontend and started integration of logistics app as a separate frontend 2024-11-19 10:29:10 +01:00
GotthardG
a931bfb8ec https and ssl integration on the backend, frontend and started integration of logistics app as a separate frontend 2024-11-19 09:56:05 +01:00
GotthardG
0eb0bc3486 added a router for logistics, now creating label 2024-11-15 14:04:30 +01:00
GotthardG
6083c72a1d added dewar type, serial number, generate unique id, qr code and generate label 2024-11-14 23:17:20 +01:00
GotthardG
8f7c90bab0 now creating dewars, pucks and samples from spreadsheet and replacing dewars if a dewar with the same name exists 2024-11-12 17:03:38 +01:00
GotthardG
86883133a7 now creating dewars from spreadsheet 2024-11-12 14:00:32 +01:00
GotthardG
701c42c0dd updated models and schemas for shipments and dewars 2024-11-11 11:43:49 +01:00
GotthardG
9fa499a582 added pucks and samples 2024-11-04 16:20:53 +01:00
GotthardG
23e7ebb819 added pucks and samples 2024-11-04 11:34:14 +01:00
GotthardG
a01114a178 Better integration of sqlite3 database 2024-11-02 00:54:37 +01:00
GotthardG
48cd233231 Added the sqlite3 database 2024-11-01 14:13:38 +01:00