IFRCGo / go-api

MIT License
14 stars 6 forks source link

Connect SIMS Portal Portfolio to Emergency Page #1856

Open JonathanGarro opened 1 year ago

JonathanGarro commented 1 year ago

Just an idea for a feature for the team's consideration.

I've been building out the SIMS Portal, which helps SIMS members coordinate on activations. When a new emergency is supported, the related emergency in GO is linked via the GO ID. Members that create products as part of the response are able to post the product to their profile on the Portal, and if they want it to be publicly visible beyond logged-in users, they can request it be approved for external sharing by the SIMS Remote Coordinator.

Example of a user's profile: https://rcrcsims.org/profile/view/1 Example of a product: https://rcrcsims.org/portfolio/view/5

I'm in the process of adding some API functionality to the portal, including getting approved products. You can now pass the GO ID to this endpoint and get back the product title, description, type, and the image URL. Here's an example that would return products that have been approved as part of the Sudan Crisis response (GO ID = 6414)

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

Since we're always trying to raise the visibility of products that get produced as part of a response, I had the idea that it would be nice to get some of these products to cross-populate onto the GO emergency page as well. There is a certain level of curation built into the process, as the only results that will appear at this endpoint are those that have been formally approved by the SIMS Remote Coordinator.

These could either be a table that populates in the Reports/Documents tab with just the title and a link back to the product on the SIMS Portal, or as individual cards on a separate tab (called "Products", or "SIMS", or something like that).

Just an idea! Happy to discuss if of interest.

nanometrenat commented 8 months ago

hello! just came across this - am wondering what the overlap is between SIMS portal products vs products that are already on the GO page. I suspect the majority of public products ought to be on the GO page already - so the question is, whether the portal can support linking to the specific product that's already published on GO, rather than having a separate copy in the portal vs the copy on GO? In which case maybe the product that's published on GO (that is also shown as public on SIMS portal) could perhaps be marked on GO UI with a SIMS tag/colour/link? Rather than having two copies of the same thing?