Skip to content

Commit b7d1063

Browse files
committed
Merge branch 'master' into landscape
* master: (135 commits) Ignore errors in the testflight upload process use the correct path to report-network-problem Remove trailing spaces for prettier Rename FilterView to FilterViewComponent Pass entire title to filter navigation Make the caller provide the entire title Interpolate the navigation title Rearrange streaming view tabs Nix todo section in favor of contributing Link the bug/general and bug/layout labels Remove touch-id and 3d-touch notes Item title for navigation Prop type for nav title Menu name title as prop in fancy-menu Title to filterview navigation options fix(package): update react-native-google-analytics-bridge to version 5.3.1 chore(package): update js-yaml to version 3.10.0 add shouldComponentUpdate and setStateFromProps to BuildingHoursRow remove unneeded Column component from BuildingHoursRow switch method of defining props on BuildingHoursRow ...
2 parents 5f62280 + 218f61c commit b7d1063

File tree

84 files changed

+3342
-1569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3342
-1569
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ before_install:
111111
- npm config set spin=false
112112
- npm config set progress=false
113113

114-
- npm install -g npm@5
114+
- npm install -g npm@5.4
115115
- if [[ $JS ]]; then npm install -g greenkeeper-lockfile@1; fi
116116

117117
install:

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ GEM
4141
faraday_middleware (0.12.2)
4242
faraday (>= 0.7.4, < 1.0)
4343
fastimage (2.1.0)
44-
fastlane (2.54.2)
44+
fastlane (2.55.0)
4545
CFPropertyList (>= 2.3, < 3.0.0)
4646
addressable (>= 2.3, < 3.0.0)
4747
babosa (>= 1.0.2, < 2.0.0)
@@ -63,6 +63,7 @@ GEM
6363
multi_xml (~> 0.5)
6464
multipart-post (~> 2.0.0)
6565
plist (>= 3.1.0, < 4.0.0)
66+
public_suffix (~> 2.0.0)
6667
rubyzip (>= 1.1.0, < 2.0.0)
6768
security (= 0.1.3)
6869
slack-notifier (>= 1.3, < 2.0.0)
@@ -75,7 +76,7 @@ GEM
7576
xcpretty-travis-formatter (>= 0.0.3)
7677
fastlane-plugin-bugsnag (1.1.0)
7778
gh_inspector (1.0.3)
78-
google-api-client (0.13.3)
79+
google-api-client (0.13.4)
7980
addressable (~> 2.5, >= 2.5.1)
8081
googleauth (~> 0.5)
8182
httpclient (>= 2.8.1, < 3.0)
@@ -128,7 +129,7 @@ GEM
128129
nanaimo (0.2.3)
129130
os (0.9.6)
130131
plist (3.3.0)
131-
public_suffix (3.0.0)
132+
public_suffix (2.0.5)
132133
rake (12.0.0)
133134
representable (3.0.4)
134135
declarative (< 0.1.0)

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ The Calendar won't work until you give it a Google Calendar API key. You should
2222
1. Create a copy of the `.env.sample.js` file and rename it to `.env.js`
2323
2. Insert your API key in place of the `key goes here` text
2424

25-
## Todo
26-
* Bugs! All bugs should have the [`bug`](https://github.com/StoDevX/AAO-React-Native/issues?q=is%3Aopen+is%3Aissue+label%3Abug) label in the issues
25+
## Contributing
26+
* Bugs! All bugs should have the [`bug/general`](https://github.com/StoDevX/AAO-React-Native/labels/bug%2Fgeneral) or [`bug/layout`](https://github.com/StoDevX/AAO-React-Native/labels/bug%2Flayout) label in the issues
2727
* Enhancements! All ideas for improvement that are not being worked on should be [`closed` and labelled as `discussion`](https://github.com/StoDevX/AAO-React-Native/issues?utf8=%E2%9C%93&q=is%3Aclosed%20is%3Aissue%20label%3Astatus%2Fdiscussion)
28-
* [3D touch actions](https://github.com/jordanbyron/react-native-quick-actions) for icon and within
29-
* [Touch-ID](https://github.com/naoufal/react-native-touch-id) for SIS
3028

31-
## Contributing
32-
Please see [CONTRIBUTING](CONTRIBUTING.md)
29+
For full information, see [CONTRIBUTING](CONTRIBUTING.md)

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ if (propFile.canRead()) {
191191
dependencies {
192192
// please keep this list sorted
193193
compile project(':bugsnag-react-native')
194+
compile project(':react-native-calendar-events')
194195
compile project(':react-native-custom-tabs')
195196
compile project(':react-native-device-info')
196197
compile project(':react-native-google-analytics-bridge')

android/app/src/main/java/com/allaboutolaf/MainActivity.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.facebook.react.ReactActivity;
44
import com.bugsnag.BugsnagReactNative;
5+
import com.calendarevents.CalendarEventsPackage;
56
import android.os.Bundle;
67

78
public class MainActivity extends ReactActivity {
@@ -23,4 +24,11 @@ public void onCreate(Bundle savedInstanceState) {
2324
BugsnagReactNative.start(this);
2425
}
2526
}
27+
28+
// Required for react-native-calendar-events
29+
@Override
30+
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
31+
CalendarEventsPackage.onRequestPermissionsResult(requestCode, permissions, grantResults);
32+
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
33+
}
2634
}

android/app/src/main/java/com/allaboutolaf/MainApplication.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
// keep these sorted alphabetically
99
import com.airbnb.android.react.maps.MapsPackage;
1010
import com.avishayil.rnrestart.ReactNativeRestartPackage;
11-
import com.bugsnag.BugsnagReactNative;
1211
import com.brentvatne.react.ReactVideoPackage;
12+
import com.bugsnag.BugsnagReactNative;
1313
import com.BV.LinearGradient.LinearGradientPackage;
14+
import com.calendarevents.CalendarEventsPackage;
1415
import com.facebook.react.ReactApplication;
1516
import com.facebook.react.ReactInstanceManager;
1617
import com.facebook.react.ReactNativeHost;
@@ -45,6 +46,7 @@ protected List<ReactPackage> getPackages() {
4546
new MainReactPackage(),
4647
// please keep these sorted alphabetically
4748
BugsnagReactNative.getPackage(),
49+
new CalendarEventsPackage(),
4850
new CustomTabsPackage(),
4951
new GoogleAnalyticsBridgePackage(),
5052
new KeychainPackage(),

android/settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ include ':app'
55
include ':bugsnag-react-native'
66
project(':bugsnag-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/bugsnag-react-native/android')
77

8+
include ':react-native-calendar-events'
9+
project(':react-native-calendar-events').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-calendar-events/android')
10+
811
include ':react-native-custom-tabs'
912
project(':react-native-custom-tabs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-custom-tabs/android')
1013

data/building-hours/1-1-cage.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ category: Food
44

55
schedule:
66
- title: Kitchen
7+
notes: The kitchen stops cooking at 8 p.m.
78
hours:
8-
- {days: [Mo, Tu, We, Th], from: '7:30am', to: '3:00pm'}
9-
- {days: [Fr], from: '7:30am', to: '1:00pm'}
9+
- {days: [Mo, Tu, We, Th, Fr], from: '7:30am', to: '8:00pm'}
10+
- {days: [Sa, Su], from: '9:00am', to: '8:00pm'}
1011

11-
# - title: Kitchen
12-
# notes: The kitchen stops cooking at 8 p.m.
13-
# hours:
14-
# - {days: [Mo, Tu, We, Th, Fr], from: '7:30am', to: '8:00pm'}
15-
# - {days: [Sa, Su], from: '9:00am', to: '8:00pm'}
16-
17-
# - title: Late Night
18-
# hours:
19-
# - {days: [Mo, Tu, We, Th], from: '8:00pm', to: '11:00pm'}
20-
# - {days: [Su], from: '8:00pm', to: '11:00pm'}
12+
- title: Late Night
13+
hours:
14+
- {days: [Mo, Tu, We, Th], from: '8:00pm', to: '11:00pm'}
15+
- {days: [Su], from: '8:00pm', to: '11:00pm'}
2116

2217
breakSchedule:
2318
fall: []
@@ -26,4 +21,8 @@ breakSchedule:
2621
interim: []
2722
spring: []
2823
easter: []
29-
summer: []
24+
summer:
25+
- title: Kitchen
26+
hours:
27+
- {days: [Mo, Tu, We, Th], from: '7:30am', to: '3:00pm'}
28+
- {days: [Fr], from: '7:30am', to: '1:00pm'}

data/building-hours/1-2-pause-kitchen.yaml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,20 @@ image: pause-kitchen
33
category: Food
44

55
schedule:
6-
- title: Hours
7-
notes: The Pause Kitchen is closed for the summer.
8-
hours: []
6+
- title: Daylight
7+
notes: The late night menu starts at 9 p.m.
8+
hours:
9+
- {days: [Mo], from: '10:30am', to: '12:00am'}
10+
- {days: [Tu], from: '11:30am', to: '12:00am'}
11+
- {days: [We], from: '10:30am', to: '12:00am'}
12+
- {days: [Th], from: '11:30am', to: '12:00am'}
13+
- {days: [Fr], from: '10:30am', to: '9:00pm'}
14+
- {days: [Sa], from: '11:30am', to: '9:00pm'}
15+
- {days: [Su], from: '11:30am', to: '12:00am'}
916

10-
# - title: Daylight
11-
# notes: The late night menu starts at 9 p.m.
12-
# hours:
13-
# - {days: [Mo], from: '10:30am', to: '12:00am'}
14-
# - {days: [Tu], from: '11:30am', to: '12:00am'}
15-
# - {days: [We], from: '10:30am', to: '12:00am'}
16-
# - {days: [Th], from: '11:30am', to: '12:00am'}
17-
# - {days: [Fr], from: '10:30am', to: '9:00pm'}
18-
# - {days: [Sa], from: '11:30am', to: '9:00pm'}
19-
# - {days: [Su], from: '11:30am', to: '12:00am'}
20-
21-
# - title: Late Night
22-
# hours:
23-
# - {days: [Fr, Sa], from: '9:00pm', to: '2:00am'}
17+
- title: Late Night
18+
hours:
19+
- {days: [Fr, Sa], from: '9:00pm', to: '2:00am'}
2420

2521
breakSchedule:
2622
fall: []
@@ -29,4 +25,7 @@ breakSchedule:
2925
interim: []
3026
spring: []
3127
easter: []
32-
summer: []
28+
summer:
29+
- title: Hours
30+
notes: The Pause Kitchen is closed for the summer.
31+
hours: []

data/building-hours/1-4-bag-lunch-line.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ category: Food
33

44
schedule:
55
- title: Hours
6-
hours: []
7-
notes: The Bag Lunch line is closed for the summer.
8-
9-
# - title: Hours
10-
# hours:
11-
# - {days: [Mo, Tu, We, Th, Fr], from: '7:00am', to: '2:00pm'}
6+
hours:
7+
- {days: [Mo, Tu, We, Th, Fr], from: '7:00am', to: '2:00pm'}
128

139
breakSchedule:
1410
fall: []
@@ -17,4 +13,7 @@ breakSchedule:
1713
interim: []
1814
spring: []
1915
easter: []
20-
summer: []
16+
summer:
17+
- title: Hours
18+
hours: []
19+
notes: The Bag Lunch line is closed for the summer.

0 commit comments

Comments
 (0)