-
Notifications
You must be signed in to change notification settings - Fork 100
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
Redundant Nulls Removal #2055
Open
parthshindee
wants to merge
25
commits into
UCSD:experimental
Choose a base branch
from
morebytes:redundant_nulls_removal
base: experimental
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Redundant Nulls Removal #2055
parthshindee
wants to merge
25
commits into
UCSD:experimental
from
morebytes:redundant_nulls_removal
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Rewrote some logic to mitigate need for nullable variables (i.e., empty strings instead of nullables)
- app_provider - ImageLoader - Image - NoticesModel, NoticesCard - BuildInfo - ContinueReadingButton - LinkifyWithCatch - CardContainer (partially) - WebViewContainer (partially) - DotsIndicator - EventTime - LastUpdatedWidget - TimeRangeWidget - DiningCard (partially), DiningDataProvider (partially), Item model, DiningMenuItem - EmployeeIdDataProvider (partially) - EventsDataProvider, EventsModel - ScannerMessageDataProvider - SpeedTestProvider (partially) - Shuttle (partially) - MessagesDataProvider, MessageService
- ParkingModel, all Parking cards - CardsProvider - Home card
- News - EventsModel - NoticesDataProvider - UserDataProvider, UserProfileService - Notifications models, Notifications cards, Notifications providers - WebView - PushNotifications (wrapper) - EmployeeIdDataProvider - MapSearchModel, MapSearchService, MapsDataProvider, Maps cards
6 tasks
…ls_removal # Conflicts: # ios/Podfile.lock # lib/core/models/availability.dart # lib/core/providers/availability.dart # lib/core/providers/cards.dart # lib/core/providers/messages.dart # lib/core/providers/user.dart # lib/core/services/dining.dart # lib/core/services/map.dart # lib/core/services/triton_media.dart # lib/core/services/weather.dart # lib/ui/availability/availability_display.dart # lib/ui/availability/manage_availability_view.dart # lib/ui/common/webview_container.dart # lib/ui/notifications/notifications_list_view.dart # lib/ui/profile/login.dart
Cleaned up some merge mistakes
…w? The way Coordinates is set up in the app, the entire system needs to be redesigned at some point to prevent future bugs like this
Talked w/ Charles. Decided to pause this until the Dart 3 migration gets merged in |
Spoke with Alex. Most likely this will be paused until after the next release of Campus Mobile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Campus Mobile codebase contains a large number of unnecessary nullable variables and null checks. This issue removes a majority of the redundant nulls.
Resolves #1955
Changelog
[General] [Change] - Removed redundant nulls throughout the app
Test Plan