Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create TM embed widget #3554

Closed
willemarcel opened this issue Aug 28, 2020 · 3 comments
Closed

Create TM embed widget #3554

willemarcel opened this issue Aug 28, 2020 · 3 comments
Labels
scope: frontend type: enhancement Improving an existing functionality

Comments

@willemarcel
Copy link
Contributor

Imagine someone wants to embed a list of Tasking Manager projects on another website, we could provide an embed code that would allow anyone to easily promote TM projects. It could be used in the HOT and Missing Maps websites and in other organizations and communities pages as well.

It should render a component like this, with a carousel to navigate through the list:
image

Some ideas:

  • It should not be implemented as part of the TM frontend, but as an external project.
  • It doesn't need necessarily to use React, it could be done with Svelte, Vue or vanilla JS. The only requirement is to implement exactly the same style.
  • It should use the API endpoint: https://tasking-manager-tm4-production-api.hotosm.org/api/v2/projects/ and allow to define some query params supported by the API, like organizations, campaigns and countries. Check the API-Docs.
@max-keviv
Copy link
Contributor

@willemarcel can i handle this

@willemarcel
Copy link
Contributor Author

@max-keviv sure! Go for it!

@willemarcel
Copy link
Contributor Author

@max-keviv no, only the ones returned on the first page of the API pagination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: frontend type: enhancement Improving an existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants