-
Notifications
You must be signed in to change notification settings - Fork 163
Infinite scrolling in ShareProjectForm #8306
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
|
Ready for Product QA, modified the page size to 10. Will revert to 50 before landing this PR. @ericokuma |
|
perfect, i'll address this |
Filed a follow-up for endpoint request to properly address this: https://linear.app/rilldata/issue/APP-570/add-a-new-endpoint-to-get-current-users-project-membership-by-email I've added a workaround in the meantime. Ready for re-review. The current user should now appear even when you haven't scroll to the bottom of the page. @ericokuma |
|
To revert page size to 50 before merging. |
ericokuma
left a comment
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.
Sorry for the delay on the QA. This looks good!
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.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
web-admin/src/features/projects/user-management/ShareProjectForm.svelte
Outdated
Show resolved
Hide resolved
web-admin/src/features/projects/user-management/UserItem.svelte
Outdated
Show resolved
Hide resolved
This reverts commit f83bd4f.
INSERT DESCRIPTION HERE
Closes https://linear.app/rilldata/issue/APP-521/project-share-popover-is-not-displaying-full-list-of-users-that-have
Checklist:
Note
Introduces paginated infinite loading for project members and invites to ensure full lists are shown and efficiently fetched.
createInfiniteQueryforprojectMembersandprojectInvites(PAGE_SIZE 10) and adds an IntersectionObserver to auto-fetch next pagesUserItem.svelteto users that actually have aroleNameWritten by Cursor Bugbot for commit 591c413. This will update automatically on new commits. Configure here.