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

playground and console doesn't render properly on hot reloading #6503

Closed
ekeren opened this issue May 16, 2024 · 5 comments
Closed

playground and console doesn't render properly on hot reloading #6503

ekeren opened this issue May 16, 2024 · 5 comments
Assignees
Labels
🐛 bug Something isn't working 🛫 console Console

Comments

@ekeren
Copy link
Collaborator

ekeren commented May 16, 2024

I tried this:

How to reproduce:

  1. Implement the following code:
bring cloud;

let q = new cloud.Queue();
let b = new cloud.Bucket();

// q.setConsumer(inflight (m: str) => {
//   b.put("latest.txt", m);
// });

// new cloud.Function(inflight (s: str?) => {
//   log("Function was called with {s!}");
//   q.push(s!);
// });
  1. Run wing it
  2. Un-comment all the commented lines, the browser will show:
    image

If I open another tab on localhost:3000, it will be:
image

I've also noticed this when running the learn experience (after seeing a drop in conversations)
image

This happened:

wing console doesn't re-render correctly

I expected this:

No response

Is there a workaround?

No response

Anything else?

No response

Wing Version

0.73.46

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@ekeren ekeren added the 🐛 bug Something isn't working label May 16, 2024
@ainvoner
Copy link
Contributor

@eladcon I think it is related to the initial issue of rendering the map.

@eladcon
Copy link
Collaborator

eladcon commented May 16, 2024

this is happening in localhost console, not sure its related to the playground initial page rendering issue

@ekeren
Copy link
Collaborator Author

ekeren commented May 16, 2024

Right, it is happening on wing running locally (and on the playground)

@ainvoner ainvoner added 🛫 console Console and removed 🛝 playground labels May 16, 2024
@skyrpex
Copy link
Contributor

skyrpex commented May 16, 2024

I think it's related to z-indices and sorting. I'll check it out.

@skyrpex skyrpex self-assigned this May 16, 2024
@ainvoner
Copy link
Contributor

was resolved after reverting the map V2 PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🛫 console Console
Projects
Status: Done
Development

No branches or pull requests

4 participants