Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hub-common): removes the "all" collection from being returned as part of a site's catalog #1833

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sonofflynn89
Copy link
Contributor

affects: @esri/hub-common

BREAKING CHANGE:
getCatalogFromSiteModel() no longer includes the "all" collection

  1. Description:

We need to stop returning the "all" collection when calculating a site catalog as we do not ever intend to persist it in the data.json. FE and BE consumers of site catalogs that need to display an "all" collection will need to add one as a display-only collection.

  1. Updated meaningful TSDoc to methods including Parameters and Returns, see Documentation Guide

  2. used semantic commit messages

  3. PR title follows semantic commit format (CRITICAL if the title is not in a semantic format, the release automation will not run!)

… part of a site's catalog; FE c

affects: @esri/hub-common

BREAKING CHANGE:
getCatalogFromSiteModel() no longer includes the "all" collection
@sonofflynn89 sonofflynn89 requested a review from abp6318 March 18, 2025 20:48
…d of "well known collections"

affects: @esri/hub-common
…atalogV2

affects: @esri/hub-common, @esri/hub-sites
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a95de50) to head (38ccb08).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##            master     #1833    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files         1054      1072    +18     
  Lines        19199     19482   +283     
  Branches      3476      3532    +56     
==========================================
+ Hits         19199     19482   +283     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants