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

Split contents of MapFloatingPanelController into separate view controllers #661

Merged
merged 4 commits into from
Apr 5, 2023

Conversation

ualch9
Copy link
Member

@ualch9 ualch9 commented Apr 5, 2023

I suspect the layout system in OBAListView is partially responsible for #660. As a hotfix, I am replacing the Recent Stops list view with a standard UICollectionView. The current search view controller was more complicated to replace, so that will stay as an OBAListView for now. To facilitate the UICollectionView and OBAListView, the two states are now separate view controllers, and MapFloatingPanelController will facilitate the view controller's lifecycles.

MapFloatingPanelController is now spaghetti, but I want to collect crash data on whether the problem is really with OBAListView's layout before cleaning up the logic.

Also, some opportunistic fixes too.

…ollers

- Replace Nearby Stops OBAListView with standard UICollectionView
Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and I think your plan is smart and sensible.

@ualch9 ualch9 merged commit 7f0c4ad into main Apr 5, 2023
@ualch9 ualch9 deleted the ualch9/concurrency branch April 5, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants