Skip to content
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

[USERSNAP] The drep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my drep entry. #2551

Open
kickloop opened this issue Dec 17, 2024 · 4 comments
Assignees
Labels
🐛 Bug Something isn't working usersnap-bug

Comments

@kickloop
Copy link
Collaborator

kickloop commented Dec 17, 2024

Taken at: https://gov.tools/drep_directory
Fields:

  • Add a comment: The drep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my deep entry.

Browser: ChromeiOS 131 (iOS)
Screen size: 393x852
Open #176 in Usersnap

Powered by Usersnap.

@bosko-m bosko-m changed the title [USERSNAP] The deep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my deep entry. [USERSNAP] The drep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my deep entry. Dec 18, 2024
@bosko-m bosko-m moved this to Backlog in Govtool all Dec 18, 2024
@bosko-m
Copy link
Contributor

bosko-m commented Dec 18, 2024

@MSzalowski @spannercode Can we confirm this behavior is like written in the original post?

@kneerose
Copy link
Contributor

@bosko-m ,
It appears that the same dRep is being fetched multiple times in the dRep list on "Show More" due to the pagination and sorting being randomized.
image
Screenshot from 2024-12-19 13-03-01

@bosko-m bosko-m changed the title [USERSNAP] The drep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my deep entry. [USERSNAP] The drep directory seems to pull up duplicates when selecting “Show More” and I got to the end where it no longer offered “Show More” and did not see my drep entry. Dec 19, 2024
@bosko-m
Copy link
Contributor

bosko-m commented Dec 19, 2024

Thanks @kneerose 👏

@m-i-k-e
Copy link

m-i-k-e commented Jan 7, 2025

@MSzalowski I guess that the randomisation is running every time the 'show more' is pressed?

This is what I was getting at in the meeting this morning: The randomisation has to happen only once per page load, and saved to build subsequent queries during the active session. The 'show more' (or in the future, pagination button) needs to read the next random record refs from this saved list. If a user refreshes the page, then a new random order is generated.

@m-i-k-e m-i-k-e added the 🐛 Bug Something isn't working label Jan 8, 2025
@m-i-k-e m-i-k-e assigned m-i-k-e and MSzalowski and unassigned m-i-k-e Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working usersnap-bug
Projects
Status: No status
Status: Backlog
Development

No branches or pull requests

5 participants