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

Update preview page logic for npe2 fetch and fix tests #711

Merged
merged 4 commits into from
Nov 3, 2022

Conversation

DragaDoncila
Copy link
Contributor

@DragaDoncila DragaDoncila commented Oct 25, 2022

This PR updates the metadata parsing logic for the preview page to use npe2 fetch for manifest metadata and package info parsing, consistent with the process in the backend.

Link to example preview generated with this PR and napari-hub-preview-action#5:
https://preview.napari-hub.org/chanzuckerberg/napari-demo/19

@DragaDoncila DragaDoncila marked this pull request as ready for review October 27, 2022 22:39
@DragaDoncila
Copy link
Contributor Author

I noticed the preview of napari-demo has the Save Layers info populated, but on prod it says "information not submitted". I checked the metadata and it's correct on prod too, so I'm not sure where the discrepancy would be from?

Copy link
Contributor

@klai95 klai95 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@codemonkey800
Copy link
Collaborator

LGTM! I also re-ran the frontend E2E tests. they're a bit flaky so sometimes they fail unexpectedly

@codemonkey800 codemonkey800 added the improvement Release Label: Used for categorizing improvements in automated CI release notes label Nov 3, 2022
@DragaDoncila DragaDoncila merged commit f447a73 into main Nov 3, 2022
@DragaDoncila DragaDoncila deleted the update-preview branch November 3, 2022 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Release Label: Used for categorizing improvements in automated CI release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants