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

When expanding a long Thread, display Messages by batches so it doesn't freeze the UI anymore #2044

Merged
merged 5 commits into from
Nov 4, 2024

Conversation

KevinBoulongne
Copy link
Contributor

@KevinBoulongne KevinBoulongne commented Sep 12, 2024

In the situation of a Thread long enough so we display the SuperCollapsedBlock :

  • When clicking on the SCB, we have to display all remaining Messages.
  • Instead of displaying all of them in one go, we loop them and send them 1 by 1 every few milliseconds.

@LunarX
Copy link
Contributor

LunarX commented Sep 20, 2024

Why do we do all of this again though?

@LunarX
Copy link
Contributor

LunarX commented Sep 23, 2024

Is there no other way to avoid the freeze instead of having to introduce this unconventional delay between messages? A more conventional way.

@tevincent tevincent added the rebase Add this label to rebase the PR label Sep 23, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label Sep 23, 2024
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from 188cbea to f5a5867 Compare September 23, 2024 13:18
@tevincent tevincent requested a review from LunarX September 23, 2024 13:27
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from 7a2a571 to 7e1023b Compare September 24, 2024 13:05
@tevincent tevincent marked this pull request as draft September 26, 2024 13:59
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 3 times, most recently from 63f8435 to f40b3b6 Compare October 7, 2024 15:30
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from 982d3ed to aa61eda Compare October 10, 2024 08:31
@KevinBoulongne KevinBoulongne marked this pull request as ready for review October 14, 2024 11:58
@KevinBoulongne KevinBoulongne added the rebase Add this label to rebase the PR label Oct 14, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label Oct 14, 2024
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from 7d861e5 to 1eed1dd Compare October 14, 2024 13:17
@KevinBoulongne KevinBoulongne added the rebase Add this label to rebase the PR label Oct 14, 2024
@github-actions github-actions bot removed the rebase Add this label to rebase the PR label Oct 14, 2024
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from d42a194 to 0879c64 Compare October 14, 2024 13:49
@KevinBoulongne KevinBoulongne requested a review from a team October 14, 2024 13:57
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 4 times, most recently from 033a6ef to a10eded Compare October 22, 2024 07:59
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 3 times, most recently from a316a5e to 6afbfdd Compare October 28, 2024 12:41
@KevinBoulongne KevinBoulongne force-pushed the open-thread-freeze branch 2 times, most recently from 42f3660 to 794007f Compare November 4, 2024 11:49
Copy link

sonarqubecloud bot commented Nov 4, 2024

@KevinBoulongne KevinBoulongne dismissed LunarX’s stale review November 4, 2024 11:57

Already appoved.

@KevinBoulongne KevinBoulongne merged commit 824b303 into master Nov 4, 2024
4 checks passed
@KevinBoulongne KevinBoulongne deleted the open-thread-freeze branch November 4, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants