Skip to content

Conversation

dominikatrojanowska
Copy link
Contributor

Accordingly to the discussion #1773 limsResultData was removed from the backend signals' messages in 6af4e5d

This PR removes it and related features from the frontend. limsResultData is not stored in global state, and there is no option of View results and View results in ISPYB any more

Screenshot from 2025-07-17 15-00-23 Screenshot from 2025-07-17 15-00-35 .

@dominikatrojanowska dominikatrojanowska changed the title Removing View results in IPSYB Removing View results and View results in IPSYB Jul 17, 2025
@dominikatrojanowska dominikatrojanowska marked this pull request as draft July 17, 2025 13:19
@marcus-oscarsson
Copy link
Member

Great @dominikatrojanowska, thank. Starts to look quite complete

@dominikatrojanowska dominikatrojanowska force-pushed the dt-show-results-url branch 4 times, most recently from 0a2a013 to c265a6e Compare July 18, 2025 11:44
@dominikatrojanowska dominikatrojanowska marked this pull request as ready for review July 18, 2025 11:51
@marcus-oscarsson
Copy link
Member

marcus-oscarsson commented Jul 18, 2025

I think this is rather complete, you are missing this though:

For all Queue items except for Characterization, where we still use the result (but its not the LIMS result)

@dominikatrojanowska
Copy link
Contributor Author

dominikatrojanowska commented Jul 21, 2025

I think this is rather complete, you are missing this though:

For all Queue items except for Characterization, where we still use the result (but its not the LIMS result)

it is related to showing up the LimsResultDialog and LimsResultSummary. Should I remove them as well?
image

@walesch-yan
Copy link
Collaborator

So, I'm not sure, but since we removed the link, isn't the LimsResultDialog respectively LimsResultSummary not showing only the parameters used for the task? I don't know how useful that is. Maybe somebody has a strong opinion on keeping this?

@dominikatrojanowska
Copy link
Contributor Author

So, I'm not sure, but since we removed the link, isn't the LimsResultDialog respectively LimsResultSummary not showing only the parameters used for the task? I don't know how useful that is. Maybe somebody has a strong opinion on keeping this?

I've just checked twice, indeed it doesn't make sense to keep it

Comment on lines 159 to 162
className="p-2"
id="taskSummaryPopover"
title={<b>{this.title()}</b>}
>
<LimsResultSummary taskData={this.props.taskData} scale="0.5" />
</Popover>
/>
Copy link
Collaborator

@walesch-yan walesch-yan Jul 21, 2025

Choose a reason for hiding this comment

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

Oh I see, I was not aware of this. This here might be useful as it is a popover for the tasks in the sampleGrid tab:
Screenshot from 2025-07-21 16-20-11
So, I think we can keep that, as it can serve as a reminder, for the parameters set in the scheduled tasks.
Sorry, I was overlooking this before. I also don't really know if anybody uses this, so I would advocate to keep it but maybe change the name of LimsResultSummary in that case, as it's more of a summary of parameters? But I do not have a strong opinion on this, so if you think it makes sense to remove it, we can do that

Copy link
Contributor Author

@dominikatrojanowska dominikatrojanowska Jul 21, 2025

Choose a reason for hiding this comment

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

ok, I wasn't aware of it too, I can revert this part back then.

Copy link
Collaborator

@walesch-yan walesch-yan Jul 21, 2025

Choose a reason for hiding this comment

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

No, it's in this repo and available in the mockup.

To see it, you have to:

  • Add a task to the queue (i.e. either from SampleView or by right-clicking on the Item in SampleGrid (the item framed in the bordered line above and click add DataCollection))
  • A small Badge (In the picture the one saying 'DC') will be added to the Item, which you can hover over to see the overview.

Normally, for every task you add, there will be a Badge. In the SampleView you have a better overview of them in general, but for the SampleGrid tab, this Popover might be useful:)

Copy link
Collaborator

@walesch-yan walesch-yan left a comment

Choose a reason for hiding this comment

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

Thanks @dominikatrojanowska, this looks pretty complete to me now

@dominikatrojanowska
Copy link
Contributor Author

#1790 (comment)
Renamed to DataCollectionResult... - I think this is last commit until this PR will get more comments :)

Accordingly to the discussion mxcube#1773
limsResultData was removed from the backend signals' messages in
mxcube@6af4e5d
…B and related code

as a continuation of Removing View results and View results in IPSYB
and discussion: mxcube#1773
and removed backend singals: mxcube@6af4e5d
@walesch-yan
Copy link
Collaborator

Thanks @dominikatrojanowska, I will merge this then:)

@walesch-yan walesch-yan merged commit f98c7e7 into mxcube:develop Jul 22, 2025
12 checks passed
@dominikatrojanowska dominikatrojanowska deleted the dt-show-results-url branch September 17, 2025 12:37
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