Skip to content

Commit

Permalink
Beta (#265)
Browse files Browse the repository at this point in the history
* Fabric iOS

* Fabric configured on iOS and Android

* - react-native-fabric configured

- login tracked

* README updated

* Run scripts from README updated

* README scripts

* get rooms and messages by rest

* user status

* more improves

* more improves

* send pong on timeout

* fix some methods

* more tests

* rest messages

* Room actions (#266)

* Toggle notifications

* Search messages

* Invite users

* Mute/Unmute users in room

* rocket.cat messages

* Room topic layout fixed

* Starred messages loading onEndReached

* Room actions onEndReached

* Unnecessary login request

* Login loading

* Login services fixed

* User presence layout

* ïmproves on room actions view

* Removed unnecessary data from SelectedUsersView

* load few messages on open room, search message improve

* fix loading messages forever

* Removed state from search

* Custom message time format

* secureTextEntry layout

* Reduce android app size

* Roles subscription fix

* Public routes navigation

* fix reconnect

* - New login/register, login, register

* proguard

* Login flux

* App init/restore

* Android layout fixes

* Multiple meteor connection requests fixed

* Nested attachments

* Nested attachments

* fix check status

* New login layout (#269)

* Public routes navigation

* New login/register, login, register

* Multiple meteor connection requests fixed

* Nested attachments

* Button component

* TextInput android layout fixed

* Register fixed

* Thinner close modal button

* Requests /me after login only one time

* Static images moved

* fix reconnect

* fix ddp

* fix custom emoji

* New message layout (#273)

* Grouping messages

* Message layout

* Users typing animation

* Image  attachment layout
  • Loading branch information
ggazzo committed Apr 24, 2018
1 parent aa92d63 commit bf8d0c3
Show file tree
Hide file tree
Showing 135 changed files with 24,784 additions and 12,670 deletions.
Empty file modified .circleci/changelog.sh
100644 → 100755
Empty file.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run:
name: Test
command: |
npm test
npm run test
- run:
name: Codecov
Expand Down Expand Up @@ -151,9 +151,7 @@ jobs:
name: Install NPM modules
command: |
rm -rf node_modules
# npm install --save react-native@0.51
npm install
# npm install react-native
- run:
name: Fix known build error
Expand Down Expand Up @@ -227,6 +225,7 @@ workflows:
filters:
branches:
only:
- beta
- develop
- master
# - ios-testflight:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ Follow the [React Native Getting Started Guide](https://facebook.github.io/react
$ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
$ cd Rocket.Chat.ReactNative
$ npm install -g react-native-cli
$ yarn
$ npm install
```
- Configuration
```bash
$ yarn fabric-ios --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
$ yarn fabric-android --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
$ npm run fabric-ios --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
$ npm run fabric-android --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
```

- Run application
```bash
$ yarn ios
$ npm run ios
```
```bash
$ yarn android
$ npm run android
```

# Storybook
Expand Down
75 changes: 36 additions & 39 deletions __tests__/__snapshots__/RoomItem.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ exports[`render channel 1`] = `
},
Object {
"backgroundColor": "#00BCD4",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -147,10 +147,8 @@ exports[`render channel 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
/>
Expand Down Expand Up @@ -206,7 +204,7 @@ exports[`render no icon 1`] = `
},
Object {
"backgroundColor": "#3F51B5",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -307,10 +305,8 @@ exports[`render no icon 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
/>
Expand Down Expand Up @@ -366,7 +362,7 @@ exports[`render private group 1`] = `
},
Object {
"backgroundColor": "#FF9800",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -467,10 +463,8 @@ exports[`render private group 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
/>
Expand Down Expand Up @@ -527,7 +521,7 @@ exports[`render unread +999 1`] = `
},
Object {
"backgroundColor": "#3F51B5",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -561,13 +555,16 @@ exports[`render unread +999 1`] = `
"height": 16,
"width": 16,
},
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
Array [
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
undefined,
],
Object {
"backgroundColor": "#cbced1",
},
Expand Down Expand Up @@ -639,10 +636,8 @@ exports[`render unread +999 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
>
Expand Down Expand Up @@ -721,7 +716,7 @@ exports[`render unread 1`] = `
},
Object {
"backgroundColor": "#3F51B5",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -755,13 +750,16 @@ exports[`render unread 1`] = `
"height": 16,
"width": 16,
},
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
Array [
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
undefined,
],
Object {
"backgroundColor": "#cbced1",
},
Expand Down Expand Up @@ -833,10 +831,8 @@ exports[`render unread 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
>
Expand Down Expand Up @@ -915,7 +911,7 @@ exports[`renders correctly 1`] = `
},
Object {
"backgroundColor": "#3F51B5",
"borderRadius": 4,
"borderRadius": 2,
"height": 46,
"width": 46,
},
Expand Down Expand Up @@ -949,13 +945,16 @@ exports[`renders correctly 1`] = `
"height": 16,
"width": 16,
},
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
Array [
Object {
"borderColor": "#fff",
"borderWidth": 3,
"bottom": -3,
"position": "absolute",
"right": -3,
},
undefined,
],
Object {
"backgroundColor": "#cbced1",
},
Expand Down Expand Up @@ -1027,10 +1026,8 @@ exports[`renders correctly 1`] = `
style={
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"justifyContent": "flex-end",
"width": "100%",
}
}
/>
Expand Down
Loading

0 comments on commit bf8d0c3

Please sign in to comment.