-
Notifications
You must be signed in to change notification settings - Fork 35
"Awaiting Votes" view #10
Comments
so it seems like the |
hah, actually, there's a bug, @chief8192 looks like the state column does not recurse into the certificate for each binary to check to see if the certificate is whitelisted. |
and it looks like it's supposed to per https://github.com/google/upvote/blob/master/upvote/gae/modules/upvote_app/frontend/web_ui/components/statechip/statechip-filter.js#L53 // If the binary has no blockable-specific rules but does have cert-specific
// rules, display the cert's state. from what I see, the cert param is always null |
I'll take a look |
so I looked a bit into this, and it seems it's not as simple as I thought. "Awaiting Votes" is dynamically calculated in the client side javascript, which means you can't search/filter by it through the existing search mechanism. |
hmm, so the plot thickens. On: However on so it seems the web_ui code needs to be used by the admin_ui code. However, this still means that you can't filter by "state" easily. I suppose the client can do multiple page requests until it has enough data by filtering on the client side...however that seems to kinda break the model. |
so I've added the ability to view cert fallbacks on the admin blockables page here: farmersbusinessnetwork@3490ba3 this gets us half way there as it will now show the correct state if the cert has been whitelisted. I did not add the "vote" info, not sure if it's needed? What's missing now is being able to filter/sort by the state. Perhaps we can get away with using the events page if we sort by ALLOW/BLOCK UNKNOWN...however then it would be nice being able to group by the file name, or something to collapse similar issues. I'll discuss with @alexmac |
The main "blockables" view would be easier to use if we could either sort based on the status or have a separate "Awaiting Votes" view to see what apps/certs still need to be investigated
The text was updated successfully, but these errors were encountered: