From f18f3390d740c39b5dd0749acd24bb68f29455d7 Mon Sep 17 00:00:00 2001 From: robyngit Date: Mon, 15 Apr 2024 19:20:39 -0400 Subject: [PATCH] Update version to 2.28.0; replace @since x.x.x with new version. --- README.md | 2 +- docs/_config.yml | 2 +- docs/index.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index.html | 2 +- src/js/collections/DataPackage.js | 4 ++-- src/js/collections/maps/AssetCategories.js | 2 +- src/js/common/IconUtilities.js | 2 +- src/js/models/AppModel.js | 4 ++-- src/js/models/DataONEObject.js | 6 +++--- src/js/models/LookupModel.js | 4 ++-- src/js/models/geocoder/GeocodedLocation.js | 2 +- src/js/models/geocoder/GeocoderSearch.js | 2 +- src/js/models/geocoder/GoogleMapsAutocompleter.js | 2 +- src/js/models/geocoder/GoogleMapsGeocoder.js | 2 +- src/js/models/geocoder/Prediction.js | 2 +- src/js/models/maps/AssetCategory.js | 2 +- src/js/models/maps/Map.js | 2 +- src/js/views/DataPackageView.js | 14 +++++++------- src/js/views/maps/LayerCategoryItemView.js | 2 +- src/js/views/maps/LayerCategoryListView.js | 2 +- src/js/views/maps/LayersPanelView.js | 2 +- src/js/views/maps/SearchInputView.js | 2 +- src/js/views/maps/viewfinder/PredictionView.js | 2 +- .../views/maps/viewfinder/PredictionsListView.js | 2 +- src/js/views/maps/viewfinder/ViewfinderView.js | 2 +- src/js/views/search/SearchResultsPagerView.js | 2 +- 28 files changed, 40 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 3966f80bf..4f0568599 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ MetacatUI is an open source, community project. We [welcome contributions](http Cite this software as: -> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.27.1). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K) +> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.28.0). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K) ## Screenshots diff --git a/docs/_config.yml b/docs/_config.yml index 72dd93506..57a6eb2ea 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,3 +1,3 @@ url: "/metacatui" highlighter: "rouge" -version: "2.27.1" +version: "2.28.0" diff --git a/docs/index.md b/docs/index.md index b2dc9e68f..48375f498 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,7 +22,7 @@ MetacatUI is an open source, community project. We [welcome contributions](http Cite this software as: -> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.27.1). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K) +> Matthew B. Jones, Chris Jones, Lauren Walker, Robyn Thiessen-Bock, Ben Leinfelder, Peter Slaughter, Bryce Mecum, Rushiraj Nenuji, Hesham Elbashandy, Val Hendrix. 2024. MetacatUI: A client-side web interface for DataONE data repositories (version 2.28.0). Arctic Data Center. [doi:10.18739/A25M6282K](https://doi.org/10.18739/A25M6282K) ## Related Projects diff --git a/package-lock.json b/package-lock.json index 070348e41..798f8ee55 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "metacatui", - "version": "2.27.1", + "version": "2.28.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "metacatui", - "version": "2.27.1", + "version": "2.28.0", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.9.1", diff --git a/package.json b/package.json index cc4b502e6..2a8de67af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metacatui", - "version": "2.27.1", + "version": "2.28.0", "description": "MetacatUI: A client-side web interface for DataONE data repositories", "main": "server.js", "dependencies": { diff --git a/src/index.html b/src/index.html index e28552077..222272b7a 100644 --- a/src/index.html +++ b/src/index.html @@ -44,7 +44,7 @@ //Create the MetacatUI object var MetacatUI = {}; - MetacatUI.metacatUIVersion = "2.27.1"; + MetacatUI.metacatUIVersion = "2.28.0"; //Catch errors when the config or loader file fails to load. // These are mainly helpful for developers/operators installing MetacatUI diff --git a/src/js/collections/DataPackage.js b/src/js/collections/DataPackage.js index 681d1fc49..df29d62d4 100644 --- a/src/js/collections/DataPackage.js +++ b/src/js/collections/DataPackage.js @@ -4055,7 +4055,7 @@ define([ * Returns atLocation information found in this resourceMap * for all the PIDs in this resourceMap * @returns object with PIDs as key and atLocation paths as values - * @since x.x.x + * @since 2.28.0 */ getAtLocation: function () { return this.atLocationObject; @@ -4067,7 +4067,7 @@ define([ * @param {string} relativePath - The relative path to be converted to an absolute path. * @returns {string} - The absolute path after processing '~', '..', and '.'. * If the result is empty, returns '/'. - * @since x.x.x + * @since 2.28.0 */ getAbsolutePath(relativePath) { // Replace ~ with an empty space diff --git a/src/js/collections/maps/AssetCategories.js b/src/js/collections/maps/AssetCategories.js index 363ad9253..c3635de20 100644 --- a/src/js/collections/maps/AssetCategories.js +++ b/src/js/collections/maps/AssetCategories.js @@ -18,7 +18,7 @@ define([ * @classcategory Collections/Maps * @class AssetCategories * @extends Backbone.Collection - // * @since x.x.x + * @since 2.28.0 * @constructor */ const AssetCategories = Backbone.Collection.extend( diff --git a/src/js/common/IconUtilities.js b/src/js/common/IconUtilities.js index da0dd065f..37a421760 100644 --- a/src/js/common/IconUtilities.js +++ b/src/js/common/IconUtilities.js @@ -13,7 +13,7 @@ define([ * MetacatUI to perform useful functions related to icons, but not used to store or * manipulate any state about the application. * @type {object} - * @since x.x.x + * @since 2.28.0 */ const IconUtilities = /** @lends IconUtilities.prototype */ { diff --git a/src/js/models/AppModel.js b/src/js/models/AppModel.js index e99e20255..2e68b04d2 100644 --- a/src/js/models/AppModel.js +++ b/src/js/models/AppModel.js @@ -108,14 +108,14 @@ define(['jquery', 'underscore', 'backbone'], /** * Set this option to true to display the filtering button for data package table * @type {boolean} - * @since x.x.x + * @since 2.28.0 */ dataPackageFiltering: false, /** * Set this option to true to display the sorting button for data package table * @type {boolean} - * @since x.x.x + * @since 2.28.0 */ dataPackageSorting: false, diff --git a/src/js/models/DataONEObject.js b/src/js/models/DataONEObject.js index be307c1fa..668f4b4f3 100644 --- a/src/js/models/DataONEObject.js +++ b/src/js/models/DataONEObject.js @@ -264,7 +264,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol /** * Create the URL string that is used to download this package * @returns PackageURL string for this DataONE Object - * @since x.x.x + * @since 2.28.0 */ getPackageURL: function(){ var url = null; @@ -1223,7 +1223,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol /** * Looks up human readable format of the DataONE Object * @returns format String - * @since x.x.x + * @since 2.28.0 */ getFormat: function(){ var formatMap = { @@ -1862,7 +1862,7 @@ define(['jquery', 'underscore', 'backbone', 'uuid', 'he', 'collections/AccessPol * This method will download this object while * sending the user's auth token in the request. * @returns None - * @since: x.x.x + * @since: 2.28.0 */ downloadWithCredentials: function(){ //if(this.get("isPublic")) return; diff --git a/src/js/models/LookupModel.js b/src/js/models/LookupModel.js index d65573b4e..2edc30aa8 100644 --- a/src/js/models/LookupModel.js +++ b/src/js/models/LookupModel.js @@ -428,7 +428,7 @@ define(["jquery", "jqueryui", "underscore", "backbone"], function ( * to 1. * @returns {Promise} A promise that resolves to an array of awards in the * format {id: string, title: string} - * @since x.x.x + * @since 2.28.0 */ findGrants: function (term, offset = 1) { let awards = []; @@ -464,7 +464,7 @@ define(["jquery", "jqueryui", "underscore", "backbone"], function ( * {id: string, title: string} * @returns {Array} An array of awards in the format * {value: string, label: string} - * @since x.x.x + * @since 2.28.0 */ formatFundingForAutocomplete: function (awards) { if (!awards || !awards.length) return []; diff --git a/src/js/models/geocoder/GeocodedLocation.js b/src/js/models/geocoder/GeocodedLocation.js index b5f901492..50ef4d766 100644 --- a/src/js/models/geocoder/GeocodedLocation.js +++ b/src/js/models/geocoder/GeocodedLocation.js @@ -9,7 +9,7 @@ define( * geocoded to provide latitude and longitude bounding coordinates for * navigating to on a map. * @classcategory Models/Geocoder - * @since x.x.x + * @since 2.28.0 */ const GeocodedLocation = Backbone.Model.extend({ /** diff --git a/src/js/models/geocoder/GeocoderSearch.js b/src/js/models/geocoder/GeocoderSearch.js index a7a712fb8..191ad1be1 100644 --- a/src/js/models/geocoder/GeocoderSearch.js +++ b/src/js/models/geocoder/GeocoderSearch.js @@ -10,7 +10,7 @@ define( * GeocoderSearch interfaces with various geocoding and location * searching services. * @classcategory Models/Geocoder - * @since x.x.x + * @since 2.28.0 */ class GeocoderSearch { /** diff --git a/src/js/models/geocoder/GoogleMapsAutocompleter.js b/src/js/models/geocoder/GoogleMapsAutocompleter.js index a80b8bb78..db57381ee 100644 --- a/src/js/models/geocoder/GoogleMapsAutocompleter.js +++ b/src/js/models/geocoder/GoogleMapsAutocompleter.js @@ -7,7 +7,7 @@ define( * Integrate with the Google Maps Places Autocomplete API using the * Google Maps AutocompleteService JS library. * @classcategory Models/Geocoder - * @since x.x.x + * @since 2.28.0 */ class GoogleMapsAutocompleter { /** diff --git a/src/js/models/geocoder/GoogleMapsGeocoder.js b/src/js/models/geocoder/GoogleMapsGeocoder.js index 0131bd753..203af567e 100644 --- a/src/js/models/geocoder/GoogleMapsGeocoder.js +++ b/src/js/models/geocoder/GoogleMapsGeocoder.js @@ -7,7 +7,7 @@ define( * Integrate with the Google Maps Geocoder API using the Google * Maps Geocoder JS library. * @classcategory Models/Geocoder - * @since x.x.x + * @since 2.28.0 */ class GoogleMapsGeocoder { /** Google Maps service for interacting with the Geocoder API. */ diff --git a/src/js/models/geocoder/Prediction.js b/src/js/models/geocoder/Prediction.js index 822eb68b8..e79a2cc7f 100644 --- a/src/js/models/geocoder/Prediction.js +++ b/src/js/models/geocoder/Prediction.js @@ -6,7 +6,7 @@ define(['backbone'], (Backbone) => { * @classdes Prediction represents a value returned from a location * autocompletion search. * @classcategory Models/Geocoder - * @since x.x.x + * @since 2.28.0 */ const Prediction = Backbone.Model.extend({ /** diff --git a/src/js/models/maps/AssetCategory.js b/src/js/models/maps/AssetCategory.js index 798f6e38c..f9aeb6e2e 100644 --- a/src/js/models/maps/AssetCategory.js +++ b/src/js/models/maps/AssetCategory.js @@ -12,7 +12,7 @@ define([ * @class AssetCategory * @name AssetCategory * @extends Backbone.Model - // * @since x.x.x + * @since 2.28.0 * @constructor */ const AssetCategory = Backbone.Model.extend( diff --git a/src/js/models/maps/Map.js b/src/js/models/maps/Map.js index e7c0403c8..48114e588 100644 --- a/src/js/models/maps/Map.js +++ b/src/js/models/maps/Map.js @@ -277,7 +277,7 @@ define([ * Select features on the map. Updates the selectedFeatures attribute on * the MapInteraction model. * @param {Feature[]} features - An array of Feature models to select. - * since x.x.x + * since 2.28.0 */ selectFeatures: function (features) { this.get("interactions")?.selectFeatures(features); diff --git a/src/js/views/DataPackageView.js b/src/js/views/DataPackageView.js index 8e5159fe7..6f480d1f2 100644 --- a/src/js/views/DataPackageView.js +++ b/src/js/views/DataPackageView.js @@ -645,7 +645,7 @@ define([ /** * Expand function to show hidden rows when a user clicks on an expand control. * @param {Event} e - The event object. - * @since x.x.x + * @since 2.28.0 */ expand: function(e) { // Don't do anything... @@ -674,7 +674,7 @@ define([ * Collapse function to hide rows when a user clicks on a collapse control. * @param {Event} e - The event object. * - * @since x.x.x + * @since 2.28.0 */ collapse: function(e) { // Don't do anything... @@ -698,7 +698,7 @@ define([ * Expand all function to show all child rows when a user clicks on an expand-all control. * @param {Event} e - The event object. * - * @since x.x.x + * @since 2.28.0 */ expandAll: function(e) { // Don't do anything... @@ -727,7 +727,7 @@ define([ * Collapse all function to hide all child rows when a user clicks on a collapse-all control. * @param {Event} e - The event object. * - * @since x.x.x + * @since 2.28.0 */ collapseAll: function(e) { // Don't do anything... @@ -757,7 +757,7 @@ define([ /** * Check for private members and disable download buttons if necessary. * - * @since x.x.x + * @since 2.28.0 */ checkForPrivateMembers: function() { try { @@ -806,7 +806,7 @@ define([ /** * Retrieves and processes nested packages for the current package. * - * @since x.x.x + * @since 2.28.0 */ getNestedPackages: function() { var nestedPackages = new Array(); @@ -838,7 +838,7 @@ define([ * Adds a nested data package to the package table. * * @param {Object} dataPackage - The data package to be added. - * @since x.x.x + * @since 2.28.0 */ addNestedPackages: function(dataPackage) { /** diff --git a/src/js/views/maps/LayerCategoryItemView.js b/src/js/views/maps/LayerCategoryItemView.js index ad3e03de9..4a4e19b38 100644 --- a/src/js/views/maps/LayerCategoryItemView.js +++ b/src/js/views/maps/LayerCategoryItemView.js @@ -40,7 +40,7 @@ define( * @name LayerCategoryItemView * @extends Backbone.View * @screenshot views/maps/LayerCategoryItemView.png - // * @since x.x.x + * @since 2.28.0 * @constructs */ const LayerCategoryItemView = Backbone.View.extend( diff --git a/src/js/views/maps/LayerCategoryListView.js b/src/js/views/maps/LayerCategoryListView.js index f51bdce0d..ef658f89a 100644 --- a/src/js/views/maps/LayerCategoryListView.js +++ b/src/js/views/maps/LayerCategoryListView.js @@ -27,7 +27,7 @@ define( * @name LayerCategoryListView * @screenshot views/maps/LayerCategoryListView.png * @extends Backbone.View - // * @since x.x.x + * @since 2.28.0 * @constructs */ const LayerCategoryListView = Backbone.View.extend( diff --git a/src/js/views/maps/LayersPanelView.js b/src/js/views/maps/LayersPanelView.js index d42311c99..081197fc9 100644 --- a/src/js/views/maps/LayersPanelView.js +++ b/src/js/views/maps/LayersPanelView.js @@ -21,7 +21,7 @@ define([ * @name LayersPanelView * @extends Backbone.View * @screenshot views/maps/LayersPanelView.png - * @since x.x.x + * @since 2.28.0 * @constructs LayersPanelView */ const LayersPanelView = Backbone.View.extend({ diff --git a/src/js/views/maps/SearchInputView.js b/src/js/views/maps/SearchInputView.js index e6dfb24da..35af8a57b 100644 --- a/src/js/views/maps/SearchInputView.js +++ b/src/js/views/maps/SearchInputView.js @@ -26,7 +26,7 @@ define([ * @classcategory Views/Maps * @name SearchInputView * @extends Backbone.View - * @since x.x.x + * @since 2.28.0 * @constructs SearchInputView */ const SearchInputView = Backbone.View.extend({ diff --git a/src/js/views/maps/viewfinder/PredictionView.js b/src/js/views/maps/viewfinder/PredictionView.js index 13892d195..6b014d5ee 100644 --- a/src/js/views/maps/viewfinder/PredictionView.js +++ b/src/js/views/maps/viewfinder/PredictionView.js @@ -13,7 +13,7 @@ define( * @name PredictionView * @extends Backbone.View * @screenshot views/maps/viewfinder/PredictionView.png - * @since x.x.x + * @since 2.28.0 * @constructs PredictionView */ const PredictionView = Backbone.View.extend({ diff --git a/src/js/views/maps/viewfinder/PredictionsListView.js b/src/js/views/maps/viewfinder/PredictionsListView.js index 32fef4077..aa305b4b4 100644 --- a/src/js/views/maps/viewfinder/PredictionsListView.js +++ b/src/js/views/maps/viewfinder/PredictionsListView.js @@ -17,7 +17,7 @@ define( * @name PredictionsListView * @extends Backbone.View * @screenshot views/maps/viewfinder/PredictionsListView.png - * @since x.x.x + * @since 2.28.0 * @constructs PredictionsListView */ var PredictionsListView = Backbone.View.extend({ diff --git a/src/js/views/maps/viewfinder/ViewfinderView.js b/src/js/views/maps/viewfinder/ViewfinderView.js index 5a221cf92..b7831f95e 100644 --- a/src/js/views/maps/viewfinder/ViewfinderView.js +++ b/src/js/views/maps/viewfinder/ViewfinderView.js @@ -31,7 +31,7 @@ define( * @name ViewfinderView * @extends Backbone.View * @screenshot views/maps/viewfinder/ViewfinderView.png - * @since x.x.x + * @since 2.28.0 * @constructs ViewfinderView */ var ViewfinderView = Backbone.View.extend({ diff --git a/src/js/views/search/SearchResultsPagerView.js b/src/js/views/search/SearchResultsPagerView.js index 072b7fe65..e2de74203 100644 --- a/src/js/views/search/SearchResultsPagerView.js +++ b/src/js/views/search/SearchResultsPagerView.js @@ -272,7 +272,7 @@ define(["backbone"], function (Backbone) { /** * Navigates to the given page in the search results * @param {number} page - The page number to navigate to (0-based) - * @since x.x.x + * @since 2.28.0 */ goToPage: function (page) { if (this.searchResults) {