diff --git a/src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj b/src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj index af0282b5c5b..78df1bb4d22 100644 --- a/src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj +++ b/src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj @@ -22,6 +22,7 @@ + diff --git a/src/dotnet/APIView/APIViewWeb/Client/css/site.scss b/src/dotnet/APIView/APIViewWeb/Client/css/site.scss index fea531f4c88..4e1af355d03 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/css/site.scss +++ b/src/dotnet/APIView/APIViewWeb/Client/css/site.scss @@ -571,6 +571,7 @@ code { cursor: pointer; width: 1%; white-space: nowrap; + padding: 0px; } .line-details table { diff --git a/src/dotnet/APIView/APIViewWeb/Client/src/navbar.ts b/src/dotnet/APIView/APIViewWeb/Client/src/navbar.ts index 9024120e0ac..5f282702bb0 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/src/navbar.ts +++ b/src/dotnet/APIView/APIViewWeb/Client/src/navbar.ts @@ -1,33 +1 @@ -import Split from "split.js"; - -addEventListener("load", () => { - $(".nav-list-toggle").click(function () { - $(this).parents(".nav-list-group").first().toggleClass("nav-list-collapsed"); - }); -}); - -$(() => { - /* 992px matches bootstrap col-lg min-width */ - ($('.namespace-view') as any).stickySidebar({ minWidth: 992 }); - - /* Split left and right review panes using split.js */ - const rl = $('#review-left'); - const rr = $('#review-right'); - - if (rl.length && rr.length) { - Split(['#review-left', '#review-right'], { - direction: 'horizontal', - sizes: [17, 83], - elementStyle: (dimension, size, gutterSize) => { - return { - 'flex-basis': `calc(${size}% - ${gutterSize}px` - } - }, - gutterStyle: (dimension, gutterSize) => { - return { - 'flex-basis': `${gutterSize}px` - } - } - }); - } -}); + \ No newline at end of file diff --git a/src/dotnet/APIView/APIViewWeb/Client/src/review.ts b/src/dotnet/APIView/APIViewWeb/Client/src/review.ts index 84cdac25439..db73075ac47 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/src/review.ts +++ b/src/dotnet/APIView/APIViewWeb/Client/src/review.ts @@ -1,4 +1,6 @@ -$(() => { +import Split from "split.js"; + +$(() => { const SEL_DOC_CLASS = ".documentation"; const SHOW_DOC_CHECK_COMPONENT = "#show-documentation-component"; const SHOW_DOC_CHECKBOX = ".show-doc-checkbox"; @@ -6,15 +8,73 @@ const SHOW_DIFFONLY_CHECKBOX = ".show-diffonly-checkbox"; const SHOW_DIFFONLY_HREF = ".show-diffonly"; const HIDE_LINE_NUMBERS = "#hide-line-numbers"; + const HIDE_LEFT_NAVIGATION = "#hide-left-navigation"; hideCheckboxIfNoDocs(); + /* FUNCTIONS + --------------------------------------------------------------------------------------------------------------------------------------------------------*/ function hideCheckboxIfNoDocs() { - if ($(SEL_DOC_CLASS).length == 0) { - $(SHOW_DOC_CHECK_COMPONENT).hide(); - } + if ($(SEL_DOC_CLASS).length == 0) { + $(SHOW_DOC_CHECK_COMPONENT).hide(); + } + } + + function splitReviewPageContent() { + /* Split left and right review panes using split.js */ + const rl = $('#review-left'); + const rr = $('#review-right'); + + if (rl.length && rr.length) { + Split(['#review-left', '#review-right'], { + direction: 'horizontal', + sizes: [17, 83], + elementStyle: (dimension, size, gutterSize) => { + return { + 'flex-basis': `calc(${size}% - ${gutterSize}px` + } + }, + gutterStyle: (dimension, gutterSize) => { + return { + 'flex-basis': `${gutterSize}px` + } + } + }); + } + } + + // Updated Page Setting by Updating UserPreference + function updatePageSettings(callBack) { + var hideLineNumbers = $(HIDE_LINE_NUMBERS).prop("checked"); + var hideLeftNavigation = $(HIDE_LEFT_NAVIGATION).prop("checked"); + var uri = `?handler=updatepagesettings&hideLineNumbers=${hideLineNumbers}&hideLeftNavigation=${hideLeftNavigation}`; + + $.ajax({ + type: "GET", + url: uri + }).done(callBack()); + } + + /* ADD EVENT LISTENER FOR TOGGLING LEFT NAVIGATION + --------------------------------------------------------------------------------------------------------------------------------------------------------*/ + addEventListener("load", () => { + $(".nav-list-toggle").click(function () { + $(this).parents(".nav-list-group").first().toggleClass("nav-list-collapsed"); + }); + }); + + /* SPLIT REVIEW PAGE CONTENT + --------------------------------------------------------------------------------------------------------------------------------------------------------*/ + /* 992px matches bootstrap col-lg min-width */ + ($('.namespace-view') as any).stickySidebar({ minWidth: 992 }); + if (!$("#review-left").hasClass("d-none")) + { + // Only Add Split gutter if left navigation is not hidden + splitReviewPageContent(); } + /* TOGGLE PAGE OPTIONS + --------------------------------------------------------------------------------------------------------------------------------------------------------*/ $(SHOW_DOC_CHECKBOX).on("click", e => { $(SHOW_DOC_HREF)[0].click(); }); @@ -24,18 +84,33 @@ }); $(HIDE_LINE_NUMBERS).on("click", e => { - $(".line-number").toggleClass("d-none"); + updatePageSettings(function(){ + $(".line-number").toggleClass("d-none"); + }); }); - /* DIFF BUTTON (UPDATES REVIEW PAGE ON CLICK) - --------------------------------------------------------------------------------------------------------------------------------------------------------*/ - $('.diff-button').each(function(index, value){ - $(this).on('click', function () { - window.location.href = $(this).val() as string; + $(HIDE_LEFT_NAVIGATION).on("click", e => { + updatePageSettings(function(){ + var leftContainer = $("#review-left"); + var rightContainer = $("#review-right"); + var gutter = $(".gutter-horizontal"); + + if (leftContainer.hasClass("d-none")) { + leftContainer.removeClass("d-none"); + rightContainer.removeClass("col-12"); + rightContainer.addClass("col-10"); + splitReviewPageContent(); + } + else { + leftContainer.addClass("d-none"); + rightContainer.css("flex-basis", "100%"); + gutter.remove(); + rightContainer.removeClass("col-10"); + rightContainer.addClass("col-12"); + } }); }); - /* DROPDOWN FILTER FOR REVIEW, REVISIONS AND DIFF (UPDATES REVIEW PAGE ON CHANGE) --------------------------------------------------------------------------------------------------------------------------------------------------------*/ $('#revisions-bootstraps-select, #review-bootstraps-select, #diff-bootstraps-select').each(function(index, value) { @@ -59,7 +134,6 @@ var caretDirection = caretClasses ? caretClasses.split(' ').filter(c => c.startsWith('fa-angle-'))[0] : ""; var foldableClassPrefix = headingRowClasses ? headingRowClasses.split(' ').filter(c => c.endsWith('-heading'))[0].replace("-heading", "") : ""; - if (triggeringClass == "row-fold-caret" && caretDirection == "fa-angle-down") { var classesOfRowsToHide = [`${foldableClassPrefix}-content`]; diff --git a/src/dotnet/APIView/APIViewWeb/Client/src/reviews.ts b/src/dotnet/APIView/APIViewWeb/Client/src/reviews.ts index 19519fe78bc..6104dad3868 100644 --- a/src/dotnet/APIView/APIViewWeb/Client/src/reviews.ts +++ b/src/dotnet/APIView/APIViewWeb/Client/src/reviews.ts @@ -1,5 +1,4 @@ $(() => { - // Search const defaultPageSize = 50; const reviewsFilterPartial = $( '#reviews-filter-partial' ); const languageFilter = $( '#language-filter-bootstraps-select' ); @@ -77,10 +76,9 @@ }); } - // Triggers partial page update to retriev properties for poulating filter dropdowns + // Fetches data for populating dropdown options function updateFilterDropDown(filter, query) { - // update tags dropdown select var uri = `?handler=reviews${query}`; var urlParams = new URLSearchParams(location.search); if (urlParams.has(query)) @@ -97,20 +95,20 @@ }); } - // Update content of dropdown on page load + // Fetch content of dropdown on page load $(document).ready(function() { - updateFilterDropDown(languageFilter, "languages"); + updateFilterDropDown(languageFilter, "languages"); // Pulls languages data from DB addPaginationEventHandlers(); }); - - // Update when any dropdown is changed + // Update list of reviews when any dropdown is changed [languageFilter, stateFilter, statusFilter, typeFilter].forEach(function(value, index) { value.on('hidden.bs.select', function() { updateListedReviews(); }); }); + // Update list of reviews based on search input searchBox.on('input', _.debounce(function(e) { updateListedReviews(); }, 600)); @@ -119,6 +117,7 @@ updateListedReviews(); }); + // Reset list of reviews as well as filters resetButton.on('click', function(e) { (languageFilter).selectpicker('deselectAll'); (stateFilter).selectpicker('deselectAll').selectpicker('val', 'Open'); diff --git a/src/dotnet/APIView/APIViewWeb/Helpers/AutoMapperProfiles.cs b/src/dotnet/APIView/APIViewWeb/Helpers/AutoMapperProfiles.cs new file mode 100644 index 00000000000..7ae47cfc55f --- /dev/null +++ b/src/dotnet/APIView/APIViewWeb/Helpers/AutoMapperProfiles.cs @@ -0,0 +1,21 @@ +using APIViewWeb.Models; +using AutoMapper; +using Microsoft.CodeAnalysis.Diagnostics; + +namespace APIViewWeb.Helpers +{ + public class AutoMapperProfiles : Profile + { + public AutoMapperProfiles() + { + CreateMap() + .ForMember(dest => dest.UserName, opt => opt.MapFrom((src, dest) => src.UserName != null ? src.UserName : dest.UserName)) + .ForMember(dest => dest.Language, opt => opt.MapFrom((src, dest) => src.Language != null ? src.Language : dest.Language)) + .ForMember(dest => dest.FilterType, opt => opt.MapFrom((src, dest) => src.FilterType != null ? src.FilterType : dest.FilterType)) + .ForMember(dest => dest.State, opt => opt.MapFrom((src, dest) => src.State != null ? src.State : dest.State)) + .ForMember(dest => dest.Status, opt => opt.MapFrom((src, dest) => src.Status != null ? src.Status : dest.Status)) + .ForMember(dest => dest.HideLineNumbers, opt => opt.MapFrom((src, dest) => src.HideLineNumbers != null ? src.HideLineNumbers : dest.HideLineNumbers)) + .ForMember(dest => dest.HideLeftNavigation, opt => opt.MapFrom((src, dest) => src.HideLeftNavigation != null ? src.HideLeftNavigation : dest.HideLeftNavigation)); + } + } +} diff --git a/src/dotnet/APIView/APIViewWeb/Models/UserPreferenceModel.cs b/src/dotnet/APIView/APIViewWeb/Models/UserPreferenceModel.cs index bb5713520e5..29157c38bc1 100644 --- a/src/dotnet/APIView/APIViewWeb/Models/UserPreferenceModel.cs +++ b/src/dotnet/APIView/APIViewWeb/Models/UserPreferenceModel.cs @@ -1,5 +1,6 @@ using System.Collections; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using CsvHelper.Configuration.Attributes; namespace APIViewWeb.Models @@ -12,5 +13,13 @@ public class UserPreferenceModel public IEnumerable Language { get; set; } [Name("FilterType")] public IEnumerable FilterType { get; set; } + [Name("State")] + public IEnumerable State { get; set; } + [Name("Status")] + public IEnumerable Status { get; set; } + [Name("HideLineNumbers")] + public bool? HideLineNumbers { get; set; } + [Name("HideLeftNavigation")] + public bool? HideLeftNavigation { get; set; } } } diff --git a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Index.cshtml.cs b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Index.cshtml.cs index d461204448a..4e3341ada69 100644 --- a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Index.cshtml.cs +++ b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Index.cshtml.cs @@ -38,6 +38,20 @@ public async Task OnGetAsync( List search = null, List languages=null, List state =null, List status =null, List type =null, int pageNo=1, int pageSize=_defaultPageSize, string sortField=_defaultSortField) { + if (search.Count == 0 && languages.Count == 0 && state.Count == 0 && status.Count == 0 && type.Count == 0) + { + UserPreferenceModel userPreference = _preferenceCache.GetUserPreferences(User.GetGitHubLogin()); + if (userPreference != null) + { + languages = userPreference.Language.ToList(); + state = userPreference.State.ToList(); + status = userPreference.Status.ToList(); + type = new List(); + if (userPreference.FilterType.Contains(ReviewType.Manual)) { type.Add("Manual"); } + if (userPreference.FilterType.Contains(ReviewType.Automatic)) { type.Add("Automatic"); } + if (userPreference.FilterType.Contains(ReviewType.PullRequest)) { type.Add("PullRequest"); } + } + } await RunGetRequest(search, languages, state, status, type, pageNo, pageSize, sortField); } @@ -51,6 +65,14 @@ public async Task OnGetReviewsPartialAsync( public async Task OnGetReviewsLanguagesAsync(List selectedLanguages = null) { + if (selectedLanguages.Count == 0) + { + UserPreferenceModel userPreference = _preferenceCache.GetUserPreferences(User.GetGitHubLogin()); + if (userPreference != null) + { + selectedLanguages = userPreference.Language.ToList(); + } + } ReviewsProperties.Languages.All = await _manager.GetReviewPropertiesAsync("Revisions[0].Files[0].Language"); selectedLanguages = selectedLanguages.Select(x => HttpUtility.UrlDecode(x)).ToList(); ReviewsProperties.Languages.Selected = selectedLanguages; @@ -128,11 +150,12 @@ private async Task RunGetRequest(List search, List languages, if (type.Contains("Automatic")) { filterTypes.Add((int)ReviewType.Automatic); } if (type.Contains("PullRequest")) { filterTypes.Add((int)ReviewType.PullRequest); } - _preferenceCache.UpdateUserPreference(new UserPreferenceModel() - { + _preferenceCache.UpdateUserPreference(new UserPreferenceModel { UserName = User.GetGitHubLogin(), FilterType = filterTypes.Cast().ToList(), - Language = languages + Language = languages, + State = state, + Status = status }); bool? isApproved = null; diff --git a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml index eb1acb4f29d..49de22aaf89 100644 --- a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml +++ b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml @@ -6,228 +6,129 @@ }
-
-
-

+
+
+ @if (Model.Review.Language != null) + { + var imageSource = String.Empty; + @switch (Model.Review.Language.ToLower()) + { + case "c#": + imageSource = "icons/csharp-original.svg"; + break; + case "javascript": + imageSource = "icons/javascript-original.svg"; + break; + case "python": + imageSource = "icons/python-original.svg"; + break; + case "c": + imageSource = "icons/c-original.svg"; + break; + case "c++": + imageSource = "icons/cplusplus-original.svg"; + break; + case "go": + imageSource = "icons/go-original.svg"; + break; + case "java": + imageSource = "icons/java-original.svg"; + break; + case "swift": + imageSource = "icons/swift-original.svg"; + break; + case "kotlin": + imageSource = "icons/kotlin-original.svg"; + break; + case "json": + imageSource = "icons/json-original.svg"; + break; + case "swagger": + imageSource = "icons/swagger-original.svg"; + break; + } + if (String.IsNullOrEmpty(imageSource)) + { + @Model.Review.Language + } + else + { + @Model.Review.Language + } + } +

@if (Model.Review.ServiceName != null) { @Model.Review.ServiceName -  |  } +
@Model.Review.PackageDisplayName - @if (Model.Review.Language != null) +

+
+ @if (Model.Revision.Approvers.Count > 0) { - @switch (Model.Review.Language.ToLower()) - { - case "c#": - @Model.Review.Language - break; - case "javascript": - @Model.Review.Language - break; - case "python": - @Model.Review.Language - break; - case "c": - @Model.Review.Language - break; - case "c++": - @Model.Review.Language - break; - case "go": - @Model.Review.Language - break; - case "java": - @Model.Review.Language - break; - case "swift": - @Model.Review.Language - break; - case "kotlin": - @Model.Review.Language - break; - case "json": - @Model.Review.Language - break; - case "swagger": - @Model.Review.Language - break; - default: - @Model.Review.Language - break; - } + var approvers = String.Join(", ", Model.Revision.Approvers); + } -

-
-
-
-
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
- @if (@Model.PreviousRevisions.Any()) + else + { + + } +
+
+ @{ + var popOverContent = $"{Model.ActiveConversations} active revision threads.
{Model.TotalActiveConversations} total active threads.
" + + $"Current Revision: {@Model.Revision.DisplayName}"; + @if (Model.DiffRevisionId != null) { -
-
- @if (Model.DiffRevisionId != null) - { - var urlValue = @Url.ActionLink("Review", "Assemblies", new { - id = @Model.Review.ReviewId, - revisionId = @Model.Revision.RevisionId, - diffRevisionId = @Model.DiffRevisionId, - doc = @Model.ShowDocumentation, - diffOnly = @Model.ShowDiffOnly - }); - - } - else - { - var urlValue = @Url.ActionLink("Review", "Assemblies", new { - id = @Model.Review.ReviewId, - revisionId = @Model.Revision.RevisionId, - diffRevisionId = @Model.PreviousRevisions.Last().RevisionId, - doc = @Model.ShowDocumentation, - diffOnly = @Model.ShowDiffOnly - }); - - } -
- -
+ popOverContent += $"
Current Diff: {@Model.DiffRevision?.DisplayName}"; } -
+ + }
-
-
- @if (Model.Review.FilterType != ReviewType.Automatic) - { -
-
- @if (Model.Review.IsClosed) +
+ + + @if (Model.DiffRevision == null || Model.DiffRevision.Approvers.Count > 0) + { + @if(Model.Revision.Approvers.Contains(User.GetGitHubLogin())) { - } else { - } - -
- } -
-
- @if (Model.Review.GetUserEmail(User) != null) + } + else { - if (Model.Review.IsUserSubscribed(User)) + @if(Model.Revision.Approvers.Contains(User.GetGitHubLogin())) { - } else { - } } - else - { - - }
- -
-
- - @if (Model.DiffRevision == null || Model.DiffRevision.Approvers.Count > 0) +
+ + @if (Model.Review.GetUserEmail(User) != null) { - @if(Model.Revision.Approvers.Contains(User.GetGitHubLogin())) + if (Model.Review.IsUserSubscribed(User)) { - } else { - } } else { - @if(Model.Revision.Approvers.Contains(User.GetGitHubLogin())) + + } + +
+ @if (Model.Review.FilterType != ReviewType.Automatic) + { +
+
+ @if (Model.Review.IsClosed) { - } else { - } +
+
+ } +
+
+
+
+
+ @* Hide until tags is implemented +
+ +
-
- @{ - var popOverContent = $"{Model.ActiveConversations} active revision threads.
{Model.TotalActiveConversations} total active threads.
" - + $"Current Revision: {@Model.Revision.DisplayName}"; - @if (Model.DiffRevisionId != null) + *@ +
+ +
-
- @if (Model.Revision.Approvers.Count > 0) - { - var approvers = String.Join(", ", Model.Revision.Approvers); - - } - else +
+ @if (@Model.PreviousRevisions.Any()) { - + @if (Model.DiffRevisionId != null) + { + + var urlValue = @Url.ActionLink("Review", "Assemblies", new { + id = @Model.Review.ReviewId, + revisionId = @Model.Revision.RevisionId, + diffRevisionId = @Model.DiffRevisionId, + doc = @Model.ShowDocumentation, + diffOnly = @Model.ShowDiffOnly + }); + + } + else + { + var urlValue = @Url.ActionLink("Review", "Assemblies", new { + id = @Model.Review.ReviewId, + revisionId = @Model.Revision.RevisionId, + diffRevisionId = @Model.PreviousRevisions.Last().RevisionId, + doc = @Model.ShowDocumentation, + diffOnly = @Model.ShowDiffOnly + }); + + } + }
-
+
+
-
+ @{ + var reviewLeftDisplay = String.Empty; + var reviewRightSize = "10"; + if (Model.GetUserPreference().HideLeftNavigation == true) + { + reviewLeftDisplay = "d-none"; + reviewRightSize = "12"; + } + } +
@if (Model.CodeFile != null) { @@ -343,9 +367,12 @@
-
+
+ @{ + TempData["UserPreference"] = Model.GetUserPreference(); + } @foreach (var line in Model.Lines) { diff --git a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml.cs b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml.cs index ce6cc53996e..62a1372c28c 100644 --- a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml.cs +++ b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/Review.cshtml.cs @@ -239,6 +239,17 @@ public async Task OnPostToggleApprovalAsync(string id, string rev await _manager.ToggleApprovalAsync(User, id, revisionId); return RedirectToPage(new { id = id }); } + + public IActionResult OnGetUpdatePageSettings(bool hideLineNumbers = false, bool hideLeftNavigation = false) + { + _preferenceCache.UpdateUserPreference(new UserPreferenceModel() { + UserName = User.GetGitHubLogin(), + HideLeftNavigation = hideLeftNavigation, + HideLineNumbers = hideLineNumbers + }); + return new EmptyResult(); + } + public Dictionary GetRoutingData(string diffRevisionId = null, bool? showDocumentation = null, bool? showDiffOnly = null, string revisionId = null) { var routingData = new Dictionary(); @@ -248,5 +259,10 @@ public Dictionary GetRoutingData(string diffRevisionId = null, b routingData["diffOnly"] = (showDiffOnly ?? false).ToString(); return routingData; } + + public UserPreferenceModel GetUserPreference() + { + return _preferenceCache.GetUserPreferences(User.GetGitHubLogin()); + } } } diff --git a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml index 4ec630894a9..2c994cc9446 100644 --- a/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml +++ b/src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml @@ -1,6 +1,7 @@ @using ApiView @using APIView.DIff @using System.Text.RegularExpressions +@using APIViewWeb.Models; @model APIViewWeb.Models.CodeLineModel @{ bool isRemoved = Model.Kind == DiffLineKind.Removed; @@ -22,14 +23,23 @@ isContent = foldableClassParts.Any(x => x.EndsWith("-content")); hiddenSectionClass = isContent ? "d-none" : ""; } + + var userPreference = TempData["UserPreference"] as UserPreferenceModel; }
- - + } + else + { + + } + -
@Model.LineNumber + @if(userPreference.HideLineNumbers == true) + { + @Model.LineNumber@Model.LineNumber @if (!isRemoved && Model.CodeLine.ElementId != null) { + @@ -39,7 +49,7 @@ // Added for visual consistency } + @if (isHeading) { diff --git a/src/dotnet/APIView/APIViewWeb/Repositories/UserPreferenceCache.cs b/src/dotnet/APIView/APIViewWeb/Repositories/UserPreferenceCache.cs index 01a2a32ec9f..a09341f2a95 100644 --- a/src/dotnet/APIView/APIViewWeb/Repositories/UserPreferenceCache.cs +++ b/src/dotnet/APIView/APIViewWeb/Repositories/UserPreferenceCache.cs @@ -3,21 +3,42 @@ using APIViewWeb.Models; using System; using System.Collections.Generic; +using AutoMapper; namespace APIViewWeb.Repositories { public class UserPreferenceCache { private readonly IMemoryCache _cache; + private readonly IMapper _mapper; - public UserPreferenceCache(IMemoryCache cache) + public UserPreferenceCache(IMemoryCache cache, IMapper mapper) { _cache = cache; + _mapper = mapper; } public void UpdateUserPreference(UserPreferenceModel preference) { - _cache.Set(preference.UserName, preference); + UserPreferenceModel existingPreference = GetUserPreferences(preference.UserName); + if (existingPreference == null) + { + _cache.Set(preference.UserName, preference); + } + else + { + _mapper.Map(preference, existingPreference); + _cache.Set(preference.UserName, existingPreference); + } + } + + public UserPreferenceModel GetUserPreferences(string userName) + { + if (_cache.TryGetValue(userName, out UserPreferenceModel _preference)) + { + return _preference; + } + return null; } public IEnumerable GetLangauge(string userName) diff --git a/src/dotnet/APIView/APIViewWeb/Startup.cs b/src/dotnet/APIView/APIViewWeb/Startup.cs index 38d5ad0358e..cf4796caf53 100644 --- a/src/dotnet/APIView/APIViewWeb/Startup.cs +++ b/src/dotnet/APIView/APIViewWeb/Startup.cs @@ -194,6 +194,7 @@ public void ConfigureServices(IServiceCollection services) services.AddSingleton(); services.AddHostedService(); services.AddHostedService(); + services.AddAutoMapper(Assembly.GetExecutingAssembly()); } private static async Task GetMicrosoftEmailAsync(OAuthCreatingTicketContext context) diff --git a/src/dotnet/APIView/APIViewWeb/wwwroot/reviews.js.map b/src/dotnet/APIView/APIViewWeb/wwwroot/reviews.js.map index b9b2521bc17..9bd6eac0604 100644 --- a/src/dotnet/APIView/APIViewWeb/wwwroot/reviews.js.map +++ b/src/dotnet/APIView/APIViewWeb/wwwroot/reviews.js.map @@ -1 +1 @@ -{"version":3,"file":"reviews.js","mappings":"uCAAoEA,EAAOC,QAA+M,WAK1R,IAAIC,EAAE,SAASC,EAAE,iBAAi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ApBlB,IAA8B3F,EAAQ4F,EAGhCtB,EACAuB,EAJwB7F,EAqBP4D,EAlBjBU,EAAM,oBAH0BsB,EAqBC,cAjBjCC,EAAY,IAAIC,gBAAgBC,SAASC,SAC/BrJ,IAAIiJ,IAEhBC,EAAUI,OAAOL,GAAOpG,SAAQ,SAASxN,EAAO+O,GAC9CuD,EAAMA,EAAM,YAAYsB,KAAWjB,mBAAmB3S,MAG1DrB,EAAEmU,KAAK,CACLC,IAAKT,IACJU,MAAK,SAASC,GACfjF,EAAOkF,KAAKD,GACNjF,EAAQkG,aAAa,cAO7Bb,OAKF,CAACzB,EAAgBC,EAAaC,EAAcC,GAAYvE,SAAQ,SAASxN,EAAO+O,GAC9E/O,EAAMK,GAAG,oBAAoB,WAC3B8R,UAIJH,EAAU3R,GAAG,QAASvD,EAAEyP,UAAS,SAASjS,GACxC6X,MACC,MAEHF,EAAa5R,GAAG,SAAS,WACvB8R,OAGFD,EAAY7R,GAAG,SAAS,SAAS/F,GACzBsX,EAAgBsC,aAAa,eAC7BrC,EAAaqC,aAAa,eAAeA,aAAa,MAAO,QAC7DpC,EAAcoC,aAAa,eAC3BnC,EAAYmC,aAAa,eAC/BlC,EAAUQ,IAAI,IACdL,U","sources":["webpack://apiview/./node_modules/underscore/underscore-umd-min.js","webpack://apiview/webpack/bootstrap","webpack://apiview/webpack/runtime/global","webpack://apiview/./src/reviews.ts"],"sourcesContent":["!function(n,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=r():\"function\"==typeof define&&define.amd?define(\"underscore\",r):(n=\"undefined\"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){\n// Underscore.js 1.13.4\n// https://underscorejs.org\n// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors\n// Underscore may be freely distributed under the MIT license.\nvar n=\"1.13.4\",r=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof global&&global.global===global&&global||Function(\"return this\")()||{},t=Array.prototype,e=Object.prototype,u=\"undefined\"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c=\"undefined\"!=typeof ArrayBuffer,l=\"undefined\"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable(\"toString\"),b=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J(\"byteLength\"),H=K(G),Q=/\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J(\"length\");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\"},$n=zn(Ln),Cn=zn(_n(Ln)),Kn=tn.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g},Jn=/(.)^/,Gn={\"'\":\"'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Hn=/\\\\|'|\\r|\\n|\\u2028|\\u2029/g;function Qn(n){return\"\\\\\"+Gn[n]}var Xn=/^\\s*(\\w|\\$)+\\s*$/;var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var nr=j((function(n,r){var t=nr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)er(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var cr=nr(fr,2);function lr(n,r,t){r=Pn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Rn(t,u,4),e,o)}}var wr=_r(1),Ar=_r(-1);function xr(n,r,t){var e=[];return r=Pn(r,t),mr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Sr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o=0}var Er=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Bn(r),e=r.slice(0,-1),r=r[r.length-1]),jr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=Nn(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Br(n,r){return jr(n,Dn(r))}function Nr(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ao&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}var Ir=/[^\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff]/g;function Tr(n){return n?U(n)?i.call(n):S(n)?n.match(Ir):tr(n)?jr(n,Tn):jn(n):[]}function kr(n,r,t){if(null==r||t)return tr(n)||(n=jn(n)),n[Un(n.length-1)];var e=Tr(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Rn(e,r[1])),r=an(n)):(e=qr,r=er(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=jr(er(r,!1,!1),String),e=function(n,t){return!Mr(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=er(r,!0,!0),xr(n,(function(n){return!Mr(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Pn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=Wn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=Wn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return nr(r,n)},negate:ar,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:fr,once:cr,findKey:lr,findIndex:pr,findLastIndex:vr,sortedIndex:hr,indexOf:dr,lastIndexOf:gr,find:br,detect:br,findWhere:function(n,r){return br(n,kn(r))},each:mr,forEach:mr,map:jr,collect:jr,reduce:wr,foldl:wr,inject:wr,reduceRight:Ar,foldr:Ar,filter:xr,select:xr,reject:function(n,r,t){return xr(n,ar(Pn(r)),t)},every:Sr,all:Sr,some:Or,any:Or,contains:Mr,includes:Mr,include:Mr,invoke:Er,pluck:Br,where:function(n,r){return xr(n,kn(r))},max:Nr,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t {\r\n // Search\r\n const defaultPageSize = 50;\r\n const reviewsFilterPartial = $( '#reviews-filter-partial' );\r\n const languageFilter = $( '#language-filter-bootstraps-select' );\r\n const stateFilter = $( '#state-filter-bootstraps-select' );\r\n const statusFilter = $( '#status-filter-bootstraps-select' );\r\n const typeFilter = $( '#type-filter-bootstraps-select' );\r\n const searchBox = $( '#reviews-table-search-box' );\r\n const searchButton = $( '#reviews-search-button' );\r\n const resetButton = $( '#reset-filter-button' );\r\n\r\n // Import underscorejs\r\n var _ = require('underscore');\r\n\r\n // Enable tooltip\r\n ($('[data-toggle=\"tooltip\"]')).tooltip();\r\n\r\n // Computes the uri string using the values of search, pagination and various filters\r\n // Invokes partial page update to list of reviews using ajax\r\n // Updates the uri displayed on the client\r\n function updateListedReviews({ pageNo = 1, pageSize = defaultPageSize } = {})\r\n {\r\n var uri = '?handler=reviewspartial';\r\n var searchQuery = searchBox.val() as string;\r\n\r\n if (searchQuery != null && searchQuery.trim() != '')\r\n {\r\n var searchTerms = searchQuery.trim().split(/\\s+/);\r\n searchTerms.forEach(function(value, index){\r\n uri = uri + '&search=' + encodeURIComponent(value);\r\n });\r\n }\r\n\r\n languageFilter.children(\":selected\").each(function() {\r\n uri = uri + '&languages=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n \r\n stateFilter.children(\":selected\").each(function() {\r\n uri = uri + '&state=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n statusFilter.children(\":selected\").each(function() {\r\n uri = uri + '&status=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n typeFilter.children(\":selected\").each(function() {\r\n uri = uri + '&type=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n uri = uri + '&pageNo=' + encodeURIComponent(pageNo);\r\n uri = uri + '&pageSize=' + encodeURIComponent(pageSize);\r\n uri = encodeURI(uri);\r\n\r\n $.ajax({\r\n url: uri\r\n }).done(function(partialViewResult) {\r\n reviewsFilterPartial.html(partialViewResult);\r\n history.pushState({}, '', uri.replace('handler=reviewspartial&', ''));\r\n addPaginationEventHandlers(); // This ensures that the event handlers are re-added after ajax refresh\r\n });\r\n }\r\n\r\n // Add custom behaviour and event to pagination buttons\r\n function addPaginationEventHandlers()\r\n {\r\n $( '.page-link' ).each(function() {\r\n $(this).on('click', function(event){\r\n event.preventDefault();\r\n var linkParts = $(this).prop('href').split('/');\r\n var pageNo = linkParts[linkParts.length - 1];\r\n if (pageNo !== null && pageNo !== undefined)\r\n {\r\n updateListedReviews({ pageNo: pageNo });\r\n }\r\n });\r\n });\r\n }\r\n\r\n // Triggers partial page update to retriev properties for poulating filter dropdowns\r\n function updateFilterDropDown(filter, query)\r\n {\r\n // update tags dropdown select\r\n var uri = `?handler=reviews${query}`;\r\n var urlParams = new URLSearchParams(location.search);\r\n if (urlParams.has(query))\r\n {\r\n urlParams.getAll(query).forEach(function(value, index) {\r\n uri = uri + `&selected${query}=` + encodeURIComponent(value);\r\n });\r\n }\r\n $.ajax({\r\n url: uri\r\n }).done(function(partialViewResult) {\r\n filter.html(partialViewResult);\r\n (filter).selectpicker('refresh');\r\n });\r\n }\r\n\r\n // Update content of dropdown on page load\r\n $(document).ready(function() {\r\n updateFilterDropDown(languageFilter, \"languages\");\r\n addPaginationEventHandlers();\r\n });\r\n\r\n\r\n // Update when any dropdown is changed\r\n [languageFilter, stateFilter, statusFilter, typeFilter].forEach(function(value, index) {\r\n value.on('hidden.bs.select', function() {\r\n updateListedReviews();\r\n });\r\n });\r\n\r\n searchBox.on('input', _.debounce(function(e) {\r\n updateListedReviews();\r\n }, 300));\r\n\r\n searchButton.on('click', function() {\r\n updateListedReviews();\r\n });\r\n\r\n resetButton.on('click', function(e) {\r\n (languageFilter).selectpicker('deselectAll');\r\n (stateFilter).selectpicker('deselectAll').selectpicker('val', 'Open');\r\n (statusFilter).selectpicker('deselectAll');\r\n (typeFilter).selectpicker('deselectAll');\r\n searchBox.val('');\r\n updateListedReviews();\r\n });\r\n});\r\n"],"names":["module","exports","n","r","self","g","global","Function","t","Array","prototype","e","Object","u","Symbol","o","push","i","slice","a","toString","f","hasOwnProperty","c","ArrayBuffer","l","DataView","s","isArray","p","keys","v","create","h","isView","y","isNaN","d","isFinite","propertyIsEnumerable","b","m","Math","pow","j","length","max","arguments","call","this","apply","_","w","A","x","S","O","M","E","B","N","I","T","k","document","childNodes","Int8Array","D","R","F","V","Map","P","q","getInt8","buffer","U","W","z","L","$","C","K","J","G","H","Q","X","test","Y","Z","contains","constructor","nn","rn","tn","_wrapped","en","Uint8Array","byteOffset","VERSION","value","valueOf","toJSON","String","un","on","pop","an","fn","hn","cn","sn","pn","vn","concat","yn","dn","gn","bn","mn","jn","_n","wn","sort","An","xn","Sn","On","Mn","En","Bn","toPath","Nn","In","Tn","kn","Dn","Rn","Fn","Vn","Pn","iteratee","qn","Un","floor","random","Wn","Date","now","getTime","zn","join","RegExp","replace","Ln","$n","Cn","Kn","templateSettings","evaluate","interpolate","escape","Jn","Gn","Hn","Qn","Xn","Yn","Zn","nr","placeholder","rr","TypeError","tr","er","ur","Error","or","setTimeout","ir","ar","fr","cr","lr","sr","pr","vr","hr","yr","min","dr","gr","br","mr","jr","_r","wr","Ar","xr","Sr","Or","Mr","Er","Br","Nr","Ir","Tr","match","kr","Dr","Rr","Fr","Vr","Pr","qr","Ur","Wr","zr","Lr","$r","Cr","Kr","Jr","Gr","Hr","Qr","Xr","_chain","chain","Yr","Zr","__proto__","restArguments","isObject","isNull","isUndefined","isBoolean","isElement","nodeType","isString","isNumber","isDate","isRegExp","isError","isSymbol","isArrayBuffer","isDataView","isFunction","isArguments","parseFloat","isTypedArray","isEmpty","isMatch","isEqual","isMap","isWeakMap","isSet","isWeakSet","allKeys","values","pairs","invert","functions","methods","extend","extendOwn","assign","defaults","clone","tap","get","has","mapObject","identity","constant","noop","property","propertyOf","matcher","matches","times","unescape","template","source","variable","result","uniqueId","partial","bind","bindAll","memoize","cache","delay","defer","throttle","leading","clearTimeout","trailing","cancel","debounce","wrap","negate","compose","after","before","once","findKey","findIndex","findLastIndex","sortedIndex","indexOf","lastIndexOf","find","detect","findWhere","each","forEach","map","collect","reduce","foldl","inject","reduceRight","foldr","filter","select","reject","every","all","some","any","includes","include","invoke","pluck","where","shuffle","sample","sortBy","index","criteria","groupBy","indexBy","countBy","partition","toArray","size","pick","omit","first","head","take","initial","last","rest","tail","drop","compact","Boolean","flatten","without","uniq","unique","union","intersection","difference","unzip","transpose","zip","object","range","ceil","chunk","mixin","default","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","globalThis","window","reviewsFilterPartial","languageFilter","stateFilter","statusFilter","typeFilter","searchBox","searchButton","resetButton","updateListedReviews","pageNo","pageSize","uri","searchQuery","val","trim","split","encodeURIComponent","children","encodeURI","ajax","url","done","partialViewResult","html","history","pushState","addPaginationEventHandlers","event","preventDefault","linkParts","prop","tooltip","ready","query","urlParams","URLSearchParams","location","search","getAll","selectpicker"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"reviews.js","mappings":"uCAAoEA,EAAOC,QAA+M,WAK1R,IAAIC,EAAE,SAASC,EAAE,iBAAiBC,MAAMA,KAAKA,OAAOA,MAAMA,MAAM,iBAAiB,EAAAC,GAAQ,EAAAA,EAAOC,SAAS,EAAAD,GAAQ,EAAAA,GAAQE,SAAS,cAATA,IAA2B,CAAC,EAAEC,EAAEC,MAAMC,UAAUC,EAAEC,OAAOF,UAAUG,EAAE,oBAAoBC,OAAOA,OAAOJ,UAAU,KAAKK,EAAEP,EAAEQ,KAAKC,EAAET,EAAEU,MAAMC,EAAER,EAAES,SAASC,EAAEV,EAAEW,eAAeC,EAAE,oBAAoBC,YAAYC,EA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IAAIC,gBAAgBC,SAASC,SAC/BrJ,IAAIiJ,IAEhBC,EAAUI,OAAOL,GAAOpG,SAAQ,SAASxN,EAAO+O,GAC9CuD,EAAMA,EAAM,YAAYsB,KAAWjB,mBAAmB3S,EACxD,IAEFrB,EAAEmU,KAAK,CACLC,IAAKT,IACJU,MAAK,SAASC,GACfjF,EAAOkF,KAAKD,GACNjF,EAAQkG,aAAa,UAC7B,IAMAb,GACF,IAIA,CAACzB,EAAgBC,EAAaC,EAAcC,GAAYvE,SAAQ,SAASxN,EAAO+O,GAC9E/O,EAAMK,GAAG,oBAAoB,WAC3B8R,GACF,GACF,IAEAH,EAAU3R,GAAG,QAASvD,EAAEyP,UAAS,SAASjS,GACxC6X,GACF,GAAG,MAEHF,EAAa5R,GAAG,SAAS,WACvB8R,GACF,IAEAD,EAAY7R,GAAG,SAAS,SAAS/F,GACzBsX,EAAgBsC,aAAa,eAC7BrC,EAAaqC,aAAa,eAAeA,aAAa,MAAO,QAC7DpC,EAAcoC,aAAa,eAC3BnC,EAAYmC,aAAa,eAC/BlC,EAAUQ,IAAI,IACdL,GACF,GAAE,G","sources":["webpack://apiview/./node_modules/underscore/underscore-umd-min.js","webpack://apiview/webpack/bootstrap","webpack://apiview/webpack/runtime/global","webpack://apiview/./src/reviews.ts"],"sourcesContent":["!function(n,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=r():\"function\"==typeof define&&define.amd?define(\"underscore\",r):(n=\"undefined\"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){\n// Underscore.js 1.13.4\n// https://underscorejs.org\n// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors\n// Underscore may be freely distributed under the MIT license.\nvar n=\"1.13.4\",r=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof global&&global.global===global&&global||Function(\"return this\")()||{},t=Array.prototype,e=Object.prototype,u=\"undefined\"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c=\"undefined\"!=typeof ArrayBuffer,l=\"undefined\"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable(\"toString\"),b=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J(\"byteLength\"),H=K(G),Q=/\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J(\"length\");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\"},$n=zn(Ln),Cn=zn(_n(Ln)),Kn=tn.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g},Jn=/(.)^/,Gn={\"'\":\"'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Hn=/\\\\|'|\\r|\\n|\\u2028|\\u2029/g;function Qn(n){return\"\\\\\"+Gn[n]}var Xn=/^\\s*(\\w|\\$)+\\s*$/;var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var nr=j((function(n,r){var t=nr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)er(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var cr=nr(fr,2);function lr(n,r,t){r=Pn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Rn(t,u,4),e,o)}}var wr=_r(1),Ar=_r(-1);function xr(n,r,t){var e=[];return r=Pn(r,t),mr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Sr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,o=0;o=0}var Er=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Bn(r),e=r.slice(0,-1),r=r[r.length-1]),jr(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=Nn(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Br(n,r){return jr(n,Dn(r))}function Nr(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ao&&(o=e);else r=Pn(r,t),mr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}var Ir=/[^\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff]/g;function Tr(n){return n?U(n)?i.call(n):S(n)?n.match(Ir):tr(n)?jr(n,Tn):jn(n):[]}function kr(n,r,t){if(null==r||t)return tr(n)||(n=jn(n)),n[Un(n.length-1)];var e=Tr(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Rn(e,r[1])),r=an(n)):(e=qr,r=er(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=jr(er(r,!1,!1),String),e=function(n,t){return!Mr(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=er(r,!0,!0),xr(n,(function(n){return!Mr(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Pn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=Wn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=Wn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return nr(r,n)},negate:ar,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:fr,once:cr,findKey:lr,findIndex:pr,findLastIndex:vr,sortedIndex:hr,indexOf:dr,lastIndexOf:gr,find:br,detect:br,findWhere:function(n,r){return br(n,kn(r))},each:mr,forEach:mr,map:jr,collect:jr,reduce:wr,foldl:wr,inject:wr,reduceRight:Ar,foldr:Ar,filter:xr,select:xr,reject:function(n,r,t){return xr(n,ar(Pn(r)),t)},every:Sr,all:Sr,some:Or,any:Or,contains:Mr,includes:Mr,include:Mr,invoke:Er,pluck:Br,where:function(n,r){return xr(n,kn(r))},max:Nr,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=tr(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t {\r\n // Search\r\n const defaultPageSize = 50;\r\n const reviewsFilterPartial = $( '#reviews-filter-partial' );\r\n const languageFilter = $( '#language-filter-bootstraps-select' );\r\n const stateFilter = $( '#state-filter-bootstraps-select' );\r\n const statusFilter = $( '#status-filter-bootstraps-select' );\r\n const typeFilter = $( '#type-filter-bootstraps-select' );\r\n const searchBox = $( '#reviews-table-search-box' );\r\n const searchButton = $( '#reviews-search-button' );\r\n const resetButton = $( '#reset-filter-button' );\r\n\r\n // Import underscorejs\r\n var _ = require('underscore');\r\n\r\n // Enable tooltip\r\n ($('[data-toggle=\"tooltip\"]')).tooltip();\r\n\r\n // Computes the uri string using the values of search, pagination and various filters\r\n // Invokes partial page update to list of reviews using ajax\r\n // Updates the uri displayed on the client\r\n function updateListedReviews({ pageNo = 1, pageSize = defaultPageSize } = {})\r\n {\r\n var uri = '?handler=reviewspartial';\r\n var searchQuery = searchBox.val() as string;\r\n\r\n if (searchQuery != null && searchQuery.trim() != '')\r\n {\r\n var searchTerms = searchQuery.trim().split(/\\s+/);\r\n searchTerms.forEach(function(value, index){\r\n uri = uri + '&search=' + encodeURIComponent(value);\r\n });\r\n }\r\n\r\n languageFilter.children(\":selected\").each(function() {\r\n uri = uri + '&languages=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n \r\n stateFilter.children(\":selected\").each(function() {\r\n uri = uri + '&state=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n statusFilter.children(\":selected\").each(function() {\r\n uri = uri + '&status=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n typeFilter.children(\":selected\").each(function() {\r\n uri = uri + '&type=' + encodeURIComponent(`${$(this).val()}`);\r\n });\r\n\r\n uri = uri + '&pageNo=' + encodeURIComponent(pageNo);\r\n uri = uri + '&pageSize=' + encodeURIComponent(pageSize);\r\n uri = encodeURI(uri);\r\n\r\n $.ajax({\r\n url: uri\r\n }).done(function(partialViewResult) {\r\n reviewsFilterPartial.html(partialViewResult);\r\n history.pushState({}, '', uri.replace('handler=reviewspartial&', ''));\r\n addPaginationEventHandlers(); // This ensures that the event handlers are re-added after ajax refresh\r\n });\r\n }\r\n\r\n // Add custom behaviour and event to pagination buttons\r\n function addPaginationEventHandlers()\r\n {\r\n $( '.page-link' ).each(function() {\r\n $(this).on('click', function(event){\r\n event.preventDefault();\r\n var linkParts = $(this).prop('href').split('/');\r\n var pageNo = linkParts[linkParts.length - 1];\r\n if (pageNo !== null && pageNo !== undefined)\r\n {\r\n updateListedReviews({ pageNo: pageNo });\r\n }\r\n });\r\n });\r\n }\r\n\r\n // Triggers partial page update to retriev properties for poulating filter dropdowns\r\n function updateFilterDropDown(filter, query)\r\n {\r\n // update tags dropdown select\r\n var uri = `?handler=reviews${query}`;\r\n var urlParams = new URLSearchParams(location.search);\r\n if (urlParams.has(query))\r\n {\r\n urlParams.getAll(query).forEach(function(value, index) {\r\n uri = uri + `&selected${query}=` + encodeURIComponent(value);\r\n });\r\n }\r\n $.ajax({\r\n url: uri\r\n }).done(function(partialViewResult) {\r\n filter.html(partialViewResult);\r\n (filter).selectpicker('refresh');\r\n });\r\n }\r\n\r\n // Update content of dropdown on page load\r\n $(document).ready(function() {\r\n updateFilterDropDown(languageFilter, \"languages\");\r\n addPaginationEventHandlers();\r\n });\r\n\r\n\r\n // Update when any dropdown is changed\r\n [languageFilter, stateFilter, statusFilter, typeFilter].forEach(function(value, index) {\r\n value.on('hidden.bs.select', function() {\r\n updateListedReviews();\r\n });\r\n });\r\n\r\n searchBox.on('input', _.debounce(function(e) {\r\n updateListedReviews();\r\n }, 300));\r\n\r\n searchButton.on('click', function() {\r\n updateListedReviews();\r\n });\r\n\r\n resetButton.on('click', function(e) {\r\n (languageFilter).selectpicker('deselectAll');\r\n (stateFilter).selectpicker('deselectAll').selectpicker('val', 'Open');\r\n (statusFilter).selectpicker('deselectAll');\r\n (typeFilter).selectpicker('deselectAll');\r\n searchBox.val('');\r\n updateListedReviews();\r\n });\r\n});\r\n"],"names":["module","exports","n","r","self","g","global","Function","t","Array","prototype","e","Object","u","Symbol","o","push","i","slice","a","toString","f","hasOwnProperty","c","ArrayBuffer","l","DataView","s","isArray","p","keys","v","create","h","isView","y","isNaN","d","isFinite","propertyIsEnumerable","b","m","Math","pow","j","length","max","arguments","call","this","apply","_","w","A","x","S","O","M","E","B","N","I","T","k","document","childNodes","Int8Array","D","R","F","V","Map","P","q","getInt8","buffer","U","W","z","L","$","C","K","J","G","H","Q","X","test","Y","Z","contains","constructor","nn","rn","tn","_wrapped","en","Uint8Array","byteOffset","VERSION","value","valueOf","toJSON","String","un","on","pop","an","fn","hn","cn","sn","pn","vn","concat","yn","dn","gn","bn","mn","jn","_n","wn","sort","An","xn","Sn","On","Mn","En","Bn","toPath","Nn","In","Tn","kn","Dn","Rn","Fn","Vn","Pn","iteratee","qn","Un","floor","random","Wn","Date","now","getTime","zn","join","RegExp","replace","Ln","$n","Cn","Kn","templateSettings","evaluate","interpolate","escape","Jn","Gn","Hn","Qn","Xn","Yn","Zn","nr","placeholder","rr","TypeError","tr","er","ur","Error","or","setTimeout","ir","ar","fr","cr","lr","sr","pr","vr","hr","yr","min","dr","gr","br","mr","jr","_r","wr","Ar","xr","Sr","Or","Mr","Er","Br","Nr","Ir","Tr","match","kr","Dr","Rr","Fr","Vr","Pr","qr","Ur","Wr","zr","Lr","$r","Cr","Kr","Jr","Gr","Hr","Qr","Xr","_chain","chain","Yr","Zr","__proto__","restArguments","isObject","isNull","isUndefined","isBoolean","isElement","nodeType","isString","isNumber","isDate","isRegExp","isError","isSymbol","isArrayBuffer","isDataView","isFunction","isArguments","parseFloat","isTypedArray","isEmpty","isMatch","isEqual","isMap","isWeakMap","isSet","isWeakSet","allKeys","values","pairs","invert","functions","methods","extend","extendOwn","assign","defaults","clone","tap","get","has","mapObject","identity","constant","noop","property","propertyOf","matcher","matches","times","unescape","template","source","variable","result","uniqueId","partial","bind","bindAll","memoize","cache","delay","defer","throttle","leading","clearTimeout","trailing","cancel","debounce","wrap","negate","compose","after","before","once","findKey","findIndex","findLastIndex","sortedIndex","indexOf","lastIndexOf","find","detect","findWhere","each","forEach","map","collect","reduce","foldl","inject","reduceRight","foldr","filter","select","reject","every","all","some","any","includes","include","invoke","pluck","where","shuffle","sample","sortBy","index","criteria","groupBy","indexBy","countBy","partition","toArray","size","pick","omit","first","head","take","initial","last","rest","tail","drop","compact","Boolean","flatten","without","uniq","unique","union","intersection","difference","unzip","transpose","zip","object","range","ceil","chunk","mixin","default","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","globalThis","window","reviewsFilterPartial","languageFilter","stateFilter","statusFilter","typeFilter","searchBox","searchButton","resetButton","updateListedReviews","pageNo","pageSize","uri","searchQuery","val","trim","split","encodeURIComponent","children","encodeURI","ajax","url","done","partialViewResult","html","history","pushState","addPaginationEventHandlers","event","preventDefault","linkParts","prop","tooltip","ready","query","urlParams","URLSearchParams","location","search","getAll","selectpicker"],"sourceRoot":""} \ No newline at end of file