treetracker-web-map-client icon indicating copy to clipboard operation
treetracker-web-map-client copied to clipboard

Add `people who grows this tree` list on `/trees/{id}` page

Open dadiorchen opened this issue 2 years ago • 7 comments
trafficstars

On the /trees/{id} page, replace the single planter card with a planter list.

http://localhost:3000/trees/c636500a-ca1c-45b2-ba35-7c6b301f8092

image

We can re-use the component of the planter list on the /top page.

image

The title of this list could be: People who help grow the tree

By clicking the planter image, jump to /planters/{id}

To fetch the grower list, try this flow to the query API:

  1. get the tree_id on current page
  2. fetch all captures by: /v2/captures?tree_id={tree_id}
  3. fetch all planter one by one by API: v2/growers/{grower_account_id}

some hints:

  • Please read this before you start: https://docs.greenstand.org/web-map/v2-web-map
  • If you want to join the Slack community (some resources need the community member's permission), please leave your email address.

dadiorchen avatar May 20 '23 07:05 dadiorchen

@dadiorchen does this issue still exit or this is solved?

ajay2827 avatar May 22 '23 21:05 ajay2827

It's open, will you take it? @ajay2827

dadiorchen avatar May 23 '23 06:05 dadiorchen

@dadiorchen Could you please assign this to me? I would like to work on this feature.

manishhansal avatar May 23 '23 15:05 manishhansal

It's open, will you take it? @ajay2827 yes I am interested in this, can you assign this to me

ajay2827 avatar May 23 '23 16:05 ajay2827

@ajay2827 I assigned this to you, let me know if you have any questions.

dadiorchen avatar May 24 '23 06:05 dadiorchen

This is open for contributors.

dadiorchen avatar Jun 30 '23 03:06 dadiorchen

can you assign me? @dadiorchen

MohitBansal321 avatar Sep 22 '23 06:09 MohitBansal321