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

feat: add the concept of places #2169

Merged
merged 27 commits into from
Dec 21, 2018
Merged

feat: add the concept of places #2169

merged 27 commits into from
Dec 21, 2018

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Dec 19, 2018

This PR adds the concept of places.

Context

A place is a physical address.

Places will be used throughout the app to represent… a place. Currently we use Address for this, but it's not right.

An Address belongs to a Contact and represents the address of where the contact lives (or lived), or works, or whatever.

But what if we wanted to add location information for activities? We can't use Address for this - otherwise they will also appear in the Address tab of the contact, which is not something we would like.

Therefore we need a way to represent a place. Hence this PR.

What this PR does

This PR

  • adds a new Place object
  • adds all API calls for places
  • refactors Addresses to link them with places, and rewrite API calls too

@djaiss djaiss changed the title feat: add the concept of places [wip] feat: add the concept of places Dec 21, 2018
Copy link

@sonarcloud sonarcloud bot left a comment

Choose a reason for hiding this comment

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

SonarQube analysis found issues:
Bug Bugs: 0
Vulnerability Vulnerabilities: 0
Code Smell Code Smells: 6

See all issues in SonarCloud

Copy link

@sonarcloud sonarcloud bot left a comment

Choose a reason for hiding this comment

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

SonarQube analysis found issues:
Bug Bugs: 0
Vulnerability Vulnerabilities: 0
Code Smell Code Smells: 6

See all issues in SonarCloud

@djaiss djaiss merged commit 731a6f0 into master Dec 21, 2018
@djaiss djaiss deleted the 2018-12-18-add-places branch December 23, 2018 18:41
@github-actions
Copy link

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant