Skip to content

Feat: Location or Approach field for Areas (will have separate FE PR) #448

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

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

mikeschen
Copy link
Contributor


name: Pull request
about: Create a pull request
title: Location or Approach field for Areas #1051
labels: feature
assignees: @mikeschen


What type of PR is this?(check all applicable)

  • refactor
  • feature
  • bug fix
  • documentation
  • optimization
  • other

Description

Adds ability for the backend to have a location for areas. We have description, but no way to enter a location.
To Test:

query Example1 {
  areas(filter: {area_name: {match: "Pencil Thin"}}) {
    uuid
    area_name
    content {
      description
      areaLocation
    }
  }
}
  • Make mutation with UUID from query
mutation {
  updateArea(input: {
    uuid: "8caa09a1-fe90-523f-b99e-cf6cba39bdcc",
    areaLocation: "This is my New GPS Coordinates or Description",
    description: "I will Updated description too"
  }) {
    area_name
    content {
      areaLocation
      description
    }
  }
}
  • Check on changes:
query Example1 {
  areas(filter: {area_name: {match: "Pencil Thin"}}) {
    uuid
    area_name
    content {
      description
      areaLocation
    }
  }
}

Related Issues

Issue #
1051

What this PR achieves

Adds ability for the backend to have a location for areas.

Screenshots, recordings

Notes

Sorry, something went wrong.

@mikeschen mikeschen changed the title Location or Approach field for Areas Feat: Location or Approach field for Areas (will have separate FE PR) Feb 12, 2025
@mikeschen mikeschen added the enhancement New feature or request label Feb 12, 2025
@vnugent vnugent merged commit 97036cc into OpenBeta:develop Feb 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants