-
Notifications
You must be signed in to change notification settings - Fork 68
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
Adding Item to Watch Later List Causes Frontend to Freeze #3157
Comments
@keikari can you reproduce and take a look to see if there's any quick improvements possible? |
@Loweville Thank you for this report! Are you a dev and would potentially want to take a shot at it also? |
On initial testing using |
Hello, It's been a while. @tzarebczan, While I am a developer, I'm afraid I haven't got the time, nor am familiar enough with react to contribute to this issue. I was also just wondering how this is progressing, I know these things tend to take time, no rush 😆 |
This comment was marked as resolved.
This comment was marked as resolved.
Hello, and thanks! If I recall right, I think I left it doing the This should work just the same, and only does it once per list: #3185 I'm still blaming the tiles, since on first page I basically get no lag(maybe a very minor hiccup) when adding an item to a list of a 100 items. This is kind of a lag I'm seeing (from local instance) Videoplaylist-lag.mp4 |
Any chance that the 2 dispatches with long names don't need that specific call sequence, i.e. can either be That's at least a band-aid to reduce the lag from increasing threefold for each extra tile (seeing ~4s down to ~0.5s, as an example) |
Moved them in |
Bug
When adding item to Watch Later list, the entire frontend freezes as it processes the action
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The site is still fully responsive and allows you to interact with anything like normal
Screenshots
N/A, not screen-shotable
System Configuration
Website (Odysee.com)
Additional context
I see that the Watch Later function utilizes react-redux's connect function, and the doPlaylistAddAndAllowPlaying function issues a dispatch request, I was wondering if there could be an opportunity to utilise Javascript Promises to allow it to run asynchronously, therefore it wouldn't freeze the frontend as the action was being performed.
The text was updated successfully, but these errors were encountered: