-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add alert icons for stops on the map (#111)
* refactor: look up nearby stop IDs in global response * move global data fetch up from map to ContentView * resources: Add new icons for stops on map * feat: Display stop icons with alert status * test: Fix existing tests * test: Add tests for stop alert status * test: Fix failing test * refactor: Move stop icon details out into class * fix: Changes based on PR feedback * fix: Fix iOS tests --------- Co-authored-by: Melody Horn <[email protected]>
- Loading branch information
1 parent
a96b8b9
commit 7a6ed82
Showing
29 changed files
with
907 additions
and
133 deletions.
There are no files selected for viewing
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
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/bus-stop-issues.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "bus-stop-issues.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
iosApp/iosApp/Assets.xcassets/bus-stop-issues.imageset/bus-stop-issues.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/bus-stop-no-service.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "bus-stop-no-service.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
iosApp/iosApp/Assets.xcassets/bus-stop-no-service.imageset/bus-stop-no-service.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/t-station-issues.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "t-station-issues.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
iosApp/iosApp/Assets.xcassets/t-station-issues.imageset/t-station-issues.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/t-station-no-service.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "t-station-no-service.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...p/iosApp/Assets.xcassets/t-station-no-service.imageset/t-station-no-service.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Oops, something went wrong.