Release v1.1.5
What's Changed
Version 1.1.5 includes the following changes:
This release includes changes from merged pull request #140.
Changes
feat: support demo theme menu, update Cypress theme tests.
Thank you for submitting a PR! Please review & check the boxes below:
- I have filled in the "Description" section below.
- I have provided manual testing steps and screenshots (if applicable).
- My code is covered by automated tests.
Description
I forgot to bring over some Cypress tests from the theme package repo. These are brought over now, and I added a navigation menu & submenu support to showcase the demo themes.
Steps to Test
Spin up on local, visit the nav menu and you should see demo themes accessible there:
Important
Adds demo theme menu in navigation, updates Cypress tests, improves theme metadata generation, and enhances HTML parsing security.
- Navigation:
- Adds demo theme menu with submenu in
NavPrimary.tsxusingCollapsefor expandable list. - Introduces
SubmenuHeaderandSubmenuItemcomponents for theme navigation.
- Adds demo theme menu with submenu in
- Cypress Tests:
- Adds tests for demo theme navigation in
davidsMain.cy.jsanddefaultMain.cy.js. - Adds
davidsSkillFilter.cy.jsfor skill filter functionality. - Introduces
NavigationMenuPageandThemeDavidsPageclasses for page object model.
- Adds tests for demo theme navigation in
- Metadata:
- Updates
generateMetadatainpage.tsxandpdf/page.tsxto use theme-specific names and descriptions. - Adjusts tests in
page.test.tsxandpdf/page.test.tsxto verify metadata generation.
- Updates
- HTML Parsing:
- Enhances
secureHtmlParser.tsto check for browser environment before parsing. - Adds additional security checks for
hrefandsrcattributes to blockjavascript:anddata:URLs.
- Enhances
This description was created by for 48a3885. You can customize this summary. It will automatically update as commits are pushed.