IntelOwl icon indicating copy to clipboard operation
IntelOwl copied to clipboard

Similar investigation button fix

Open mlodic opened this issue 11 months ago • 10 comments

Image

In case there are no available similar investigations, no number would be shown in the GUI. We should show 0.

mlodic avatar Jan 04 '26 08:01 mlodic

tagging @drosetti for reference

mlodic avatar Jan 04 '26 08:01 mlodic

Hi! I'd like to work on this issue. Could you please assign it to me?

Gargee61 avatar Jan 05 '26 13:01 Gargee61

Hello! Could you assign this issue to me? As a solution we need 2 changes . First of all turning export function JobInfoCard({ job, relatedInvestigationNumber }) into export function JobInfoCard({ job, relatedInvestigationNumber = 0 }), and later a small change in PropTypes. JobInfoCard.propTypes = { job: PropTypes.object.isRequired, relatedInvestigationNumber: PropTypes.number, }; This way if upstream gives us 0 or none , a 0 will be shown on the similar investigations button!

xrhstoskap avatar Jan 05 '26 14:01 xrhstoskap

@Gargee61 any update?

mlodic avatar Jan 13 '26 05:01 mlodic

@mlodic Yes it's almost done.

But the lint error still persists. I've done all the necessary environmental setup as well... Can you suggest me some correction? I'd really appreciate you guidance.

Image

Gargee61 avatar Jan 13 '26 06:01 Gargee61

just read the linter issue and try to solve it, that's related to your change

mlodic avatar Jan 13 '26 06:01 mlodic

Hey @mlodic can i take up this issue until my previous PR gets reviewed? This is a minor fix, wont take much time :)

IshaanXCoder avatar Jan 29 '26 13:01 IshaanXCoder

yep thanks!

mlodic avatar Jan 29 '26 14:01 mlodic

Hi 👋,

I would like to work on this issue and submit a fix. Could you please assign it to me? I’ll make sure the changes follow the project guidelines and don’t break existing functionality.

Thank you for your time! 😊

LogicVortex123 avatar Jan 31 '26 13:01 LogicVortex123

the GUI has been changed in a recent commit from @carellamartina, so this is not needed anymore

mlodic avatar Feb 06 '26 16:02 mlodic