Skip to content

Conversation

@sei-vsarvepalli
Copy link
Contributor

@sei-vsarvepalli sei-vsarvepalli commented Jan 9, 2026

Bug fix for #1055 - I think this fixes the issue. It is a simple DIV misplacement problem that caused this. An update to include SSVC.decision_points as an anchor to collect DP's currently created is also added. This pull request contains minor updates to the SSVC Explorer documentation and JavaScript code. The changes include a small fix to the HTML structure and an update to the returned object in the JavaScript module.

  • Documentation/HTML structure:

    • Fixed the placement of a closing </div> tag in index.md to ensure proper HTML nesting and rendering.
  • JavaScript module export:

    • Added decision_points to the returned object of the main function in simple.js, making this property accessible externally.

Copy link
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 pull request addresses issue #1055 by fixing a DIV misplacement bug in the SSVC Explorer and exposing the decision_points variable through the SSVC module's public API.

Key changes:

  • Corrects HTML structure by repositioning a closing </div> tag to properly close the ssvcPopup container
  • Adds decision_points to the SSVC module's exported interface for external access

Reviewed changes

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

File Description
docs/ssvc-explorer/index.md Moves closing </div> tag from line 78 to line 84, fixing the HTML structure of the popup container
docs/ssvc-explorer/simple.js Adds decision_points to the module's return object to expose it in the SSVC API

return {
ssvc_launch: ssvc_launch,
decision_trees: decision_trees,
decision_points, decision_points,
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The syntax for this object property is incorrect. JavaScript object properties should use a colon to separate the key from the value, not a comma. This should be decision_points: decision_points, to properly export the decision_points variable.

Suggested change
decision_points, decision_points,
decision_points: decision_points,

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot please make this fix and submit a new PR

Copy link
Contributor

Choose a reason for hiding this comment

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

carved off into #1057 and assigned to copilot

return {
ssvc_launch: ssvc_launch,
decision_trees: decision_trees,
decision_points, decision_points,
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

This property is duplicated in a later property.

Suggested change
decision_points, decision_points,
decision_points,

Copilot uses AI. Check for mistakes.
@ahouseholder ahouseholder merged commit f50d163 into CERTCC:main Jan 9, 2026
8 checks passed
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.

2 participants