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

add shared components for login page #144

Merged
merged 189 commits into from
Jun 8, 2020

Conversation

onkar-josh
Copy link
Contributor

@onkar-josh onkar-josh commented May 19, 2020

  • I have created shared component for Peerly logo.
  • I have written test case for Peerly logo shared component.

@onkar-josh onkar-josh added the react-frontend For PRs of peerly react app label May 19, 2020
@onkar-josh onkar-josh requested a review from mayuriardad May 19, 2020 14:30
@onkar-josh onkar-josh linked an issue May 19, 2020 that may be closed by this pull request
3 tasks
@onkar-josh onkar-josh force-pushed the feature/react/137/login-page-shared-components branch from cf593d1 to 50faf1c Compare May 20, 2020 10:38
@@ -0,0 +1,28 @@
import React from "react";
import { Button } from "react-bootstrap";
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing core component wrapper

@@ -0,0 +1,54 @@
import React from "react";

import { Col, Row } from "react-bootstrap";
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing core component wrapper over react-bootstrap component imports


import LabelComponent from "core-components/Label/LabelComponent";

const Logo = Styled.div`
Copy link
Contributor

Choose a reason for hiding this comment

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

React developer guidelines not met. Go through them again.

Copy link
Contributor

Choose a reason for hiding this comment

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

@onkar-josh address this comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mayuriardad the folder name of label is changed.

`;

const LogoComponent = () => (
<Row className="d-flex flex-column" data-testid="peerlyLogoComponent">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why does a shared component for LogoComponent need Row, Col? Explain the purpose!

@sahilbhatia sahilbhatia added the Changes Requested PR needs changes before it can be merged label May 25, 2020
@onkar-josh onkar-josh force-pushed the feature/react/137/login-page-shared-components branch from a981fbc to f663a5e Compare May 25, 2020 07:55
@onkar-josh onkar-josh removed the Changes Requested PR needs changes before it can be merged label May 25, 2020
@onkar-josh onkar-josh removed their assignment May 25, 2020
`;
const PlusSign = Styled.div`
position: absolute;
top: 55%;
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation miss
cc: @sahilbhatia

@mayuriardad mayuriardad added the Changes Requested PR needs changes before it can be merged label May 25, 2020
@onkar-josh onkar-josh removed the Changes Requested PR needs changes before it can be merged label May 26, 2020
@onkar-josh onkar-josh assigned onkar-josh and unassigned mayuriardad May 26, 2020
@onkar-josh onkar-josh force-pushed the feature/react/137/login-page-shared-components branch from 8ff0195 to d488cf5 Compare May 26, 2020 11:07
@onkar-josh onkar-josh force-pushed the feature/react/137/login-page-shared-components branch from cf8ea86 to ff832f5 Compare June 5, 2020 11:13
@mayuriardad mayuriardad merged commit 202e9a0 into master Jun 8, 2020
@mayuriardad mayuriardad deleted the feature/react/137/login-page-shared-components branch June 8, 2020 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react-frontend For PRs of peerly react app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add shared components needed for login form
4 participants