Skip to content

Comments

fix: remove references to old schema fields#532

Merged
jdhoffa merged 3 commits intomainfrom
511-fix_publisher_and_published_fields
Nov 6, 2025
Merged

fix: remove references to old schema fields#532
jdhoffa merged 3 commits intomainfrom
511-fix_publisher_and_published_fields

Conversation

@jdhoffa
Copy link
Collaborator

@jdhoffa jdhoffa commented Nov 6, 2025

This handles the immediate bug of "Publisher:" and "Published:" values being empty on the Scenario Details page.
The broader challenge of enabling type-checking and dealing with the root of this problem more holistically by handling all typecheck failures is being handled concurrently (see #514 and related PRs).

Closes #511

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Expected version change and release notes:

1.5.0-dev.23 (v1.5.0-dev.22...511-fix_publisher_and_published_fields ) (2025-11-06T13:53 UTC)

Fixes

  • remove references to old schema fields (e260036)

@jdhoffa jdhoffa marked this pull request as ready for review November 6, 2025 12:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the pathway publication data model from a flat structure to a nested structure, aligning the code with the existing type definitions that use a Publication object with structured Label types for the publisher field.

  • Updated references from pathway.publisher to pathway.publication.publisher.full
  • Updated references from pathway.publicationYear to pathway.publication.year

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/utils/searchUtils.ts Updated search fields to access publisher and year through nested publication object
src/pages/PathwayDetailPage.tsx Updated UI display to access publisher and year through nested publication object

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

AlexAxthelm
AlexAxthelm previously approved these changes Nov 6, 2025
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-532.westus2.2.azurestaticapps.net

@jdhoffa jdhoffa merged commit aa1713d into main Nov 6, 2025
18 of 19 checks passed
@jdhoffa jdhoffa deleted the 511-fix_publisher_and_published_fields branch November 6, 2025 14:14
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.

"Publisher:" and "Published:" values are empty on pathway details pages

2 participants