Skip to content

Release v1.1.5

Choose a tag to compare

@github-actions github-actions released this 26 Aug 03:45
· 8 commits to develop since this release

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:

image

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.tsx using Collapse for expandable list.
    • Introduces SubmenuHeader and SubmenuItem components for theme navigation.
  • Cypress Tests:
    • Adds tests for demo theme navigation in davidsMain.cy.js and defaultMain.cy.js.
    • Adds davidsSkillFilter.cy.js for skill filter functionality.
    • Introduces NavigationMenuPage and ThemeDavidsPage classes for page object model.
  • Metadata:
    • Updates generateMetadata in page.tsx and pdf/page.tsx to use theme-specific names and descriptions.
    • Adjusts tests in page.test.tsx and pdf/page.test.tsx to verify metadata generation.
  • HTML Parsing:
    • Enhances secureHtmlParser.ts to check for browser environment before parsing.
    • Adds additional security checks for href and src attributes to block javascript: and data: URLs.

This description was created by Ellipsis for 48a3885. You can customize this summary. It will automatically update as commits are pushed.