-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Change home timeline to reload after follow recommendations in web UI #16160
Conversation
1d9b510
to
4baa163
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not too happy with this change, it seems like it may cause more issues than it might help. In particular, reloading the page when the home TL is not in focus might cause issues.
Maybe a slightly hackish but less disruptive alternative would be to expand the home timeline when closing the onboarding component.
4baa163
to
2fd5940
Compare
|
||
setTimeout(() => this.props.dispatch(fetchMarkers()), 500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why delay this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just felt there were too many requests issued at exactly the same time
500ms is barely noticable for a user but may reduce load on the server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if anything i think it would be best if we ensured this request was done before the notifications one, especially on the advanced layout, in order to avoid the unread markers popping “late”
2fd5940
to
1d3d9d3
Compare
1d3d9d3
to
0f11b7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still have reservations about the unrelated timing changes, but otherwise it seems fine to me.
No description provided.