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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CIS-1367] Remove unnecessary API calls from ChannelVC
and ChannelListVC
#1706
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1706 +/- ##
========================================
Coverage 85.21% 85.21%
========================================
Files 231 231
Lines 11089 11089
========================================
Hits 9450 9450
Misses 1639 1639
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
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.
Looks good, just some small comments regarding naming 馃憤 Let's wait for the green light from Adam and we will be good to 馃殺 Do we need a changelog entry for this, btw?
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.
Requesting change just to make sure we revert that code. Other than that LGTM 馃憤
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.
Tested across the make
function and removing the setUp
call, all is working as expected and I also checked the Storyboard implementation and is all good. Just a conflict and a few other questions to answer then good to go 馃憤馃徏
5b8b8e2
to
7bb1e0b
Compare
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.
LGTM! 馃殌
02fb22a
to
b18ed9d
Compare
ChannelVC
and ChannelListVC
b18ed9d
to
f321160
Compare
馃敆 Issue Link
CIS-1367
馃幆 Goal
Fix sending multiple unnecessary pagination requests when
ChannelListVC
andChannelVC
are shown.This PR makes sure that only 1 API call is made to load both
ChannelListVC
andChannelVC
馃帹 Changes
Before this PR
ChannelListVC
was calling the Query Channels endpoint 3 times!ChannelListVC
make
method was calling thesetUp
method (which callssynchronize
)ChannelVC
鈽戯笍 Checklist