codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Error on Focus missing buildings

Open ce-bo opened this issue 3 years ago • 1 comments

Bug

Expected Behavior

GIVEN loaded codecharta.cc.json with missing building for sortByMetricName.ts due to too less map space

WHEN open the file explorer / tree map then open context menu for sortByMetricName.ts and click "focus"

THEN to be discussed (no buliding, no focus effect?)

Actual Behavior

a console error occurs

Screenshots

image image

Specifications

  • is released in online-demo: yes | no
  • CodeCharta Version: 1.87.1
  • OS: all
  • Browser: all

ce-bo avatar Jan 20 '22 09:01 ce-bo

The error should be very straight forward to get rid of (just make it optional). However, I suggest to do something different: check if a file is actually rendered or if it's invisible. If it's the latter, do not show the regular dropdown but instead, let the user know that the file is not visual due to being empty (or very small).

After fixing the margins this should only apply to empty files.

BridgeAR avatar Jul 22 '22 00:07 BridgeAR

This will be resolved by #3123 and #3113.

ce-bo avatar Nov 18 '22 09:11 ce-bo

This bug is fixed as mentioned above.

ce-bo avatar Nov 18 '22 09:11 ce-bo