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

Integrate Auth Utils into ViewTrips Components #113

Merged
merged 20 commits into from
Aug 5, 2020
Merged

Conversation

zghera
Copy link
Collaborator

@zghera zghera commented Jul 29, 2020

What is a quick description of the change?

Integrate the remaining functions from AuthUtils into the ViewTrips directory components and delete fake Auth utils.

Is this fixing an issue?

Fixes #55: Integrated the "real" Auth Util functions in to all current uses within the ViewTrips and Utils directories.
Fixes #111: Because of the alphabetization of the user emails, there was a need to move the current user to the front of the array of emails that is passed as default form values when editing a trip. As a result this need, the implementation provides a working fix for #111.

Are there more details that are relevant?

none

Check lists (check x in [ ] of list items)

  • Test written/updating
  • Tests passing
  • Coding style (indentation, etc)

Updated tests in 'filter-input.test.jsandtrip.js`.

Any additional comments?

@zghera zghera changed the base branch from master to authutils-converting July 29, 2020 03:26
@zghera zghera changed the title Integrate auth utils Integrate All Auth Utils into ViewTrips Components Jul 29, 2020
@zghera zghera changed the title Integrate All Auth Utils into ViewTrips Components Integrate Remaining Auth Utils into ViewTrips Components Jul 29, 2020
@zghera zghera changed the title Integrate Remaining Auth Utils into ViewTrips Components Integrate Auth Utils into ViewTrips Components Jul 29, 2020
Base automatically changed from authutils-converting to master July 29, 2020 20:09
@zghera zghera self-assigned this Jul 30, 2020
@zghera zghera requested review from anan-ya-y and keiffer01 July 30, 2020 15:15
frontend/src/components/ViewTrips/trip.js Outdated Show resolved Hide resolved
@zghera zghera marked this pull request as ready for review July 30, 2020 22:26
@zghera zghera merged commit b6a79cd into master Aug 5, 2020
@zghera zghera deleted the integrate-auth-utils branch August 5, 2020 01:55
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.

SaveTripModal Doesn't Hide Current User Integrate Auth Utils in ViewTrips Components
4 participants