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

GH-262 - fix issue gui unresponsive when adding a todo #265

Merged

Conversation

pvev
Copy link
Contributor

@pvev pvev commented Nov 10, 2024

Fixes: #262

Before:

Screen.Recording.2024-11-10.at.19.01.43.mov

After:

Screen.Recording.2024-11-10.at.19.00.08.mov

@pvev pvev requested a review from mickmister as a code owner November 10, 2024 18:03
};
}

static getDerivedStateFromProps(props, state) {
if (state.isTyping) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

every type stroke rerenders the component and causes messages to get the props value. This change tracks when the user is typing and will avoid this situation from happening.

@hanzei
Copy link
Contributor

hanzei commented Nov 12, 2024

@Kshitij-Katiyar Can you please take a look?

@Kshitij-Katiyar
Copy link
Contributor

@Kshitij-Katiyar Can you please take a look?

@hanzei Do we need to review this PR or something else?

@hanzei hanzei added the 2: Dev Review Requires review by a core committer label Dec 17, 2024
@hanzei
Copy link
Contributor

hanzei commented Dec 17, 2024

Yes, please review the PR

@Kshitij-Katiyar
Copy link
Contributor

Yes, please review the PR

@hanzei Looks good to me

@Kshitij-Katiyar Kshitij-Katiyar force-pushed the fix-issue-262-gui-unresponsive branch from 8f8aa57 to 8892ad4 Compare December 18, 2024 06:19
@raghavaggarwal2308
Copy link
Contributor

@hanzei @pvev We have created a PR to disable to playwright tests for now #269

@hanzei hanzei removed the request for review from mickmister January 6, 2025 08:01
@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Jan 6, 2025
@hanzei hanzei merged commit 7c644b3 into mattermost-community:master Jan 6, 2025
3 checks passed
panoramix360 pushed a commit to panoramix360/mattermost-plugin-todo that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GUI does is unresponsive
4 participants