Greenstand / Greenstand-Overview

Tree Tracking Fighting Poverty and Climate Change - This repository contains Contributing, Project Overview, Roadmap, etc
https://www.greenstand.org
GNU Affero General Public License v3.0
45 stars 11 forks source link

Include planters in Tree Details View (App Drawer) #73

Closed gloriaLVela closed 4 years ago

gloriaLVela commented 5 years ago

The other missing bit aside from collections.

@thiagodemellobueno thiagodemellobueno created this issue from a note in Tree-Tracker Admin (To do) on Jun 20, 2018 @thiagodemellobueno thiagodemellobueno added help wanted good first issue API labels on Jun 20, 2018 @thiagodemellobueno Member Author thiagodemellobueno commented on Sep 25, 2018 With this PR:

52

(Which has been merged) @nimblefox has introduced the tree details drawer, and done some preliminary rendering of the same.

As for getting the "relation" information back from the api here is some documentation: https://loopback.io/doc/en/lb2/Querying-related-models.html https://loopback.io/doc/en/lb2/Include-filter.html

So this issue becomes more about updating the queries to include the related data, and echo it in the app drawer, which is now pretty straightforward.

@thiagodemellobueno thiagodemellobueno changed the title Introduce Planters to API Include planters in tree-detail pane. on Sep 25, 2018 @thiagodemellobueno thiagodemellobueno changed the title Include planters in tree-detail pane. Include planters in Tree Details View (App Drawer) on Sep 25, 2018 @thiagodemellobueno thiagodemellobueno referenced this issue on Sep 25, 2018 Open Introduce Certificate to Api Models and Tree Details View (App Drawer) #50 @thiagodemellobueno thiagodemellobueno moved this from To do to In progress in Tree-Tracker Admin on Sep 25, 2018 @thiagodemellobueno thiagodemellobueno assigned madhu-kumari on Sep 25, 2018 @thiagodemellobueno Member Author thiagodemellobueno commented on Sep 27, 2018

50

Planters are indeed users in the system, as per userId.

@thiagodemellobueno thiagodemellobueno unassigned madhu-kumari on Nov 29, 2018 @thiagodemellobueno thiagodemellobueno moved this from In progress to Ready to be worked on in Tree-Tracker Admin on Nov 29, 2018 @bittricky Contributor bittricky commented on Dec 1, 2018 @thiagodemellobueno - Working on this issue. What is the endpoint for getting users?

@bittricky bittricky referenced this issue on Jan 21 Open Document User Endpoints #75