Skip to content

Releases: NCEAS/metacatui

2.34.1

14 Aug 21:51
92d45a0
Compare
Choose a tag to compare

Patch release 2.34.1 🛠️

This patch release fixes a resource map resolution problem and refreshes stale system metadata in the data package Editor. In v 2.34.0, when there were multiple resource maps indexed for a given metadata document, the editor would consistently show an error indicating that the data package could not be found. With this fix, the editor is now able to inspect the version relationships and select the latest non-obsoleted map when they're in the same chain.

It also forces the editor to refresh system metadata when resolving the latest document version (and while walking the resource-map chain) instead of relying on a cached end-of-chain, which prevents some cases of failures like "PID has already been obsoleted."

For addition details, see #2725

See the complete changelog: https://github.com/NCEAS/metacatui/compare/2.33.0...2.33.1

MetacatUI Helm Chart v1.0.9 ⚙️ Pre-release

14 Aug 21:51
92d45a0
Compare
Choose a tag to compare

This chart bumps the MetacatUI app version 2.34.1

2.34.0

05 Aug 18:13
60bf5b0
Compare
Choose a tag to compare

New features 🎉

Allow filtering map features by attribute 📍

A new "Filter by Property" tool has been added to support filtering features in map layers by categorical attributes (#1770). Users can now choose a property (e.g., year) and show or hide features on the map by specific values (e.g., 2021). A new icon in the layer list indicates when a layer is filterable and shows whether filters are active. This is the first step toward more advanced filtering for map-based data layers.

image

This feature currently supports vector layers (for example, Cesium 3D tilesets or GeoJSON) that have categorical properties available on individual features. Although layers can already be configured to pre-filter features based on other types of properties (e.g. numerical), the first implementation of the UI filtering is focused on categorical properties. Users can select a property from the layer's available attributes and choose from predefined values to filter the displayed features. Future updates may expand this to support multiple filters, numerical ranges, and the ability to add or remove filters dynamically.

Support copying attributes via reference linking 🔗

The Editor now supports copying EML attributes between files using reference linking. This feature allows users to create references to existing attribute lists in the same data package. Referenced files stay in sync automatically. Updates such as typo fixes propagate automatically across all linked files. This is particularly useful for datasets with large, complex attribute lists that are reused across multiple files, for example, in yearly measurement files. Underlying EML parsing and serialization have been extended to support reference-based attribute lists, preserving linkage when metadata is saved.

Users will see a new "Copy as reference" option in the attribute editor alongside the existing cloning method. This allows them to choose whether to copy attributes as a new list or link to an existing one.

ref-link

See #2652 for more details.

Improve readability of long Dataset Assessment checks 📖

The Dataset Assessment now uses collapsible sections within individual checks to improve readability when tests return long results. Tests with large text blocks or many output items are now displayed in a structured, collapsible layout using the standard accordion component. Additional metadata is shown in tooltips rather than cluttering the main view. These updates make it easier to scan results and navigate complex reports without losing important context.

image

See #2686 for more details.

Misc improvements

  • Use EMLUtilities.getParentEML() instead of redefining in multiple models #2710
  • Update Local Forage from v1.7.3 to 1.10.0 #2692
  • Support collapsible elements in Markdown #2685
  • Helm Chart Should Auto-Upgrade Custom Theme on PVC, If Present #2627

Bug fixes 🛠️

Prevent data packge version chain breakage and apparent file disappearance

The Editor includes improved resource map lookup to prevent inconsistencies that previously broke package version chains or made it appear as though files were lost in the UI. It now tries multiple lookup methods, beyond searching the index, to find the correct resource map for a package. If no existing resource map can be found despite all strategies, the user is prompted to contact support. The Editor no longer creates a new resource map when it cannot find an existing one, which helps maintain the integrity of version history. This makes editing more reliable and prevents confusion during short indexing delays.

A guide is available in the documentation that describes how resource map resolution works, what happens when a resource map can't be found, and how to set up the custom event in Google Analytics to show metadata IDs that are missing resource maps.

See also #2678. This update resolves #1586, #339, and #558

Other bug fixes

  • portal Query Builder produces incorrect results for boolean any operator #2587
  • Fix TypeError when 'wmts' service is undefined #2700
  • Changed Values Should Always Trigger a Pod Restart on helm upgrade #2691
  • Query builder shows custom semantic annotations as invalid #2660
  • Unable to add additional attributes #1722
  • Fix eslint issues in the file hierarchy table code #2483
  • Attribute removed sometimes when hovering over Measurement Type input #2677

Developer notes

To enable filtering for a layer in a Cesium Map, the map configuration must include a filters array in the layer definition. Each filter must define a property name (i.e. the attribute to filter by) and an allValues list containing the possible values that can be used to filter the layer. A set of values can also be specified to indicate which values should be initially displayed when the layer is loaded.

"layers": [
  {
    "type": "Cesium3DTileset",
    "filters": [
      {
        "property": "year",
        "filterType": "categorical",
        "values": [2020],
        "allValues": [2020, 2021, 2022]
      }
    ]
  }
]

Filtering values must be specified in the configuration rather than discovered dynamically, to support large datasets like Cesium 3D tilesets that cannot be fully loaded into the browser.

See the complete changelog: 2.33.1...2.34.0

MetacatUI Helm Chart v1.0.8 ⚙️ Pre-release

05 Aug 18:14
60bf5b0
Compare
Choose a tag to compare

This chart bumps the MetacatUI app version 2.34.0

2.33.1

14 Apr 16:17
7bd3ceb
Compare
Choose a tag to compare

Patch release 2.33.1 🛠️

This patch release contains one small but important bug fix for the EML Attribute Editor. The fix ensures that changes to existing attributes are now saved correctly. This was a critical issue that affected users who were trying to modify existing attributes in their EML files.

See the complete changelog: https://github.com/NCEAS/metacatui/compare/2.33.0...2.33.1

MetacatUI Helm Chart v1.0.7 ⚙️ Pre-release

14 Apr 16:17
7bd3ceb
Compare
Choose a tag to compare

This chart bumps the MetacatUI app version 2.33.1

2.33.0

08 Apr 23:10
280a511
Compare
Choose a tag to compare

New features 🎉

Download geospatial for areas of interest directly from the map 🗺

The new "Download" button in the Cesium map allows users to download geospatial data for a specific area of interest. This feature is available for WMTS layers that are configured to support it, and allows users to select a bounding box or polygon on the map. The resolution and file format can be selected, and the data will be downloaded as a zipped file along with associated metadata if available. Multiple files can be selected and downloaded at once. The WMTS endpoint URL is also available to use directly in other mapping applications.

image

Partial downloads are great way to access data that is relevant to a specific area, without having to download an entire massive dataset. We hope this feature helps to promote reuse of existing data and makes it easier to work with large datasets.

Since this is the initial implementation, the feature is only visible when the map is configured to showDownloadPanel. Layers must be of type WebMapTileServiceImageryProvider and must include a services array of possible endpoints. To include DataONE metadata in the download, the layer must also include a metadata.

See #1889 for more details.

Allow copying attribute metadata between files in the editor 📋

It's now easier to enter metadata for multiple files with similar attributes. In addition to the existing ability to fill in attribute names directly from CSV files, the attribute editor now includes new "auto-fill" functions. Attribute names can be copied from another file in the same package, or can be copied to multiple files! This feature will be especially useful for large packages with many files that share the same attributes, and will make entering complete metadata much easier.

Autofill view

See #688 for more details.

Misc improvements

  • Refactor EMLTaxon code into its own Backbone View #25
  • Use POST for all Solr queries unless disableQueryPOSTs is true #2646
  • Bump tar-fs and puppeteer #2654
  • Bump nokogiri from 1.16.5 to 1.18.4 in /docs #2647
  • Bump cross-spawn from 7.0.3 to 7.0.6 #2604
  • Bump micromatch from 4.0.7 to 4.0.8 #2603
    • Update Semantic UI to 2.9.4 from beta-version
  • Bump nanoid from 3.3.7 to 3.3.8 #2602
  • Bump webrick from 1.8.1 to 1.8.2 in /docs #2601

See the complete changelog: 2.32.2...2.33.0

MetacatUI Helm Chart v1.0.6 ⚙️ Pre-release

08 Apr 23:09
280a511
Compare
Choose a tag to compare

This chart bumps the MetacatUI app version 2.33.0

2.32.2

25 Feb 21:53
35fa3b0
Compare
Choose a tag to compare

Patch release 2.32.2 🛠️

This additional patch on the 2.32 release fixes an issues in the Editor where users were able to upload new files to a data package before it was finished loading. Uploading at this stage would result in a faulty resource map, breaking the obsolescence chain, and effectively making it appear as though files were lost from the data package. The patch prevents any uploads until all metadata for every file in the data package has completed downloading. This is especially relevant for very large data packages with many files. For more details, see #2623.

See the complete changelog: https://github.com/NCEAS/metacatui/compare/2.32.0...2.32.1

2.32.1

25 Feb 03:17
Compare
Choose a tag to compare

Patch release 2.32.1 🛠️

This patch release includes important bug fixes that were identified in the previous release, mainly related to the dataset editor:

  • Dataset editor fails to save after correcting an initially invalid canonical dataset id #2616
  • Cannot replace or remove files for a dataset #2607
  • MetacatUI Editor Save Button Stuck on "Submitting ..." #2606
  • Remove references to Ports 30080 and 30443 #2610

Developer notes

New configuration options

These configuration options are related to fixed fetch functionality in the dataset editor:

  • batchSizeFetch - The number of records to fetch in a single batch when fetching data package files from Metacat.
  • batchSizeUpload - The number of records to upload in a single batch when uploading data package files to Metacat.
  • fileDownloadTimeout - The timeout in milliseconds for downloading a file from Metacat. If the download takes longer than this timeout, the download will be aborted. If set to 0 (the default), there is no timeout.

See the complete changelog: 2.32.0...2.32.1