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

Too many logic map shapes/function are placed outside of the visible area, unable to change them after reopening save map in VS code #4652

Open
wiktorklusek opened this issue Apr 19, 2024 · 7 comments
Assignees

Comments

@wiktorklusek
Copy link

wiktorklusek commented Apr 19, 2024

Describe the Bug with repro steps

While working on mapping I have utilised a lots of functions shapes, which followed the required logic, but now after reopening saved map they are being placed outside of visible area, hence making it impossible to edit the map. Can this be looked into?

Screenshots or Videos

image

Version

newest

Additional context

As per screenshots, I am unable to move right as this is the limit, and shapes got placed over there authomatically. Can this area be extended, so I can place them elsewhere? Thanks

@wiktorklusek
Copy link
Author

Hi Danielle,

Let me know if you require any more informations from me on this issue, thanks

@DanielleCogs
Copy link
Contributor

Hi @wiktorklusek I can look into this! Seems like the root of the issue is that your function positions are not loading properly, is that correct? So when you save the map and reopen it, the position of your function is lost? If so, the first fix might be to investigate that, instead of expanding the map area. Some follow up questions-

  1. On first glance it seems like some of the functions are being loaded into the correct position, and some aren't, is that correct?
  2. In the .vscode folder of your LA project, do you see a file named [your data map]DataMapMetadata.json? It holds the metadata of your map that is needed to load the functions correctly
  3. Can you upload any error logs you see? Should be in "Output" tab and select 'Azure Logic Apps' from the dropdown

@wiktorklusek
Copy link
Author

Hi,

  1. Correct, after opening the map again, some functions are outside of the visible area, where I cannot move them back, to where I could work on them again. I cannot even remove them from there.

  2. I do not seem to be able to find the MetaData.json, can you point me in the right direction? Below is the folder structure:
    image

  3. No error logs, just shapes out of scope

@wiktorklusek
Copy link
Author

Hi!

Let me know if there is any fix for this planned in the near future, thanks :)

@DanielleCogs
Copy link
Contributor

DanielleCogs commented Apr 26, 2024

Thank you that is helpful! I haven't been able to reproduce the issue so far but will keep working at it. As a temporary solution, you could modify the metadata file, as it holds the XY coordinates of the function positions after you save. You can find the file in the .vscode folder in your screenshot.

@DanielleCogs
Copy link
Contributor

@wiktorklusek are you still experiencing this issue? If so I can walk you through a workaround for the map. I am working on a more permanent fix, but we are focusing our development efforts on reworking some of these UI elements for a future release to prevent issues like this from happening in the future.

@wiktorklusek
Copy link
Author

Hi!

Sure! What steps should I take for a workaround?

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

No branches or pull requests

2 participants