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

API: Deprecate Organization Location. Replace with Address #1650

Closed
palisadoes opened this issue Jan 7, 2024 · 14 comments
Closed

API: Deprecate Organization Location. Replace with Address #1650

palisadoes opened this issue Jan 7, 2024 · 14 comments
Assignees
Labels
feature request no-issue-activity No issue activity test Testing application

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Jan 7, 2024

Is your feature request related to a problem? Please describe.

Organizations only have a location field to describe their physical location

Describe the solution you'd like

  1. Replace the location field with the existing address type
    1. Location is deprecated and must not be supported
  2. Repo actions required
    1. Talawa API
      1. Verify whether your repo is using location for organizations and remove support and replace it with address
      2. Update the appropriate mutations and queries
    2. Talawa Mobile
      1. Verify whether your repo is using location for organizations and remove support and replace it with address
      2. Update the appropriate mutations and queries used to interact with the API
    3. Talawa Admin
      1. Verify whether your repo is using location for organizations and remove support and replace it with address
      2. Update the appropriate mutations and queries used to interact with the API
  3. Create and update the appropriate tests to have valid test criteria
  4. No other features must be affected by this change

Describe alternatives you've considered

  • N/A

Approach to be followed (optional)

  • See above

Additional context

  1. Address Type
    image
  2. Organization Type
    image

Related Issues

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship

@Anubhav-2003
Copy link
Contributor

@palisadoes I would like to work on this issue sir.

@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Jan 7, 2024
@Sejal1411
Copy link

Would like to work in this issue...pls assign!

@Anubhav-2003
Copy link
Contributor

@palisadoes Respected sir, I wanted to tell that I have made most of the changes in the Talawa-api regarding the switch from location to address, but in order to verify if the changes are working properly or not, I was using Talawa-admin portal. And from What I observed that there are quite a few places where the changes must be made in the front-end to ensure that the Talawa admin portal works properly, like updating forms, mutations, and queries after the changes in the API.

Should I make those changes in the admin portal as well? Because without those changes, it would be hard to tell if the admin portal would work properly after my changes.

Thank You.

@palisadoes
Copy link
Contributor Author

  1. Yes.
  2. Create an issue for that immediately after this PR is merged.
  3. Ask to be assigned when you do so. Work with @aashimawadhwa and @rishav-jha-mech on a design

@Anubhav-2003
Copy link
Contributor

@palisadoes ok sir. But I think we should not merge this PR until all the changes are made in the front-end. Otherwise people working in the talawa-admin will face issues. I think We can fix them parallelly, test and then merge the PR’s, only after ensuring that the organisations are being handled properly by both ends.

@palisadoes
Copy link
Contributor Author

OK, let's try that approach, but you should still get approvals for this PR so that we can merge without delay when necessary

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Jan 22, 2024
@palisadoes palisadoes changed the title Update the Organization Collection to Include Address Data API: Deprecate Organization Location. Replace with Address Jan 26, 2024
@github-actions github-actions bot removed the no-issue-activity No issue activity label Jan 27, 2024
@palisadoes palisadoes reopened this Jan 28, 2024
@palisadoes
Copy link
Contributor Author

@Anubhav-2003

Our push GitHub action is failing after merging your PR.

This issue needs to be reopened until it's fixed.

@Anubhav-2003
Copy link
Contributor

@palisadoes ok sir, let me see the bug and fix it. Thank you.

@Anubhav-2003
Copy link
Contributor

Anubhav-2003 commented Jan 28, 2024

@palisadoes Respected sir,

I just pulled the latest changes from the develop branch of the API, and the admin portal after my PR got merged, and tested. All features seem to be working as expected.

Sir, in my last API PR, there were significant changes to the schema.graphql of the TALAWA API, and the above error is also related to inspection. Is it just possible sir that the PR from the specified reference ('refs/pull/24/merge'), does not have the updated schema.

Also sir, I would advice everyone to pull the latest changes from the develop branch before making any PR'S else all of their tests related to GraphQL schema would fail, if they would not have the current one.

Thank You.

@palisadoes
Copy link
Contributor Author

Run the schema test command against your local repos to see if the error persists.

@Anubhav-2003
Copy link
Contributor

@palisadoes ok sir. Let me do that.

Copy link

github-actions bot commented Feb 8, 2024

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Feb 8, 2024
@Anubhav-2003
Copy link
Contributor

Anubhav-2003 commented Feb 14, 2024

@palisadoes Repscted sir,

Please close this issue as I have completed it, and the PR has been successfully merged with the feature implemented. The push workflow fail you refered to was actually failing from before my PR got merged, and has nothing to do with my PR, as you can see from this workflow link: https://github.com/PalisadoesFoundation/talawa-api/actions/runs/7670722935/job/20907525959 , this check ran before my PR #1740 was merged. Infact the push workflow has now been failing for months. We need to fix it.

This issue has been succesfully solved. Thank You.

But one suggestion I would like to make is please create an issue that address the fact that the push workflow from inspect.yml is failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request no-issue-activity No issue activity test Testing application
Projects
None yet
Development

No branches or pull requests

3 participants