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

Breadcrumbs after update #494

Merged
merged 8 commits into from
Sep 28, 2023
Merged

Breadcrumbs after update #494

merged 8 commits into from
Sep 28, 2023

Conversation

DavieReid
Copy link
Contributor

@DavieReid DavieReid commented Sep 27, 2023

Followup to #492

The breadcrumbs were still not showing up from a cold start.

This PR introduces a new plugin lifecycle method shouldUpdateNamespaceSources.

When a source updates, other sources that share the same namespace will re-run afterUpdate if there is any plugin that returns true when shouldUpdateNamespaceSources is called.

This allows the other source to have a more holistic view of the namespace pages.

@DavieReid DavieReid requested a review from a team as a code owner September 27, 2023 16:08
@changeset-bot
Copy link

changeset-bot bot commented Sep 27, 2023

🦋 Changeset detected

Latest commit: 8b34251

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@jpmorganchase/mosaic-core Patch
@jpmorganchase/mosaic-plugins Patch
@jpmorganchase/mosaic-types Patch
@jpmorganchase/mosaic-cli Patch
@jpmorganchase/mosaic-labs-components Patch
@jpmorganchase/mosaic-components Patch
@jpmorganchase/mosaic-content-editor-plugin Patch
@jpmorganchase/mosaic-create-site Patch
@jpmorganchase/mosaic-from-http-request Patch
@jpmorganchase/mosaic-layouts Patch
@jpmorganchase/mosaic-open-api-component Patch
@jpmorganchase/mosaic-schemas Patch
@jpmorganchase/mosaic-serialisers Patch
@jpmorganchase/mosaic-site-components Patch
@jpmorganchase/mosaic-site-middleware Patch
@jpmorganchase/mosaic-site-preset-styles Patch
@jpmorganchase/mosaic-site Patch
@jpmorganchase/mosaic-source-git-repo Patch
@jpmorganchase/mosaic-source-http Patch
@jpmorganchase/mosaic-source-local-folder Patch
@jpmorganchase/mosaic-standard-generator Patch
@jpmorganchase/mosaic-store Patch
@jpmorganchase/mosaic-theme Patch
@jpmorganchase/mosaic-workflows Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mosaic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 28, 2023 0:43am

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6338989550

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 63.315%

Totals Coverage Status
Change from base Build 6296526829: 0.0%
Covered Lines: 1317
Relevant Lines: 1814

💛 - Coveralls

@DavieReid DavieReid merged commit 425b5a0 into main Sep 28, 2023
7 checks passed
@DavieReid DavieReid deleted the breadcrumbs-after-update branch September 28, 2023 12:58
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.

3 participants