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
Grid mode pagination #654
Grid mode pagination #654
Conversation
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.
Nice job, just some small typos. This is fun and I'm excited to add this feature to the app!
@@ -63,7 +63,7 @@ export default function useLocalTracks() { | |||
if (isAcquiringLocalTracks || audioTrack || videoTrack) return Promise.resolve(); | |||
|
|||
setIsAcquiringLocalTracks(true); | |||
|
|||
console.log(3); |
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.
it's back! 😆
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 think I removed this just before you submitted the review 🙂. I'm not sure why it reappeared though!
).toBe(true); | ||
}); | ||
|
||
it('should not render the previous page button when the user is viewing the last page', () => { |
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.
should this be should not render the next page button ...
Contributing to Twilio
Pull Request Details
JIRA link(s):
Description
This PR adds a pagination feature to the video app. The user can move to the previous or next page of participants (where applicable), or they can click on a specific page to see. The user can also choose the maximum number of participants to see in the grid in the Settings. The grid should correctly handle the adding and removing of participants while on any page, including the last page. It should also handle changing the max grid participants setting while on any page.
Burndown
Before review
npm test
Before merge