-
Notifications
You must be signed in to change notification settings - Fork 3
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
Modernized networking architecture with Swift's Combine framework. #394
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.
Really nice job on the refactor. I really like some of the design choices you made. I only have nit comments. Just request me again when you address them!
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 Jayson!! I just added a couple very very minuscule comments but otherwise everything else looks good to go. Glad Transit's networking is getting a new makeover (:
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.
Great PR, absolute 🐐!
I really appreciate you taking the initiative to refactor networking, its quite a daunting task and you killed it!
Mainly just a few styling issues but otherwise amazing!
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 work! Thanks for the fixes
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.
Great Job!! The swiftLint thing is weird. Usually we don't want extra parethese where we don't need them. I'll look into it but you can keep it the same for now.
LGTM!
* Remove codegen build phase * add route filtering * deleted debugging stuff * Added firebase messaging to iOS * addressing richie's comments * Show delay times for start & end, needs double checked with backend * Modified / improved route UI * Reduced redundant code; cleaned up files * Changed location marker image, reorganizec code * Minor comment changes * Addressed Peter's comments * Fixed minor issue * Addressed Richie's comments p1 * Addressed Richie's comments p2 * Addressed Richie's comments p3 * Release (#398) * Remove codegen build phase * add route filtering * deleted debugging stuff * Show delay times for start & end, needs double checked with backend * Added firebase messaging to iOS * addressing richie's comments * Modified / improved route UI * Reduced redundant code; cleaned up files * Changed location marker image, reorganizec code * Minor comment changes * Addressed Peter's comments * Fixed minor issue * Addressed Richie's comments * Release TestFlight 2.0.3 Build 19 (#399) * Remove codegen build phase * add route filtering * deleted debugging stuff * Added firebase messaging to iOS * addressing richie's comments * Show delay times for start & end, needs double checked with backend * Modified / improved route UI * Reduced redundant code; cleaned up files * Changed location marker image, reorganizec code * Minor comment changes * Addressed Peter's comments * Fixed minor issue * Addressed Richie's comments p1 * Addressed Richie's comments p2 * Addressed Richie's comments p3 * Incremented Build and Version --------- Co-authored-by: Vin Bui <vdb23@cornell.edu> Co-authored-by: Vin Bui <75594943+vinnie4k@users.noreply.github.com> Co-authored-by: cindy-x-liang <67083541+cindy-x-liang@users.noreply.github.com> Co-authored-by: Angelina Chen <angelina.chhen@gmail.com> --------- Co-authored-by: Vin Bui <75594943+vinnie4k@users.noreply.github.com> Co-authored-by: Vin Bui <vdb23@cornell.edu> Co-authored-by: cindy-x-liang <67083541+cindy-x-liang@users.noreply.github.com> Co-authored-by: Angelina Chen <angelina.chhen@gmail.com> * Modernized networking architecture with Swift's Combine framework. (#394) * Initial Networking * Finish network refactor * Fix code styling * Merge branch 'master' into Jayson/Networking * update version --------- Co-authored-by: Vin Bui <vdb23@cornell.edu> Co-authored-by: Vin Bui <75594943+vinnie4k@users.noreply.github.com> Co-authored-by: cindy-x-liang <67083541+cindy-x-liang@users.noreply.github.com> Co-authored-by: Angelina Chen <angelina.chhen@gmail.com> Co-authored-by: Richie Sun <105038960+rs929@users.noreply.github.com>
Overview
Modernized networking architecture with Swift's Combine framework.
Changes Made
Change 1: Network Reachability
Change 2: Networking Refactor with Combine
Change 3: Search Manager Optimization
SearchManager
to use Combine for debouncing search queries, ensuring that only the last query after a set delay is sent to the backend, reducing API costs.Change 4: Trip Sharing and Deep Linking
Test Coverage
SearchManager
.Next Steps (optional)
Screenshots (optional)
TODO
TODO
TODO