Points History
Statistics
(script)
$(window).load(function() {
getStats("https://api.recognition.microsoft.com/v1/user/df900a24-f7fd-4fe8-bdd1-0eb8075f23b7,/stats?locale=en-US", "Statistics are not available at this time.", ".statistics", "No Data.");
});
(script)
{{each Statistics}}
${$value.Name} |
${$value.Value} |
{{/each}}
(script)
var pointsHistory = document.querySelector("div.points-history");
var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
if (mutation && mutation.addedNodes) {
$("div.xAxis.x1Axis").children("div:first").attr("tabindex","0").attr("aria-label",function(){return "Start Date "+$(this).text()});
$("div.xAxis.x1Axis").children("div:last").attr("tabindex","0").attr("aria-label",function(){return "End Date "+$(this).text()});
$("div.yAxis.y1Axis").children("div:first").attr("tabindex","0").attr("aria-label",function(){return "Minimum Points "+$(this).text()});
$("div.yAxis.y1Axis").children("div:last").attr("tabindex","0").attr("aria-label",function(){return "Maximum Points "+$(this).text()});
observer.disconnect();
}
});
});
observer.observe(pointsHistory, {
childList: true,
subtree: true
});
(script)
$(window).load(function () {
$('.tab-pane#year').addClass('active');
$('.tab-loading').css("display", "inherit");
loadReputation("https://api.recognition.microsoft.com/v1/user/df900a24-f7fd-4fe8-bdd1-0eb8075f23b7/detail?locale=en-US", "en");
var rangeType = 'year';
var currentTab = $("a.rank-link[name='" + rangeType + "']");
currentTab.attr("aria-selected", "true");
var startDate = getPreviousStartTime(new Date().toUTCString(), rangeType).getTicks();
var url = "https://api.recognition.microsoft.com" + '/v2/users/' + "df900a24-f7fd-4fe8-bdd1-0eb8075f23b7" + '/reputations/' + rangeType + '?startDate=' + startDate;
getUserReputation(url, currentTab, rangeType, "You have no points this {0}, learn more about our
Recognition Service.");
$(".avatar .crop img").each(function (key, value) {
if ($(value).prop('complete')) {
resizeImage(value);
} else {
$(value).on('load', function () {
resizeImage(value);
});
}
});
if ($(".archive-data-table").length > 0) {
var gdprAppNames = ["forum", "wiki", "blog", "gallery", "profile"];
for (i = 0; i < gdprAppNames.length; i++) {
var url = document.location.href.substring(0, document.location.href.lastIndexOf('/')) + "/GetGDPRDataArchive/" + gdprAppNames[i];
var f = getNewGdprArchive($('tr.archive-data-tr-' + gdprAppNames[i]), url, true);
f();
}
}
});
$('#ranktabs a').click(function (e) {
e.preventDefault();
$('.tab-loading').css("display", "inherit");
$('.tab-content').css("margin-top", "-130px");
$('.tab-content').css("opacity", "0.5");
$('.emptyRank').css("margin-top", "-130px");
$('.emptyRank').css("opacity", "0.5");
var rangeType = $(this).attr("name");
var currentTab = $(this);
$('#ranktabs a').attr("aria-selected", "false");
currentTab.attr("aria-selected", "true");
var startDate = getPreviousStartTime(new Date().toUTCString(), rangeType).getTicks();
var url = "https://api.recognition.microsoft.com" + '/v2/users/' + "df900a24-f7fd-4fe8-bdd1-0eb8075f23b7" + '/reputations/' + rangeType + '?startDate=' + startDate;
getUserReputation(url, currentTab, rangeType, "You have no points this {0}, learn more about our
Recognition Service.");
// accessibility fix bug https://dev.azure.com/ceapex/Engineering/_workitems/edit/86188/
return false;
});
$('.create-new-archive-data').click(function (e) {
e.preventDefault();
var gdprAppName = $(this).attr("gdprAppName");
var url = document.location.href.substring(0, document.location.href.lastIndexOf('/')) + "/CreateGDPRDataArchive/" + gdprAppName;
var url2 = document.location.href.substring(0, document.location.href.lastIndexOf('/')) + "/GetGDPRDataArchive/" + gdprAppName;
createNewGdprArchive($('tr.archive-data-tr-' + gdprAppName),
this,
url,
url2);
});
(script)
(script)
(script)
(script)
(script)
(script)
(script)
(script)
(script)
jQuery.timeago.settings.strings = {
prefixAgo: "",
prefixFromNow: "",
suffixAgo: "ago",
suffixFromNow: "from now",
seconds: "less than a minute",
minute: "about a minute",
minutes: "%d minutes",
hour: "about an hour",
hours: "about %d hours",
day: "a day",
days: "%d days",
month: "about a month",
months: "%d months",
year: "about a year",
years: "%d years"
};