Skip to content

Commit

Permalink
Merge pull request #3 from Expensify/master
Browse files Browse the repository at this point in the history
Merge
  • Loading branch information
tugbadogan authored Feb 14, 2021
2 parents 10705e2 + 7204714 commit a851d91
Show file tree
Hide file tree
Showing 24 changed files with 288 additions and 323 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Echo actor
run: echo ${{ github.actor }}

- uses: actions/checkout@v2

- uses: actions/setup-ruby@v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
runs-on: macos-latest
steps:
- name: Echo actor
run: echo ${{ github.actor }}

- uses: actions/checkout@v2

- name: Setup Node
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
build:
runs-on: macos-latest
steps:
- name: Echo actor
run: echo ${{ github.actor }}

- uses: actions/checkout@v2

- name: Setup Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
git fetch
git checkout master
git config user.name botify
git config user.name OSBotify
- name: Checkout new branch
run: git checkout -b version-bump-${{ github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
runs-on: ubuntu-16.04

steps:
- name: Echo actor
run: echo ${{ github.actor }}

- uses: actions/checkout@v2

# Installs node
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 432
versionName "1.0.1-433"
versionCode 438
versionName "1.0.1-439"
}
splits {
abi {
Expand Down
3 changes: 3 additions & 0 deletions config/webpack/webpack.prod.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const webpack = require('webpack');
const {merge} = require('webpack-merge');
const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');
const dotenv = require('dotenv');
const common = require('./webpack.common.js');

Expand All @@ -10,6 +11,8 @@ module.exports = merge(common, {
mode: 'production',
devtool: 'source-map',
plugins: [
// This allows us to interactively inspect JS bundle contents
...(process.env.ANALYZE_BUNDLE === 'true' ? [new BundleAnalyzerPlugin()] : []),
new webpack.DefinePlugin({
__REACT_WEB_CONFIG__: JSON.stringify(env),

Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCash/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>432</string>
<string>438</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false />
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCashTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>432</string>
<string>438</string>
</dict>
</plist>
101 changes: 100 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expensify.cash",
"version": "1.0.1-433",
"version": "1.0.1-439",
"author": "Expensify, Inc.",
"homepage": "https://expensify.cash",
"description": "Expensify.cash is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand All @@ -23,7 +23,8 @@
"print-version": "echo $npm_package_version",
"detox-build": "detox build --configuration ios.sim.debug",
"detox-test": "detox test --configuration ios.sim.debug",
"gh-actions-build": "./.github/scripts/buildActions.sh"
"gh-actions-build": "./.github/scripts/buildActions.sh",
"analyze-packages": "ANALYZE_BUNDLE=true webpack --config config/webpack/webpack.prod.js"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.12.1",
Expand Down Expand Up @@ -120,6 +121,7 @@
"react-native-version": "^4.0.0",
"react-test-renderer": "16.13.1",
"webpack": "^4.44.1",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.1.1"
Expand Down
1 change: 0 additions & 1 deletion src/ONYXKEYS.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default {
// Information about the current session (authToken, accountID, email, loading, error)
SESSION: 'session',
IS_SIDEBAR_SHOWN: 'isSidebarShown',
IS_CHAT_SWITCHER_ACTIVE: 'isChatSwitcherActive',
IS_SIDEBAR_ANIMATING: 'isSidebarAnimating',
BETAS: 'betas',

Expand Down
1 change: 1 addition & 0 deletions src/ROUTES.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
REPORT: '/r/:reportID',
getReportRoute: reportID => `/r/${reportID}`,
ROOT: '/',
SEARCH: '/search',
SET_PASSWORD: '/setpassword/:validateCode',
SIGNIN: '/signin',
SIGNIN_WITH_EXITTO: '/signIn/exitTo/:exitTo*',
Expand Down
5 changes: 4 additions & 1 deletion src/components/Hoverable/HoverablePropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import PropTypes from 'prop-types';

const propTypes = {
// Children to wrap with Hoverable.
children: PropTypes.node.isRequired,
children: PropTypes.oneOfType([
PropTypes.node,
PropTypes.func,
]).isRequired,

// Function that executes when the mouse moves over the children.
onHoverIn: PropTypes.func,
Expand Down
1 change: 1 addition & 0 deletions src/components/Modal/BaseModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const BaseModal = (props) => {
animationIn={animationIn}
animationOut={animationOut}
useNativeDriver={props.useNativeDriver}
statusBarTranslucent
>
<CustomStatusBar />
<SafeAreaInsetsContext.Consumer>
Expand Down
6 changes: 6 additions & 0 deletions src/components/OptionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import OptionRow from '../pages/home/sidebar/OptionRow';
import optionPropTypes from './optionPropTypes';

const propTypes = {
// Style for hovered state
// eslint-disable-next-line react/forbid-prop-types
optionHoveredStyle: PropTypes.object,

// Extra styles for the section list container
contentContainerStyles: PropTypes.arrayOf(PropTypes.object),

Expand Down Expand Up @@ -63,6 +67,7 @@ const propTypes = {
};

const defaultProps = {
optionHoveredStyle: undefined,
contentContainerStyles: [],
sections: [],
focusedIndex: 0,
Expand Down Expand Up @@ -145,6 +150,7 @@ class OptionsList extends Component {
return (
<OptionRow
option={item}
hoverStyle={this.props.optionHoveredStyle}
optionIsFocused={!this.props.disableFocusOptions
&& this.props.focusedIndex === (index + section.indexOffset)}
onSelectRow={this.props.onSelectRow}
Expand Down
1 change: 1 addition & 0 deletions src/components/OptionsSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class OptionsSelector extends Component {
</View>
<OptionsList
ref={el => this.list = el}
optionHoveredStyle={styles.hoveredComponentBG}
onSelectRow={this.props.onSelectRow}
sections={this.props.sections}
focusedIndex={this.state.focusedIndex}
Expand Down
21 changes: 0 additions & 21 deletions src/libs/actions/ChatSwitcher.js

This file was deleted.

Loading

0 comments on commit a851d91

Please sign in to comment.