estuary-www icon indicating copy to clipboard operation
estuary-www copied to clipboard

Render deal status icon with link to staging zone if in staged status

Open neelvirdy opened this issue 2 years ago • 3 comments

blocked on:

  1. populating DealStatus in util.Content
  2. making zoneId available in util.Content, or changing the /staging-zones/:id param to accept the zone content id instead of the zone id

neelvirdy avatar Dec 16 '22 16:12 neelvirdy

  1. 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.

  1. 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

en0ma avatar Dec 17 '22 09:12 en0ma

@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?

en0ma avatar Dec 17 '22 14:12 en0ma

@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.

neelvirdy avatar Dec 19 '22 18:12 neelvirdy