-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: Improving the infinityLoader implemented #3868
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
Conversation
|
Still the same problem. Pushes the list up instead of down. Tested in Firefox and Chrome. Happens if you are absolutely at the end of the list. Also, have to scroll up and down multiple times before it starts to load stuff. Merging for now, but it is very annoying experience |
|
Also, load at least 12 or 15 speakers |
|
Well the sticking problem is still there and it only loads items when I am at absolute bottom, so threshold is not working as well. Will see tomorrow what can be done |
It is a wait of <1 sec TBH. Also, I think micro-location should not be fetched, As we are already displaying micro-location in the session card. What do you suggest? |
|
Let's take microlocation change in next release. About this PR, it doesn't change the experience for me unfortunately |
Codecov Report
@@ Coverage Diff @@
## development #3868 +/- ##
===============================================
- Coverage 21.98% 21.81% -0.17%
===============================================
Files 460 460
Lines 4727 4726 -1
===============================================
- Hits 1039 1031 -8
- Misses 3688 3695 +7
Continue to review full report at Codecov.
|
I tested it just now, It is at least better than the previous option without offset which was loading 6 speakers at a time 😕 . @iamareebjamal |
app/templates/public/speakers.hbs
Outdated
| </div> | ||
| {{/each}} | ||
| {{#infinity-loader infinityModel=model}} | ||
| {{#infinity-loader infinityModel=model triggerOffset=400 eventDebounce=50}} |
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.
Let's remove the changes here then
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.
Sure!
Have we removed the codacy PR check?
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.
Yes
app/templates/public/speakers.hbs
Outdated
| </div> | ||
| {{/each}} | ||
| {{#infinity-loader infinityModel=model}} | ||
| {{#infinity-loader infinityModel=model triggerOffset=400 eventDebounce=50}} |
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.
| {{#infinity-loader infinityModel=model triggerOffset=400 eventDebounce=50}} | |
| {{#infinity-loader infinityModel=model}} |
|
@kushthedude Release is being made. Do you want this included? |
|
I suggest including it but I am afk right now, can you please push the required changes, if any? |
Refers #3650