-
Notifications
You must be signed in to change notification settings - Fork 1
Improves calculation for new subscription delivery count #129
Conversation
by subtracting any items already transferred Closes #124
I think this may not quite take us as far as it could as it does not account for items already in the Hold queue... but then again, maybe it shouldn't? I haven't decided what makes more sense. The example have was to Subscribe as Review to one Institutional Affiliation for an Item with a ton of Institutional Affiliations, then pull up another Institutional Affiliations Topic for that same Item that also had at least one additional Item associated with this second Topic. The Subscription badge suggested I'd get two new Items if I subscribed but my review count actually only increased by one. If we decide it makes sense to also account for what is currently in the Hold queue, adding this to the query would work:
If we don't care about the hold queue (and like I said I'm not sure if we do), then 👍 |
Hmm, interesting point. I'm not sure we ever explicitly established the complete semantics of a hold. |
In my scenario I was imagining both Topic Subscriptions having Review Interests... so both should add Items to the queue, but since they have overlapping Items the Subscribe badge is just not quite accurate. From your comment, it is now clear that it does get muddy (ha!) if there are Items in the Hold queue and the new Subscription is a Deliver Interest. The count in that case should probably not take into account the Hold queue as I think it probably does make sense to explicitly release/clear the Hold. Maybe we just need a new ticket to review the expected flow for new Subscriptions in relation to the Hold queue? |
Yea, that makes sense. It might just be a resolved with a brief meeting/analysis in which we walk through each case and ask if the system behavior is reasonable.... |
👍 |
FWIW, I think this is merge ready but maybe with a new ticket to remind us to sit down and work out how some of the fringe cases should be handled. |
Improves calculation for new subscription delivery count
by subtracting any items already transferred
Closes #124