MentorsWithoutBorders / mwb-partners-admin

Web app for MWB partners
0 stars 0 forks source link

Dashboard - map details #49

Open edmondpr opened 1 year ago

edmondpr commented 1 year ago

Design: https://www.figma.com/file/DgrKZX9mS13Zgf7k5pZ1WT/Partner-web-app?type=design&node-id=727-66&mode=design&t=IrpaeVusdRlOAZoD-4

A list of students who have participated in at least one course during the selected year will be shown for each country when clicking on the pin corresponding to that country. The country name will be in the body of the API request. The following details will be shown:

When zooming in, if the cities are visible on the map, the list of students for each city will be shown when clicking on the pin corresponding to that city. The country and the city name will be in the body of the API request. The following details will be shown:

When zooming in even more, if there is enough space on the map to show the locations of each organization's centers within the cities' areas, the list of students for each center will be shown when clicking on the pin corresponding to that center. The country and the city name will be in the body of the API request, together with the center ID. The following details will be shown:

The list of students will be retrieved from the /api/v1/partners/{partner_id}/dashboard/students endpoint.

If the view mode is set to All MWB participants, the endpoint will be /api/v1/partners/dashboard/students.