Skip to content

Commit

Permalink
Add Resource Admin, simplify crm, menu
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeBellTMH committed May 16, 2023
1 parent 4bc5305 commit 05d8537
Show file tree
Hide file tree
Showing 9 changed files with 587 additions and 394 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"editor.formatOnSave": false
},
"cSpell.words": [
"customqueries",
"fileupload",
"geocode",
"Graphik",
"Ionicons",
"testid",
"uuidv"
]
Expand Down
362 changes: 203 additions & 159 deletions amplify/backend/yarn.lock

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions amplify/team-provider-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@
},
"S3Trigger14f1cefa": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/S3Trigger14f1cefa-644d71427a365a7a6741-build.zip"
"s3Key": "amplify-builds/S3Trigger14f1cefa-4b6731493636395a6648-build.zip"
},
"S3Trigger839efa13": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/S3Trigger839efa13-58354f542f46714e764c-build.zip"
"s3Key": "amplify-builds/S3Trigger839efa13-6a706f6a7756534b4371-build.zip"
},
"AdminQueries7403b6cf": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
Expand All @@ -230,56 +230,56 @@
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripPreviewInvoice-392b31626f49504a4645-build.zip"
"s3Key": "amplify-builds/jcmobileStripPreviewInvoice-4f6e6553634952535a75-build.zip"
},
"jcUpdateMainUserGroup": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcUpdateMainUserGroup-535a6c507263795a6876-build.zip"
"s3Key": "amplify-builds/jcUpdateMainUserGroup-544a613657447a61746c-build.zip"
},
"jcmobileStripWebhook": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripWebhook-5743304875366c4d7247-build.zip"
"s3Key": "amplify-builds/jcmobileStripWebhook-516e73676c5931424f68-build.zip"
},
"jcmobileStripCreateSubscription": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripCreateSubscription-74336d38484f435a3761-build.zip"
"s3Key": "amplify-builds/jcmobileStripCreateSubscription-6c356255697a31475263-build.zip"
},
"jcmobileStripCreateCustomer": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripCreateCustomer-48596d3570344c497948-build.zip"
"s3Key": "amplify-builds/jcmobileStripCreateCustomer-634e794e6d566236354a-build.zip"
},
"jcmobileStripListInvoices": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripListInvoices-4e4c54756e78546f5a39-build.zip"
"s3Key": "amplify-builds/jcmobileStripListInvoices-4d6f47386d44334d356e-build.zip"
},
"jcProcessDMAlerts": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcProcessDMAlerts-6f364546663143487764-build.zip"
"s3Key": "amplify-builds/jcProcessDMAlerts-7262724e3658306c6171-build.zip"
},
"jcProcessMessageAlerts": {
"userPoolId": "us-east-1_fe30GuOOt",
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcProcessMessageAlerts-692b73506b3454335156-build.zip"
"s3Key": "amplify-builds/jcProcessMessageAlerts-2f6c416f434f68522b63-build.zip"
},
"jcmobile": {},
"jcmobileStripeCreatePaymentIntent": {
Expand All @@ -296,7 +296,7 @@
},
"jcmobileCreateCognitoOrgUser": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileCreateCognitoOrgUser-51316a4e3446466e354b-build.zip"
"s3Key": "amplify-builds/jcmobileCreateCognitoOrgUser-6e5934784c445a706354-build.zip"
},
"jcmobileSendInviteToOrgUser": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
Expand All @@ -315,23 +315,23 @@
"userPoolWebClientId": "68v5dgb5s96v9lf87cjfpeqmn9",
"identityPoolId": "us-east-1:7b6acfbf-d55c-46e9-a0de-d3bf264f8fca",
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcHandleActivity-486d71615965666d4876-build.zip"
"s3Key": "amplify-builds/jcHandleActivity-65694471516d79756b30-build.zip"
},
"jcmobilePinpointCleanEndpoints": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobilePinpointCleanEndpoints-4a446f654f43686c4374-build.zip"
"s3Key": "amplify-builds/jcmobilePinpointCleanEndpoints-4a6531736b376437546c-build.zip"
},
"jcmobileStripListProducts": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileStripListProducts-376e76326b487335396c-build.zip"
"s3Key": "amplify-builds/jcmobileStripListProducts-62517476544e64427761-build.zip"
},
"jcmobileShared": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/jcmobileShared-LambdaLayerVersiona4839d24-build.zip"
},
"deleteJCUser": {
"deploymentBucketName": "jc-mobile-dev-20190809190418-deployment",
"s3Key": "amplify-builds/deleteJCUser-6d4c457a56595647716f-build.zip"
"s3Key": "amplify-builds/deleteJCUser-677538716e6f6f785756-build.zip"
}
},
"video": {
Expand Down
36 changes: 33 additions & 3 deletions components/adminStyles.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
export const AdminStyles = {
textHeader: {
fontFamily: "Graphik-Bold-App",
fontStyle: "normal",
fontWeight: 600,
fontSize: 24,
lineHeight: "140%",
color: "#3D454D",
marginBottom: 40,
},
textTableHeader: {
fontFamily: "Graphik-Regular-App",
textTransform: "uppercase",
fontStyle: "normal",
fontWeight: 500,
fontSize: 12,
color: "#49596B",
},
textTableBold: {
fontFamily: "Graphik-Regular-App",
fontStyle: "normal",
fontWeight: "600",
fontSize: 14,
color: "#49596B",
},
adminScreenMainContainer: {
display: "flex",
flexDirection: "row",
Expand All @@ -20,6 +44,10 @@ export const AdminStyles = {
color: "#aaaaaa",
fontSize: 34,
},
smallIcon: {
color: "#aaaaaa",
fontSize: 12,
},
/* icon: {
color: "#aaaaaa",
fontSize: 28,
Expand Down Expand Up @@ -83,7 +111,6 @@ export const AdminStyles = {
fontSize: 24,
},
adminCRMTableContainer: {
backgroundColor: "#F0493E",
flex: 1,
height: 40,
alignSelf: "stretch",
Expand Down Expand Up @@ -124,7 +151,7 @@ export const AdminStyles = {
flexDirection: "row",
},
AdminFirstNameTableHeader: {
flex: 1,
flex: 3,
alignSelf: "stretch",
},
AdminLastNameTableHeader: {
Expand Down Expand Up @@ -166,9 +193,12 @@ export const AdminStyles = {
marginTop: 10,
marginBottom: 10,
alignContent: "center",
padding: 10,
borderTopWidth: 1,
borderTopColor: "#E9EDF2",
},
AdminFirstNameTableRow: {
flex: 1,
flex: 3,
alignSelf: "stretch",
justifyContent: "center",
},
Expand Down
Loading

0 comments on commit 05d8537

Please sign in to comment.