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

fix: data-flow flickering on re-renders #2489

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

BenElferink
Copy link
Contributor

This PR solves the flickering on re-renders for data-flow.

  1. By separating scroll handler from change handler
  2. By memoizing nodes & edges

@BenElferink BenElferink added bug Something isn't working frontend labels Feb 23, 2025
@@ -145,6 +147,8 @@ func (r *computePlatformResolver) Sources(ctx context.Context, obj *model.Comput
actualSources = append(actualSources, src)
}

r.Logger.Info("resolved sources query", "count", len(list.Items), "duration", time.Since(startTime).String())
Copy link
Collaborator

@alonkeyval alonkeyval Feb 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need this to debug greenlake?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amir and I added this so we can debug clients with slow fetch time

@BenElferink BenElferink enabled auto-merge (squash) February 24, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants