You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as in the "normal" PR-List, it would be good if you can see what changes have been made to a PR since you last visited that PR.
In addition a time stamp with the last change date would be good too.
The text was updated successfully, but these errors were encountered:
I've been trying off and on for a good while to figure out how to utilize the endpoint Microsoft is using when they get pull request update data in their Pull Requests tab in DevOps. I've only really come up with two things:
they seem to be POSTing to this API endpoint: https://dev.azure.com/{OrganizationName}/_apis/visits/artifactStatsBatch?includeUpdatesSinceLastVisit=true
I can't easily figure out what that {???} is... it's a four number identifier, like the pull request ID, so maybe it's the most recent pull request topic ID? even if I were to figure it out, I would also have to discover how exactly to call this endpoint from inside of the extension, as none of the provided REST clients seem to contain it.
on the flip side, I could emulate this behavior by getting the pull request iterations, but it would only be able to signal new activity if you click a link inside of the extension. it won't know if you accessed the pull request any other way (via the Pull Requests page, or direct link). hence why I've been trying to find a way to use Microsoft's endpoint: it directly tells us both all activity and activity since last visit, so the extension wouldn't have to keep track of anything itself, nor would it have to emulate behavior. as someone who would also love this functionality, I think it would be worth doing it right.
Looks like #47 would partially address this feature. It's not exactly "since I last visited" but it shows the age of a PR which should get you most of the way there.
Just as in the "normal" PR-List, it would be good if you can see what changes have been made to a PR since you last visited that PR.
In addition a time stamp with the last change date would be good too.
The text was updated successfully, but these errors were encountered: