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: create and update trees #126

Merged
merged 17 commits into from
Oct 11, 2024
Merged

feat: create and update trees #126

merged 17 commits into from
Oct 11, 2024

Conversation

choffmann
Copy link
Member

@choffmann choffmann commented Oct 9, 2024

Close #65
Close #74

Test with backend green-ecolution/green-ecolution-backend#106

doriengr

This comment was marked as resolved.

Copy link
Contributor

@doriengr doriengr left a comment

Choose a reason for hiding this comment

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

🔥

frontend/src/components/general/cards/SelectedCard.tsx Outdated Show resolved Hide resolved
frontend/src/components/general/cards/TreeclusterCard.tsx Outdated Show resolved Hide resolved
frontend/src/components/general/form/FormForTree.tsx Outdated Show resolved Hide resolved
frontend/src/routes/_protected/map/tree/edit.tsx Outdated Show resolved Hide resolved
frontend/src/routes/_protected/map/tree/edit.tsx Outdated Show resolved Hide resolved
frontend/src/routes/_protected/map/tree/edit.tsx Outdated Show resolved Hide resolved
@doriengr
Copy link
Contributor

There is something confusing to me:

  1. I select a location on the map for a new tree
  2. I am navigated to the form
  3. I want to change the location
  4. The latitude and longitude that I selected before are not shown in the SelectModal
  5. When I click on »Zurück« I am not navigated back to the form, but I am navigated back to the map.

@doriengr
Copy link
Contributor

doriengr commented Oct 10, 2024

Edit-View:
The save button is disabled even tho I have every field that is required filled with content.
I have to click inside the description field before I can save.

image

@choffmann
Copy link
Member Author

There is something confusing to me:

  1. I select a location on the map for a new tree
  2. I am navigated to the form
  3. I want to change the location
  4. The latitude and longitude that I selected before are not shown in the SelectModal
  5. When I click on »Zurück« I am not navigated back to the form, but I am navigated back to the map.

Whops, wrong redirect

Copy link
Contributor

@doriengr doriengr left a comment

Choose a reason for hiding this comment

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

🔥

@choffmann choffmann merged commit 46fab67 into develop Oct 11, 2024
1 check passed
@choffmann choffmann deleted the feature/add-tree-formulars branch October 11, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-reviewer Send notification in Discord
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add view to create single tree Add view to edit single tree
2 participants