Skip to content

Update exmaples packaging#733

Merged
K20shores merged 11 commits intomainfrom
update_exmaples_packaging
Jan 14, 2026
Merged

Update exmaples packaging#733
K20shores merged 11 commits intomainfrom
update_exmaples_packaging

Conversation

@K20shores
Copy link
Copy Markdown
Collaborator

  • includes configurations in javascript package
  • updates the example webpage to support two examples: a lorenz attractor as well as a simpble A->B->C system
Screenshot 2026-01-14 at 2 16 13 PM Screenshot 2026-01-14 at 2 16 07 PM

@github-actions
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
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 updates the JavaScript package to include configuration files and enhances the example webpage with interactive demonstrations. The version is bumped from 0.14.3 to 0.14.4.

Changes:

  • Includes configs directory in the JavaScript package distribution (excluding configs/tuvx)
  • Updates example webpage with two interactive examples: Lorenz Polynomial CRN and A→B→C chain reaction
  • Updates README with examples showing both in-code mechanism definition and configuration file usage

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 25 comments.

File Description
package.json Version bump to 0.14.4 and adds configs to package files
CMakeLists.txt Version bump to 0.14.4 for consistency
javascript/README.md Adds examples section showing configuration file usage
javascript/wasm/example.html Complete redesign with interactive UI for multiple examples

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

<title>MUSICA WASM Example</title>
<style>
:root {
--max-width: 1100px
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 18px
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.
.slider-row .val {
width: 56px;
text-align: right;
font-weight: 600
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.

table.results {
width: 100%;
border-collapse: collapse
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Suggested change
border-collapse: collapse
border-collapse: collapse;

Copilot uses AI. Check for mistakes.
table.results td {
border: 1px solid #e6e6e6;
padding: 6px;
text-align: left
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.

@media (max-width:900px) {
.layout {
flex-direction: column
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.
}

.left {
flex-basis: auto
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Missing semicolon at the end of the CSS property declaration. While not strictly required for the last property in a block, it's a best practice to include semicolons consistently for all CSS declarations.

Copilot uses AI. Check for mistakes.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.80%. Comparing base (833e426) to head (e0c7327).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #733   +/-   ##
=======================================
  Coverage   75.80%   75.80%           
=======================================
  Files         108      108           
  Lines        7974     7974           
=======================================
  Hits         6045     6045           
  Misses       1929     1929           
Flag Coverage Δ
cpp_fortran 68.49% <ø> (ø)
javascript 92.21% <ø> (ø)
python 82.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@K20shores K20shores merged commit de04f7b into main Jan 14, 2026
44 of 45 checks passed
@K20shores K20shores deleted the update_exmaples_packaging branch January 14, 2026 21:02
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.

4 participants