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

Edit Trip Modal Infrastructure #70

Merged
merged 27 commits into from
Jul 21, 2020

Conversation

zghera
Copy link
Collaborator

@zghera zghera commented Jul 15, 2020

What is a quick description of the change?

Set up "infrastructure" such that the SaveTripModal does the work of the current AddTripModal and what would be a EditTripModal.

Is this fixing an issue?

none

Are there more details that are relevant?

The Edit Trip modal was split up into two PRs, this one and #73 to avoid one very large PR with potential issues when it came to renaming and making many changes on that renamed file.

SaveTripModal replaces AddTripModal and does the same work expect now has three additional props: title, tripId, and placeholderObj that determine whether the modal will be responsible for adding a new trip or editing an existing trip.

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

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

No unit tests as the only changes are infrastructural/organizational.

As of now, integration (end-to-end) tests were deemed non-critical. Thus, functions related to react and firestore will be tested at a later time. Unit tests for "logical" functions will be included in this PR and for the remaining PRs needed to complete the MVP.

Any additional comments?

@zghera zghera self-assigned this Jul 15, 2020
@zghera zghera requested review from anan-ya-y and keiffer01 July 16, 2020 18:10
@zghera zghera mentioned this pull request Jul 16, 2020
1 task
@zghera zghera requested a review from anan-ya-y July 17, 2020 14:16
@zghera zghera requested a review from keiffer01 July 17, 2020 21:04
@zghera zghera marked this pull request as ready for review July 17, 2020 21:04
@zghera zghera merged commit 79e9d30 into rename-add-trip-component Jul 21, 2020
@zghera zghera deleted the edit-trip-modal-infra branch July 21, 2020 22:09
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.

4 participants