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

Create new features #6

Open
8 tasks
steveoh opened this issue Sep 23, 2024 · 0 comments
Open
8 tasks

Create new features #6

steveoh opened this issue Sep 23, 2024 · 0 comments
Labels
area: feature creation Functionality related to feature creation area: project panel Functionality within the project panel size: small 10 hours or less estimated

Comments

@steveoh
Copy link
Member

steveoh commented Sep 23, 2024

When a user is logged in and viewing a project they are able to edit, with an editable status, and the project allows features

Tasks

  • Place some UI to allow adding features in the project information panel.

  • The shape and all inputs are required before sending the request to the API. Design cloud native supporting API #19

  • The editor should be allowed to pick from the available feature types

    Feature types currently come from an api call (/api/supporting/filters)
    "featureType": [
       {
           "code": 1,
           "featureType": "Terrestrial Treatment Area",
           "type": "Poly "
       },
       {
           "code": 2,
           "featureType": "Aquatic/Riparian Treatment Area",
           "type": "Poly "
       },
       {
           "code": 3,
           "featureType": "Affected Area",
           "type": "Poly "
       },
       {
           "code": 4,
           "featureType": "Easement/Acquisition",
           "type": "Poly "
       },
       {
           "code": 5,
           "featureType": "Guzzler",
           "type": "Point"
       },
       {
           "code": 8,
           "featureType": "Other point feature",
           "type": "Point"
       },
       {
           "code": 9,
           "featureType": "Fish passage structure",
           "type": "Point"
       },
       {
           "code": 10,
           "featureType": "Fence",
           "type": "Line "
       },
       {
           "code": 11,
           "featureType": "Pipeline",
           "type": "Line "
       },
       {
           "code": 12,
           "featureType": "Dam",
           "type": "Line "
       },
       {
           "code": 13,
           "featureType": "Water development point feature",
           "type": "Point"
       }
  • Aquatic and Terrestrial treatment types (code 1 and 2) are able to add multiple action and treatment combinations and to denote if it is a re-treatment.

  • If a herbicide action is selected, an additional herbicide dropdown choice is required

  • The additional actions are able to be edited and removed

The shape drawing and shapefile uploading are defined in separate issues

Improvements

  • Add a drop down with the following values
    • Cultural Resource Inventory
    • Biological Surveys
    • Engineering
    • Other
  • If other is selected, provide a freeform text input. Use the same max length as the other point feature type.

Prior implementation

Image
Image

References

@steveoh steveoh added size: small 10 hours or less estimated area: feature creation Functionality related to feature creation area: project panel Functionality within the project panel labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: feature creation Functionality related to feature creation area: project panel Functionality within the project panel size: small 10 hours or less estimated
Projects
None yet
Development

No branches or pull requests

1 participant