ThreatMapper icon indicating copy to clipboard operation
ThreatMapper copied to clipboard

container in Table view does not expand

Open jo19in1 opened this issue 2 years ago • 5 comments

  1. Go to table view
  2. Expand Digital Ocean-->deepfence-management-console-->deepfence-secrect-scanner
  3. It keeps expanding forever image

4.I think ideally it should have been a non-expandable line item, that only brings up a side panel when clicked, example this mongod container

image

jo19in1 avatar Mar 03 '22 06:03 jo19in1

@jo19in1 a fix is in the progress for this.

manV avatar Mar 25 '22 03:03 manV

@manV please close this with PR reference if fixed.

ibreakthecloud avatar Jun 24 '22 08:06 ibreakthecloud

@manV pls. update this

ibreakthecloud avatar Sep 29 '22 10:09 ibreakthecloud

I have a case when this will occur, when we have expanded up to host or container level and we collapse a parent node 2 levels above. Currently we only tell server to collapse the parent node which is 2 levels above but server doesn't know that some of the children 2 levels deep were also expanded. It would still think they are expanded.

Now if we try to expand children 2 levels deep again, server thinks they are already expanded and returns nothing, so UI hangs in the loading state forever.

We can recursively tell server to collapse expanded children up-to the parent so this issue does not occur. PR is at https://github.com/deepfence/ThreatMapper/pull/636

manV avatar Oct 21 '22 05:10 manV

this is also related https://github.com/deepfence/ThreatMapper/pull/640

manV avatar Oct 27 '22 12:10 manV