Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor add company #32

Merged
merged 27 commits into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cd94979
Update tslint.json
sperezm97 May 6, 2019
8df6866
Move files
sperezm97 May 6, 2019
aea025c
Update fiels moved
sperezm97 May 6, 2019
bb76bbc
Update Redux Structured
sperezm97 May 6, 2019
7e5e015
Delete images
sperezm97 May 7, 2019
0b6f470
change files
sperezm97 May 7, 2019
952c31e
add Global Component Input
sperezm97 May 7, 2019
5360eee
Enable Catc Erro 401 or 403
sperezm97 May 7, 2019
324a8f2
add types for lodash
sperezm97 May 7, 2019
17d107d
Add Styles
sperezm97 May 7, 2019
2eba40a
Add Lpgin Input Component
sperezm97 May 7, 2019
54f64b4
Update Session in Redux
sperezm97 May 7, 2019
dfc8961
Add Alias to folders
sperezm97 May 7, 2019
3558ffd
add global sucess button
sperezm97 May 8, 2019
4518e8a
add global danger button
sperezm97 May 8, 2019
ba5be35
Step up Danger Button for global assets
sperezm97 May 10, 2019
f64d024
step up global input to assets
sperezm97 May 10, 2019
c05e3ad
step up success button to assets
sperezm97 May 10, 2019
871d8db
Styles
sperezm97 May 10, 2019
9f816c0
Step up global function to handle formdata convert
sperezm97 May 10, 2019
7d95199
Refactor Add Company Screen
sperezm97 May 10, 2019
1b7a54a
add test to Add Company:
sperezm97 May 10, 2019
1ce2168
Merge branch 'development' of github.com:Gewaer/mobile-canvas into re…
sperezm97 May 10, 2019
fcdd683
Update project.pbxproj
sperezm97 May 10, 2019
55569c2
Fix utils path
sperezm97 May 10, 2019
552cb67
FIx project
sperezm97 May 10, 2019
82d3acd
Merge branch 'development' into refactor-add-company
alexup19 May 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions __tests__/AddCompany.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "react-native";
import React from "react";
import renderer from "react-test-renderer";
import AddCompany from "../src/screens/add-company";

test("funtion are renderes", () => {
const company = renderer.create(<AddCompany />).toJSON();
expect(company).toMatchSnapshot();
});
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @lint-ignore-every XPLATJSCOPYRIGHT1
*/
import { Navigation } from 'react-native-navigation';
import { registerScreens } from './src/navigation/screens';
import registerScreens from './src/screens/registerScreen';
import'./src/config/sentry';

registerScreens();
Expand Down
19 changes: 1 addition & 18 deletions ios/Canvas.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
B6290EC72270A8EE007487F7 /* libRNImageCropPicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B6290EC62270A8EE007487F7 /* libRNImageCropPicker.a */; };
B6290EE52270C973007487F7 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = B6290EE42270C973007487F7 /* GoogleService-Info.plist */; };
B629255C21DE5F0900A4F676 /* libRNDocumentPicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B629255921DE5EB200A4F676 /* libRNDocumentPicker.a */; };
B63328EF2278C7A500A37E24 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63328C02278C7A500A37E24 /* JavaScriptCore.framework */; };
B63328F02278CFEC00A37E24 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63328C02278C7A500A37E24 /* JavaScriptCore.framework */; };
B641D4E3AC824B188D2AC689 /* libRNSentry.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 09264A8CE9B34A6D832DF556 /* libRNSentry.a */; };
B6A59B50226FAF8A00F16927 /* libFBSDKCoreKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B6A59B4F226FAF8A00F16927 /* libFBSDKCoreKit.a */; };
Expand Down Expand Up @@ -564,11 +563,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
<<<<<<< Updated upstream
B73E4F56227B4DA800D107A6 /* libRNSound.a in Frameworks */,
=======
B63328EF2278C7A500A37E24 /* JavaScriptCore.framework in Frameworks */,
>>>>>>> Stashed changes
B6290EC72270A8EE007487F7 /* libRNImageCropPicker.a in Frameworks */,
B6A59B58226FAF9200F16927 /* libRNGoogleSignin.a in Frameworks */,
B6A59B50226FAF8A00F16927 /* libFBSDKCoreKit.a in Frameworks */,
Expand Down Expand Up @@ -760,12 +755,7 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
<<<<<<< Updated upstream
B73E4F55227B4DA800D107A6 /* libRNSound.a */,
=======
B63328C02278C7A500A37E24 /* JavaScriptCore.framework */,
B630C2CF22720BE700D206E1 /* RNTrackPlayer.xcodeproj */,
>>>>>>> Stashed changes
B6290EDD2270AF0B007487F7 /* RNSound.xcodeproj */,
B6290EC62270A8EE007487F7 /* libRNImageCropPicker.a */,
B6A59B6E226FB0F900F16927 /* ReactNativeNavigation.xcodeproj */,
Expand Down Expand Up @@ -924,6 +914,7 @@
85D88B093817400E88D158CC /* libimageCropPicker.a */,
09264A8CE9B34A6D832DF556 /* libRNSentry.a */,
AA4DD1973A8540AEB294577D /* libRNSentry-tvOS.a */,
B63328C02278C7A500A37E24 /* JavaScriptCore.framework */,
);
name = "Recovered References";
sourceTree = "<group>";
Expand Down Expand Up @@ -1942,11 +1933,7 @@
"$(inherited)",
"-lc++",
);
<<<<<<< Updated upstream
PRODUCT_BUNDLE_IDENTIFIER = com.mctekk.canvas;
=======
PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.CanvasMobile;
>>>>>>> Stashed changes
PRODUCT_NAME = Canvas;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -1979,11 +1966,7 @@
"$(inherited)",
"-lc++",
);
<<<<<<< Updated upstream
PRODUCT_BUNDLE_IDENTIFIER = com.mctekk.canvas;
=======
PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.CanvasMobile;
>>>>>>> Stashed changes
PRODUCT_NAME = Canvas;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"test-android": "cd android && fastlane test && cd ../"
},
"dependencies": {
"@types/lodash": "^4.14.123",
"@types/react-native": "^0.57.51",
"@types/react-redux": "^7.0.8",
"axios": "^0.18.0",
"lodash": "^4.17.11",
"moment": "^2.24.0",
Expand Down Expand Up @@ -50,6 +53,7 @@
"@types/enzyme": "^3.9.1",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/react-test-renderer": "^16.8.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "24.1.0",
Expand All @@ -62,7 +66,7 @@
"react-dom": "^16.8.6",
"react-native-dotenv": "^0.2.0",
"react-native-typescript-transformer": "^1.2.12",
"react-test-renderer": "16.6.3",
"react-test-renderer": "^16.6.3",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
Expand Down
34 changes: 0 additions & 34 deletions src/actions/SessionActions.js

This file was deleted.

50 changes: 0 additions & 50 deletions src/assets/images/ahorrando/ahorrando-W.svg

This file was deleted.

Binary file removed src/assets/images/ahorrando/ahorrando-tag-W-gdt.png
Binary file not shown.
119 changes: 0 additions & 119 deletions src/assets/images/ahorrando/ahorrando-tag-W-gdt.svg

This file was deleted.

Binary file removed src/assets/images/ahorrando/credit-card.png
Binary file not shown.
Loading