Skip to content

add ecosystem metadata for project overview#1484

Merged
mariahosfeld merged 29 commits into
developfrom
feature/conservation_manageProjects
May 31, 2022
Merged

add ecosystem metadata for project overview#1484
mariahosfeld merged 29 commits into
developfrom
feature/conservation_manageProjects

Conversation

@sunilsabatp
Copy link
Copy Markdown
Contributor

@sunilsabatp sunilsabatp commented May 22, 2022

issue:
1.eslint error
steps to check : type npx eslint . terminal

2.planting season field loosing data after reload
steps: 1.go to manage project and select one project (activity season for conservation page)
2.click on edit button for that single project
3.then go to detail-analysis form
4.then reload the page
5.check the planting season field whether it is losing it's data or not

3.project sites getting 400
steps:1.go to manage project and select one project
2.click on edit button for that single project
3.then go to project sites form
4.click on edit of existing project using that pencil mark
5.modal will open then don't do any thing
6.click the back button of modal
7.then save the project form using save and continue button
8.check whether you are getting validation error

4.added ecosystem label for single conservation project
steps: 1. go to manage project
2.take one of conservation project
3.see the label of ecosystem on that project in the manage project

5.Application error fix
steps: click project button on side bar to visit manage project (profile/projects)
2.then check are you getting any Application error

6.error handling:
1.go to any form either (conservation or restoration )
2.generate 500 error to check the functionality of error handling

7.unit cost label for restoration project creation was wrong
steps: 1. go to manage project and click on Add project button
2.then select restoration project
3.check the field label (it should be Cost per unit)

8.planting season and activity season repopulating wrong data after submit
steps:1.go to manage project
2.click on edit for one of the project
3.go to detail analysis form
4. resubmit data for planting season and submit the form
5. go back to detail analysis check whether planting season showing same data or not
6. follow the same procedure for conservation form(activity season)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
planet-webapp ✅ Ready (Inspect) Visit Preview May 31, 2022 at 10:33AM (UTC)

Comment thread src/features/user/ManageProjects/ProjectsContainer.tsx Outdated
Comment thread src/utils/apiRequests/api.ts Outdated
Comment thread src/utils/apiRequests/api.ts Outdated
Comment thread src/features/user/ManageProjects/components/DetailedAnalysis.tsx Outdated
@mariahosfeld
Copy link
Copy Markdown
Contributor

In my tests the functionality works now.

@sagararyal sagararyal requested a review from Shreyaschorge May 27, 2022 17:37
newMonth.isSet = !month.isSet;
const plantingSeasonsNew = plantingSeasons;
plantingSeasonsNew[id] = newMonth;
plantingSeasonsNew[id - 1] = newMonth;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

bad practice, never add things like xyz_new. it gets old quickly.

Comment thread src/features/projects/components/projectDetails/ProjectInfo.tsx Outdated
@sunilsabatp sunilsabatp dismissed Shreyaschorge’s stale review May 30, 2022 14:39

it is an constant variable , and not that much relevant , to change that variable name with meaningful one

@Shreyaschorge
Copy link
Copy Markdown
Contributor

@sunilsabatp Please add spaces in between. It just looks a bit off.

image

spacing2

@mariahosfeld mariahosfeld merged commit e6721f2 into develop May 31, 2022
@mariahosfeld mariahosfeld deleted the feature/conservation_manageProjects branch May 31, 2022 10:46
@mariahosfeld mariahosfeld mentioned this pull request May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants