Closed Schmork closed 1 year ago
Thanks for the feedback. I have yet to see this myself, so it may take some time to reproduce and get this fixed.
Edit nm: re-read your comment. Still going to need some help looking into this one. There's not much going on in the JS other than making a few network calls when the page loads. First thought is maybe something with the nice-select2 component?
The very fast response (4 minutes??) and your overall work in this amazing project are appreciated.
Is there anything I can do to collect useful data for you?
@Schmork I'm going to push up a build in a few hours that adds a page with documentation. You should be able to load this page and help me determine if it's the nice-select2 component or not. As this page will contain some of the core javascript and network requests but it won't contain the dropdown.
Also in meantime are there any chrome extensions that you have installed? if so could you list them here? (trying to think of anything that might slow down the site)
@Schmork just pushed the update with the documentation page: https://www.search-lemmy.com/help/api can you try loading that page and see if it still hangs for you?
page: https://www.search-lemmy.com/help/api can you try loading that page and see if it still hangs for you?
@marsara9 this seems to work, there is no "page unresponsive" popup. But since the page is also not interactive, I cannot directly compare the two. There is no cursor in a text field which could blink, or a dropdown which could be populated.
Also in meantime are there any chrome extensions that you have installed? if so could you list them here? (trying to think of anything that might slow down the site)
Very good! I don't feel comfortable posting my list, but I disabled all and yes, then the page loads quickly and smoothly. I narrowed it down to one particular extension, and tested to make sure it's really the culprit: https://chrome.google.com/webstore/detail/lemmy-link/glhbnnmcnindhfaebnckcfdblggpjlog
Extension to make it easy to interact with different Lemmy communities. https://github.com/FackJox/lemmy-link
So for the meantime I have a workaround (disable lemmy-link while using search-lemmy), and hopefully this information helps you to resolve the issue on either side.
Awesome thanks. I'll play around with that extension and if needed reach out to the dev to get that fixed.
P.s. going to leave this issue open until I can determine if there's something I can do on my end to fix this.
@Schmork can you test with https://greasyfork.org/en/scripts/469273-lemmy-universe-link-switcher and see if that script has the same issues as the one that you were using?
@marsara9, with https://greasyfork.org/en/scripts/469273-lemmy-universe-link-switcher active in TamperMonkey, and https://github.com/FackJox/lemmy-link disabled, https://www.search-lemmy.com/ loads nice and quick.
TL;DR: No issues, looks good.
Thanks. Going to close this issue for now.
Describe the bug When loading the site (https://www.search-lemmy.com/), it freezes for about 20 seconds. After choosing 'wait' in the "page unresponsive" popup, it takes another 10 seconds (30 in total) before the page becomes usable (entering a query or changing instance not possible until then).
This freeze occurs again when the result page opens: https://www.search-lemmy.com/results?query=search-lemmy&page=1
To Reproduce Steps to reproduce the behavior:
Expected behavior It should not freeze :)
Desktop:
Additional context Once the page is ready to use, I see a blinking cursor in the search box (which says "Search Lemmy") and an instance selected in the dropdown. Until then, I see no cursor and in the dropdown no selected instance. I also cannot open the dropdown during the freeze.
The freeze is reliable. It always freezes when I load the page, and always freezes when I open any results page. Seems to be independent from selected instance (I tested by selecting a few different Lemmy instances).