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

Improve existing logical operation #51

Merged
merged 2 commits into from
Feb 27, 2020

Conversation

NiyongaboEric
Copy link
Collaborator

@NiyongaboEric NiyongaboEric commented Feb 21, 2020

What does this PR do?

The PR helps to refactor the existing work.

Description of Task to be completed?

  • Refactor sidebar.
  • Remove string comparison
  • Add style

How should this be manually tested?

  • git clone https://github.com/andela/team-odd-bn-frontend.git
  • cd team-odd-bn-backend
  • bg-frontend-design-improvement-171403437
  • npm install

Pass wrong token will redirect to signin
Skip editing profile step will redirect you to /profile page
Skip email verification will redirect to verify-email page

Any background context you want to provide?

The current work works well. However, we need to improve.

What are the relevant pivotal tracker stories?

#171403437

Screenshots (if appropriate)

Questions:

Copy link
Collaborator

@hezronkimutai hezronkimutai left a comment

Choose a reason for hiding this comment

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

Hi @NiyoEric , I have left some comments, please view them

Copy link
Collaborator

@victkarangwa victkarangwa left a comment

Choose a reason for hiding this comment

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

Well done!

src/components/Profile.js Outdated Show resolved Hide resolved
src/containers/Trips/MulticityTrip.js Outdated Show resolved Hide resolved
src/containers/Trips/MulticityTrip.js Outdated Show resolved Hide resolved
src/containers/TripsContainer/oneway.js Outdated Show resolved Hide resolved
@NiyongaboEric NiyongaboEric force-pushed the bg-frontend-design-improvement-171403437 branch from 29361c9 to a559d8b Compare February 25, 2020 07:19
- refactor code
- add style
- [Finishes #171403437]
@NiyongaboEric NiyongaboEric force-pushed the bg-frontend-design-improvement-171403437 branch from a559d8b to a08905c Compare February 25, 2020 10:28
src/components/CreateProfile.js Outdated Show resolved Hide resolved
src/containers/TripsContainer/Requests.js Outdated Show resolved Hide resolved
src/containers/trips/SearchStats.js Outdated Show resolved Hide resolved
@NiyongaboEric NiyongaboEric force-pushed the bg-frontend-design-improvement-171403437 branch from d0f91c3 to 2f405ab Compare February 25, 2020 14:53
@NiyongaboEric NiyongaboEric force-pushed the bg-frontend-design-improvement-171403437 branch from 2f405ab to df81867 Compare February 26, 2020 08:01
Copy link
Collaborator

@victkarangwa victkarangwa left a comment

Choose a reason for hiding this comment

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

Well done @NiyoEric
However, I've left some feedback. We can work together to get it done!

.env.example Outdated Show resolved Hide resolved
src/containers/Trips/MulticityTrip.js Outdated Show resolved Hide resolved
src/containers/TripsContainer/oneway.js Show resolved Hide resolved
- improve current condition checking
- update env

modify multicity trip request
- remove string comparison for trip request
- check the status of the trip
- edit test`
- [Finishes #171403437]
@NiyongaboEric NiyongaboEric force-pushed the bg-frontend-design-improvement-171403437 branch from 7a6d9a2 to 5c6d6a0 Compare February 26, 2020 11:01
@kipropbrian kipropbrian merged commit 339a4cc into develop Feb 27, 2020
@kipropbrian kipropbrian deleted the bg-frontend-design-improvement-171403437 branch February 27, 2020 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants