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

Display SIMS products automatically on GO emergency page #51

Open
JonathanGarro opened this issue Jun 17, 2023 · 2 comments
Open

Display SIMS products automatically on GO emergency page #51

JonathanGarro opened this issue Jun 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@JonathanGarro
Copy link
Owner

JonathanGarro commented Jun 17, 2023

A longer-term, nice-to-have feature to further integrate the GO Platform and the SIMS Portal might be to add a connection between the publicly-approved portfolio for the event on the documents tab:

Screen Shot 2023-06-17 at 10 35 32 AM

I think we could simply accept incoming requests that serves up the S3 location of the thumbnail, and then link back to the product page on the SIMS Portal.

@JonathanGarro JonathanGarro self-assigned this Jun 17, 2023
@JonathanGarro JonathanGarro added the enhancement New feature or request label Jun 17, 2023
@JonathanGarro JonathanGarro added the help wanted Extra attention is needed label Jul 24, 2023
@JonathanGarro
Copy link
Owner Author

JonathanGarro commented Jul 25, 2023

I've started laying the groundwork for API functionality in the Portal as a first step towards a working example to pitch to the GO team. As a proof of concept, you can now get a json of all registered users at rcrcsims.org/api/users.

@JonathanGarro
Copy link
Owner Author

The API has been updated with an additional endpoint for portfolio. You can now query the database to get all products whose status has been marked as Approved for a given emergency. There's a required argument of emergency_id, which corresponds to the GO emergency ID. For example:

https://rcrcsims.org/api/portfolio?emergency_id=6414

This returns all approved products for the Sudan Crisis.

I've logged an issue with the GO team requesting consideration to automatically bring in the products either as distinct cards or as items in a new table of products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant