update modal to pull cnhsa eligibility guidelines from the site - #14
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Modal block’s CNHSA guidelines flow so the modal loads eligibility guidelines content directly from the CNHSA site, and bumps related version metadata for a new release.
Changes:
- Switch CNHSA guidelines fetch to
https://www.cnhsa.com/wp-json/cnhsa/v1/eligibility-guidelinesand usedata.renderedas the HTML payload. - Bump the Modal block version to
1.1.1and document the change in the block changelog. - Bump plugin/package versions (and update lockfiles/dependency versions) for the release.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/blocks/modal/view.ts | Changes the guidelines fetch URL/response field and adds a TS return type annotation. |
| src/blocks/modal/CHANGELOG.md | Adds v1.1.1 entry documenting the guidelines source fix. |
| src/blocks/modal/block.json | Bumps Modal block version to 1.1.1. |
| package.json | Bumps package version to 2.7.0 and updates WP-related devDependencies. |
| composer.lock | Updates locked dev tooling packages (e.g., stubs/WPCS) consistent with dependency updates. |
| composer.json | Bumps Composer project version to 2.7.0. |
| cno-plugin-cno-blocks.php | Bumps plugin header version to 2.7.0 and updates “Tested up to”. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
blake-perkins-dev
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.