Greenstand / treetracker-web-map-client

The front end of the treetracker web map app.
http://map.treetracker.org
GNU Affero General Public License v3.0
64 stars 182 forks source link

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

Open dadiorchen opened 1 year ago

dadiorchen commented 1 year ago

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:

ajay2827 commented 1 year ago

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

dadiorchen commented 1 year ago

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

manishhansal commented 1 year ago

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

ajay2827 commented 1 year ago

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

dadiorchen commented 1 year ago

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

dadiorchen commented 1 year ago

This is open for contributors.

MohitBansal321 commented 1 year ago

can you assign me? @dadiorchen