Skip to content

updating log compoment from a stack of bottons to a drop down menu - #197

Merged
fallars merged 8 commits into
DiamondLightSource:mainfrom
fallars:Main2
Sep 30, 2026
Merged

fallars merged 8 commits into
DiamondLightSource:mainfrom
fallars:Main2

Conversation

@fallars

@fallars fallars commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

This should prevent overflow of the buttons. dynamic issues have been minimised but this has made the component unintuitive, as displays no log selected regardless of whether a log exists. The log component now better covers Failed jobs as well as successful jobs. see the example below.

image image

…his should prevent overflow of the buttons. dynamic issues have been minimised but this has made the component unintuitive, as displays no log selected regardless of whether a log exisits
Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated
Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated

@yousefmoazzam yousefmoazzam left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, works for me locally!

A few questions regarding some tidying up that may or may not be possible.

</FormControl>
</Box>
<Button
key={"something"}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This key prop looks like it may be unnecessary; if so, can it be removed please?

Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated
Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated
Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated
Comment thread frontend/unified/src/components/InspectLogMeta.tsx Outdated

@yousefmoazzam yousefmoazzam left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice, just need to resolve the conflict and this is good to merge.

@yousefmoazzam
yousefmoazzam dismissed NatLeung96’s stale review September 30, 2026 15:26

The most important suggestions have been resolved.

@fallars
fallars merged commit e09e9ee into DiamondLightSource:main Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants