Skip to content

Commit

Permalink
[NEW] Room Loading(#372)
Browse files Browse the repository at this point in the history
<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/reactnative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
  • Loading branch information
diegolmello authored and ggazzo committed Jul 18, 2018
1 parent a6ec03b commit 8c2b715
Show file tree
Hide file tree
Showing 28 changed files with 1,284 additions and 1,959 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": ["react-native"],
"plugins": ["transform-decorators-legacy"],
"plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }]],
"env": {
"production": {
"plugins": ["transform-remove-console"]
Expand Down
54 changes: 0 additions & 54 deletions __tests__/__snapshots__/RoomItem.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ exports[`render channel 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -88,9 +86,7 @@ exports[`render channel 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -112,8 +108,6 @@ exports[`render channel 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -131,8 +125,6 @@ exports[`render channel 1`] = `
general
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down Expand Up @@ -213,9 +205,7 @@ exports[`render no icon 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -253,9 +243,7 @@ exports[`render no icon 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -277,8 +265,6 @@ exports[`render no icon 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -296,8 +282,6 @@ exports[`render no icon 1`] = `
name
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down Expand Up @@ -378,9 +362,7 @@ exports[`render private group 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -418,9 +400,7 @@ exports[`render private group 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -442,8 +422,6 @@ exports[`render private group 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -461,8 +439,6 @@ exports[`render private group 1`] = `
private-group
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down Expand Up @@ -544,9 +520,7 @@ exports[`render unread +999 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -646,9 +620,7 @@ exports[`render unread +999 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -670,8 +642,6 @@ exports[`render unread +999 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -689,8 +659,6 @@ exports[`render unread +999 1`] = `
name
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down Expand Up @@ -718,9 +686,6 @@ exports[`render unread +999 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
style={
Object {
"alignItems": "center",
Expand Down Expand Up @@ -794,9 +759,7 @@ exports[`render unread 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -896,9 +859,7 @@ exports[`render unread 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -920,8 +881,6 @@ exports[`render unread 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -939,8 +898,6 @@ exports[`render unread 1`] = `
name
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down Expand Up @@ -968,9 +925,6 @@ exports[`render unread 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
style={
Object {
"alignItems": "center",
Expand Down Expand Up @@ -1044,9 +998,7 @@ exports[`renders correctly 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand Down Expand Up @@ -1146,9 +1098,7 @@ exports[`renders correctly 1`] = `
}
>
<Text
accessible={true}
allowFontScaling={false}
ellipsizeMode="tail"
style={
Array [
Object {
Expand All @@ -1170,8 +1120,6 @@ exports[`renders correctly 1`] = `
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand All @@ -1189,8 +1137,6 @@ exports[`renders correctly 1`] = `
name
</Text>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
numberOfLines={1}
style={
Expand Down
Loading

0 comments on commit 8c2b715

Please sign in to comment.