estuary-www
estuary-www copied to clipboard
Render deal status icon with link to staging zone if in staged status
blocked on:
- populating DealStatus in util.Content
- making zoneId available in util.Content, or changing the /staging-zones/:id param to accept the zone content id instead of the zone id
- making zoneId available in util.Content, or changing the /staging-zones/:id param to accept the zone content id instead of the zone id
Let's get @alvin-reyes to add a new int column(zone_id
- with index) at the end of the content table (so it will be fast). I realized I need this too, as the reconstruction pulls in contents it has not added to the zone yet.
- populating DealStatus in util.Content
The same thing, we can get @alvin-reyes to another column for deal_status
at the end of the content table
@neelvirdy I was thinking about the deal status, that is going to be a bit tricky to pull off if we consider that content to a deal has a 1-to-many relationship and not a 1-to-1. So the question is, how do you want to display the status of all the 6 deals of a particular content?
@neelvirdy I was thinking about the deal status, that is going to be a bit tricky to pull off if we consider that content to a deal has a 1-to-many relationship and not a 1-to-1. So the question is, how do you want to display the status of all the 6 deals of a particular content?
for the initial version i want to keep it simple and use the "lowest" status of the 6. so you would be in proposing
until all 6 are accepted, for example.
for the next version, we can make the tooltip include counts like: "transfering (2 / 6)" where it shows how many of the deals are done with that "lowest" status.
after that, we should have a page for the set of deals pertaining to a content. so we could make the icon a link to that detailed page where you essentially get what's currently rendered on the Deals page, but just for that content.