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

added basic structure for extensions #1402

Merged
merged 15 commits into from
May 28, 2021
Merged

added basic structure for extensions #1402

merged 15 commits into from
May 28, 2021

Conversation

KumudiniK
Copy link
Contributor

Summary

Test Plan

@codecov
Copy link

codecov bot commented May 20, 2021

Codecov Report

Merging #1402 (2a0948f) into master (2ed0c4e) will increase coverage by 9.87%.
The diff coverage is 78.20%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1402      +/-   ##
==========================================
+ Coverage   76.01%   85.89%   +9.87%     
==========================================
  Files         180      193      +13     
  Lines        5503     6266     +763     
  Branches     1139     1485     +346     
==========================================
+ Hits         4183     5382    +1199     
+ Misses        931      776     -155     
+ Partials      389      108     -281     
Impacted Files Coverage Δ
...rc/route/AuthenticatedRoute/AuthenticatedRoute.tsx 85.13% <0.00%> (+17.01%) ⬆️
src/containers/Form/FormLayout.tsx 82.19% <73.68%> (+28.02%) ⬆️
src/containers/Extensions/Extensions.tsx 76.00% <76.00%> (ø)
...nts/UI/Layout/Navigation/SideDrawer/SideDrawer.tsx 77.14% <100.00%> (+21.97%) ⬆️
...c/containers/OrganizationList/OrganizationList.tsx 92.06% <100.00%> (-4.37%) ⬇️
src/graphql/mutations/Extensions.ts 100.00% <100.00%> (ø)
src/graphql/queries/Exntesions.ts 100.00% <100.00%> (ø)
src/mocks/Extension.ts 100.00% <100.00%> (ø)
src/context/session.ts 66.66% <0.00%> (-33.34%) ⬇️
src/components/UI/MessageDialog/MessageDialog.tsx 66.66% <0.00%> (-33.34%) ⬇️
... and 104 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ed0c4e...2a0948f. Read the comment docs.

@cypress
Copy link

cypress bot commented May 20, 2021



Test summary

165 0 0 0Flakiness 2


Run details

Project Glific
Status Passed
Commit a7239b2 ℹ️
Started May 28, 2021 6:56 AM
Ended May 28, 2021 7:21 AM
Duration 24:33 💡
OS Linux Ubuntu - 20.04
Browser Electron 89

View run in Cypress Dashboard ➡️


Flakiness

flow/Flow.spec.ts Flakiness
1 Flow > should check duplicate new Flow
roles/staff/chat/Chat.spec.ts Flakiness
1 Role - Staff - Chats > Send attachment - Document

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@KumudiniK KumudiniK requested a review from mdshamoon May 20, 2021 12:52
Comment on lines 93 to 120
return (
<Dialog
open={!!openDialog}
classes={{
paper: styles.Dialogbox,
}}
>
<DialogContent classes={{ root: styles.DialogContent }}>
<FormLayout
{...queries}
match={match}
states={states}
setStates={setStates}
validationSchema={FormSchema}
listItemName="extension"
dialogMessage={dialogMessage}
formFields={formFields}
setPayload={setPayload}
redirectionLink="organizations"
listItem="Extension"
icon={flowIcon}
title={title}
type="Extension"
languageSupport={false}
/>
</DialogContent>
</Dialog>
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return (
<Dialog
open={!!openDialog}
classes={{
paper: styles.Dialogbox,
}}
>
<DialogContent classes={{ root: styles.DialogContent }}>
<FormLayout
{...queries}
match={match}
states={states}
setStates={setStates}
validationSchema={FormSchema}
listItemName="extension"
dialogMessage={dialogMessage}
formFields={formFields}
setPayload={setPayload}
redirectionLink="organizations"
listItem="Extension"
icon={flowIcon}
title={title}
type="Extension"
languageSupport={false}
/>
</DialogContent>
</Dialog>
);
return (
<>
<OrganizationList />
<Dialog
open={!!openDialog}
classes={{
paper: styles.Dialogbox,
}}
>
<DialogContent classes={{ root: styles.DialogContent }}>
<FormLayout
{...queries}
match={match}
states={states}
setStates={setStates}
validationSchema={FormSchema}
listItemName="extension"
dialogMessage={dialogMessage}
formFields={formFields}
setPayload={setPayload}
redirectionLink="organizations"
listItem="Extension"
icon={flowIcon}
title={title}
type="Extension"
languageSupport={false}
/>
</DialogContent>
</Dialog>
</>
);

@mdshamoon mdshamoon merged commit 268286f into master May 28, 2021
@mdshamoon mdshamoon deleted the feature/extensions branch May 28, 2021 07:45
@mdshamoon mdshamoon linked an issue May 28, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UI for organisation to add extension code
2 participants