Add beamtime functionality to backend.
Introduce new endpoint and model for managing beamtimes, including shifts and user-specific access. Updated test scripts and data to reflect beamtime integration, along with minor fixes for job status enumeration and example notebook refinement.
This commit is contained in:
@ -5,7 +5,7 @@ import './SampleImage.css';
|
||||
import './ResultGrid.css';
|
||||
import { OpenAPI, SamplesService } from '../../openapi';
|
||||
import ScheduleIcon from '@mui/icons-material/Schedule';
|
||||
import AutorenewIcon from '@mui/icons-material/Autorenew';
|
||||
import DoDisturbIcon from '@mui/icons-material/DoDisturb';
|
||||
import TaskAltIcon from '@mui/icons-material/TaskAlt';
|
||||
import ErrorOutlineIcon from '@mui/icons-material/ErrorOutline';
|
||||
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
|
||||
@ -152,6 +152,8 @@ const ResultGrid: React.FC<ResultGridProps> = ({ activePgroup }) => {
|
||||
);
|
||||
case 'failed':
|
||||
return <ErrorOutlineIcon color="error" titleAccess="Failed" />;
|
||||
case 'cancelled':
|
||||
return <DoDisturbIcon color="disabled" titleAccess="Cancelled" />;
|
||||
case 'no job':
|
||||
default:
|
||||
return <InfoOutlinedIcon color="disabled" titleAccess="No job" />;
|
||||
|
Reference in New Issue
Block a user