-
Notifications
You must be signed in to change notification settings - Fork 1.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
Clicking "Show more" at end of a result set does not jump you back to the top of the page #7024
Comments
@slimsag: Is there anything Core Services could do here or is this a purely a Web thing? |
I tried to reproduce this one, but couldn't. Here is the query I tried. Clicking on "Show More" does a "refresh" on the search results and takes me to the top. |
@sourcegraph/web Is there an e2e test which guarantees this behavior? I am worried there may be a bug in some edge case here or that we may have regressed and then fixed this without knowing. |
I don't know, all e2e tests are in this file: https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/web/src/e2e/e2e.test.ts |
See also https://github.com/sourcegraph/sourcegraph/issues/5120 Can someone on @sourcegraph/web own defining this behavior and adding an e2e test? |
Given this, the behaviour should be to scroll back to the top. Looking at relevant code, I don't see anything that would leave you at the bottom of the page (eg. adding a hash fragment with the position, as mentioned in #5120). I can own adding an e2e test for this. |
Dear all, This is your release captain speaking. 🚂🚂🚂 Branch cut for the 3.14 release is scheduled for tomorrow. Is this issue / PR going to make it in time? Please change the milestone accordingly. Thank you |
Dear all, This is your release captain speaking. 🚂🚂🚂 Branch cut for the 3.15 release is scheduled for tomorrow. Is this issue / PR going to make it in time? Please change the milestone accordingly. Thank you |
This has been fixed. |
A user at https://app.hubspot.com/contacts/2762526/company/407948923 reported this, and I agree the current behavior is surprising.
When you click "Show more" it doesn't jump you back to the top of the page, and instead lets you "continue" by leaving you at the bottom of the page.
Given that we do not have stable result ordering (outside of the experimental paginated search API), it is surprising that we do this because really we don't know which results the user has seen when the
count:
increases.The text was updated successfully, but these errors were encountered: