Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve: don't freeze Mudlet when copying large profile#5056

Merged
vadi2 merged 14 commits intoMudlet:developmentfrom
vadi2:copy-profiles-async
Apr 18, 2022
Merged

Improve: don't freeze Mudlet when copying large profile#5056
vadi2 merged 14 commits intoMudlet:developmentfrom
vadi2:copy-profiles-async

Conversation

@vadi2
Copy link
Member

@vadi2 vadi2 commented Mar 27, 2021

Brief overview of PR changes/additions

Don't freeze Mudlet when copying large profile

Motivation for adding to Mudlet

Better user experience for long-time players with large profiles. It'll also help people not think Mudlet has crashed if it's been copying for too long.

Other info (issues closed, discussion etc)

Fix #1980, fix #487

Release post highlight

Improved: copying large profiles will no longer freeze Mudlet up.

@add-deployment-links
Copy link

add-deployment-links bot commented Mar 27, 2021

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2022

Messages
✔️

PR type: Improvement

Generated by 🚫 dangerJS against 90f864f

@vadi2 vadi2 changed the title Don't freeze Mudlet when copying large profile Improve: don't freeze Mudlet when copying large profile Jan 1, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2022

clang-tidy review says "All clean, LGTM! 👍"

@vadi2 vadi2 marked this pull request as ready for review January 1, 2022 20:11
@vadi2 vadi2 requested a review from a team as a code owner January 1, 2022 20:11
@vadi2 vadi2 requested a review from a team January 1, 2022 20:11
@mudlet-machine-account mudlet-machine-account added this to the 4.16.0 milestone Apr 8, 2022
@SlySven
Copy link
Member

SlySven commented Apr 8, 2022

What's with the "Check improvements with Mudlet's C++style guide / clang-tidy (pull_request_target)" failure - something is screwy with the update/ports of Hunspell - but just for that job...? 😵

@vadi2
Copy link
Member Author

vadi2 commented Apr 8, 2022

Not sure.

@vadi2 vadi2 requested a review from a team April 11, 2022 07:57
@vadi2
Copy link
Member Author

vadi2 commented Apr 11, 2022

PR updated.

valid = false;
}

if (url.indexOf(QRegularExpression(qsl("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")), 0) != -1) {
Copy link
Member

@SlySven SlySven Apr 18, 2022

Choose a reason for hiding this comment

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

🤔 This is something for another PR but this won't handle IPv:six: addresses... issue raised as #6065.

Copy link
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

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

I haven't physically tested this - I've only reviewed the code - as I see it the UI team still need to okay it so I'm leaving that aspect to them... 🙈

@vadi2 vadi2 merged commit bf0c8e1 into Mudlet:development Apr 18, 2022
@vadi2 vadi2 deleted the copy-profiles-async branch April 18, 2022 18:37
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.

Copying large profiles freezes Mudlet Mudlet freezes while loading a profile, providing no user feedback or progress

3 participants