Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remarks field on Report with TinyMCE #2497

Closed
ngslabex opened this issue Feb 20, 2024 · 3 comments
Closed

Remarks field on Report with TinyMCE #2497

ngslabex opened this issue Feb 20, 2024 · 3 comments

Comments

@ngslabex
Copy link

Description

The results of cytogenetic test analyzes are based on interpretation and often chromosome images need to be added.

Observed behaviour

Cytogenetic analysis results are independent of any threshold and warning values and are based on interpretation.

Expected behaviour

I think this situation can be met by giving the Remark field a rich text feature.

Versions

  • OS: Linux

  • senaite.core: master

  • senaite.impress: master

  • senaite.core.listing: master

  • senaite.core.supermodel: master

Screenshot

image

Sample FISH Report:
image

@grulisco
Copy link
Contributor

Hi @ngslabex
generally I would like to extend analysis remarks to rich htext or html content for myself, but...

As I understand plone/senaite (I'm not a delevoper), it's not recommended to put images into text fields in a large number because of database performance issues.

And even now, you can upload images to a sample, that should be finally displayed in the report between the results and interpretation block.

Code see:
https://github.com/senaite/senaite.impress/tree/2.x/src/senaite/impress/analysisrequest/templates

In our lab we have the same issue with sem microscopy and enrich our reports with images this way.

I can still imagine an more advanced way of displaying images depending on the upload mode (to sample or to specific analysis), but this would need more customization of the report code.

@ngslabex
Copy link
Author

Hi @grulisco ,

Thank you very much for your insightful response and the helpful information.

I have resolved the issue by attaching images to the sample, and it works perfectly in the reports. I apologize for the delayed response as I took some time to test it thoroughly.

Please find attached a screenshot of the result for your reference.

Again, thank you for your support and assistance.

Best regards,
image

image

@ngslabex
Copy link
Author

I have solve with attach as image file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants