-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Slash Menu stuck #6322
Comments
Approximately how many docs are there in your workspace? may be fixed by #6319 |
I have 25 docs in my space. |
Sorry, I can't reproduce this issue. The performance of the affine app seems to have slowed down a bit recently, I'm going to deploy some optimizations and let's see if is improvement. |
It seems to be workspace-specific and only happening on one of my workspaces. I can reproduce it consistently. Is there anything I can provide you with, that could help? |
Thanks, it would be very helpful if you can record a CPU profile. You can follow my screen recording: CleanShot.2024-03-28.at.16.32.59.mp4 |
Amazing Screen Recording 🤩 |
By looking at the cpu profile, it looks to me to be related to https://github.com/pacocoursey/cmdk/blob/v0.2.1/cmdk/src/command-score.ts#L81C3-L144C4 |
Great you could find something related @pengx17 . I'm not a programmer, so I can't comment on that part 😅 I'll leave it to you. lmk if you need anything else from me. |
Also include the command score into our own repo for some tweaks. Might fix #6322
@pengx17 could you already find a solution to the stuck cmdk menu? Currently I cannot use the search function anymore, which is quite tiresome in a bigger space. |
What happened?
When typing "go t" the Slash-Menu and the whole app gets stuck for 30 seconds.
![Bildschirmfoto 2024-03-26 um 09 49 04](https://private-user-images.githubusercontent.com/714974/316790443-7235ec01-f4e2-4001-854c-05456e31353d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4MjE4ODcsIm5iZiI6MTcxODgyMTU4NywicGF0aCI6Ii83MTQ5NzQvMzE2NzkwNDQzLTcyMzVlYzAxLWY0ZTItNDAwMS04NTRjLTA1NDU2ZTMxMzUzZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxOVQxODI2MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mM2FhNjAxNjU1MzBlMmRhMjUyMTM0MTZjNGQ1MTllZDA2NTI2ZjM2ZTM4MWRkN2IyZDViYjVkZjgzOTJlYjIxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WnUyA0nbFEjhBRneWz_HFvcxr-YUUjqNLOYncMkC_SQ)
Because I didn't see the "o" showing up I typed it multiple times which appeared later:
Restarting the app gets it running again.
Distribution version
macOS x64 (Intel)
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: