You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @dadiorchen, please guide me how to mock the caputres page data so that I could add the component to the page. The current component designed is in PR #1787.
On the capture page, like this one http://localhost:3000/v2/captures/0c2d6e3a-d02a-4edf-bcdc-893e1f7a4817?bounds=-122.51961708068849,38.35888785866677,-122.50416755676271,38.37096777260178
we need to add a new
tree growth
component under the picture of the capture, with all the captures matched to the same tree.Can reuse the component we used in this page:
https://map.treetracker.org/wallets/9e143717-b34b-4e53-b810-6668d371adda/tokens/fbeefadc-edb2-41ce-9f44-2c1ac6aed2d0?bounds=36.48280620574952,-0.2044053510145395,36.4982557296753,-0.18899883327178638
To fetch the data, we need to use the
/v2/trees/{tree_id}/captures
endpoint:https://github.com/Greenstand/treetracker-query-api/blob/8e838839cc07c4dbfc761f7345d3540b2cd294fc/docs/api/spec/query-api.yaml#L255-L272
Please use the integration test by Cypress to mock the data and pass the test for this feature.
The text was updated successfully, but these errors were encountered: