Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ed3b7d0
move JobsTable components to new folder
NatLeung96 Sep 25, 2026
5224131
update Visit imports
NatLeung96 Sep 25, 2026
8bb8fcb
add LogStreamer
NatLeung96 Sep 25, 2026
f0013b8
add task types
NatLeung96 Sep 25, 2026
d965518
move Plot components to JobsViewer folder
NatLeung96 Sep 25, 2026
d337f50
move InspectLogMeta to JobsViewer folder
NatLeung96 Sep 25, 2026
4a722b3
add JobDataViewer
NatLeung96 Sep 25, 2026
53b1607
update App
NatLeung96 Sep 25, 2026
cbeb3fd
add LogStreamContent
NatLeung96 Sep 25, 2026
339e420
add task select to LogStreamer
NatLeung96 Sep 25, 2026
0c27611
change LogStreamer to use fragment
NatLeung96 Sep 28, 2026
55ad12b
update workflows apollo client cache
NatLeung96 Sep 30, 2026
5af1e07
update LogStreamer utils
NatLeung96 Sep 30, 2026
20e2727
add task status icons
NatLeung96 Sep 30, 2026
74cb030
add JobDataViewer to JobsViewer
NatLeung96 Sep 30, 2026
3efb861
add LogLine
NatLeung96 Sep 30, 2026
613102f
update LogStreamContent to use subscription
NatLeung96 Sep 30, 2026
6029ef8
add key to LogStreamContent component
NatLeung96 Sep 30, 2026
d478e7d
move table utils to JobsTable folder
NatLeung96 Sep 30, 2026
7635db0
remove print statement
NatLeung96 Sep 30, 2026
6e3267e
update JobDataViewer
NatLeung96 Sep 30, 2026
a68dcd0
convert InspectLogMeta query to fragment
NatLeung96 Sep 30, 2026
f1b583f
update App
NatLeung96 Sep 30, 2026
1a3068f
add Accordions
NatLeung96 Sep 30, 2026
4531c99
remove fields from apollo client cache
NatLeung96 Oct 1, 2026
5eaf2e1
update InspectLogMeta
NatLeung96 Oct 1, 2026
00898d0
add taskCompleted state to LogStreamContent
NatLeung96 Oct 1, 2026
487cf1e
update ArtifactSelector to use fragment
NatLeung96 Oct 1, 2026
9800631
add key to line fragment
NatLeung96 Oct 1, 2026
d408f5f
fix error handling LogStreamContent
NatLeung96 Oct 1, 2026
9d05c41
update LogStreamContent to use useSubscription hook
NatLeung96 Oct 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 1 addition & 48 deletions frontend/unified/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ import JobsViewer from "./components/JobsViewer/JobsViewer";

import { templateOptions } from "./data/templates";
import { WorkflowForm } from "./components/WorkflowForm";
import { DisplayLogMeta } from "./components/InspectLogMeta";
import { Beamline, Technique } from "./types";
import { ParameterConfiguration } from "./components/ParameterConfiguration/ParameterConfiguration";
import { Plot } from "./components/Plot/Plot";
import { apolloClientWorkflows } from "../../src/ApolloClient";
import { useAuth } from "@diamondlightsource/sci-react-ui";
import {
Expand Down Expand Up @@ -123,7 +121,6 @@ export const App: React.FC = () => {
null
);
const [selectedScanIds, setSelectedScanIds] = useState<number[]>([]);
const [selectedWorkflow, setSelectedWorkflow] = useState<string | null>(null);
const { loading, error, data } = useQuery(SESSION_QUERY, {
variables: { username: useFedid() },
});
Expand Down Expand Up @@ -358,51 +355,7 @@ export const App: React.FC = () => {
</AccordionDetails>
</Accordion>
</Stack>

<Stack spacing={VERTICAL_SPACING} width="500px">
<Accordion defaultExpanded>
<AccordionSummary id="jobs" expandIcon={<ChevronDown />}>
<Typography variant="h5">Jobs</Typography>
</AccordionSummary>
<AccordionDetails>
<JobsViewer
visit={selectedVisit}
selectedWorkflow={selectedWorkflow}
setSelectedWorkflow={setSelectedWorkflow}
/>
</AccordionDetails>
</Accordion>

<Accordion defaultExpanded>
<AccordionSummary id="log" expandIcon={<ChevronDown />}>
<Typography variant="h5">Log</Typography>
</AccordionSummary>
<AccordionDetails>
{selectedWorkflow !== null ? (
<DisplayLogMeta
visit={selectedVisit}
workflowName={selectedWorkflow}
key={selectedWorkflow}
/>
) : (
<p>No workflow selected</p>
)}
</AccordionDetails>
</Accordion>

<Accordion defaultExpanded>
<AccordionSummary id="plot" expandIcon={<ChevronDown />}>
<Typography variant="h5">Plot</Typography>
</AccordionSummary>
<AccordionDetails>
<Plot
workflowName={selectedWorkflow}
visit={selectedVisit}
key={sessionName}
/>
</AccordionDetails>
</Accordion>
</Stack>
<JobsViewer visit={selectedVisit} />
</Grid>
</ApolloProvider>
</>
Expand Down
182 changes: 0 additions & 182 deletions frontend/unified/src/components/InspectLogMeta.tsx

This file was deleted.

Loading
Loading