Skip to content

Conversation

@SB-venkatyadavilli
Copy link
Contributor

@SB-venkatyadavilli SB-venkatyadavilli commented Nov 26, 2025

Elements Default PR Template

STOP-4166

Description

Previously, if the same item appeared multiple times in the Table of Contents, clicking on any instance would highlight all occurrences as active. With this fix, only the clicked element is shown as active, while all other instances remain inactive.

Handled Active Element of Table Of Content.

How Has This Been Tested?

Tested by running elements-dev-portal storybook and Yalc testing.

Screenshot(s)/recordings(s)

Before:

image

After:

image
4166-artifacts.mov

@netlify
Copy link

netlify bot commented Nov 26, 2025

Deploy Preview for stoplight-elements ready!

Name Link
🔨 Latest commit 5a2bef4
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements/deploys/692d430744f6ab00087ebf80
😎 Deploy Preview https://deploy-preview-2853--stoplight-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Nov 26, 2025

Deploy Preview for stoplight-elements-demo ready!

Name Link
🔨 Latest commit 5a2bef4
🔍 Latest deploy log https://app.netlify.com/projects/stoplight-elements-demo/deploys/692d430751be920008226713
😎 Deploy Preview https://deploy-preview-2853--stoplight-elements-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@weyert
Copy link
Contributor

weyert commented Nov 26, 2025

@SB-venkatyadavilli @SB-ChetanKorde Any chance you guys can have a look at PRs in json-schema-viewer? For example, stoplightio/json-schema-viewer#293

@SB-ChetanKorde
Copy link
Contributor

Please add details for ticket/issue and fix implemented. Also attach testing evidences in PR description.

Copy link
Contributor

@darekplawecki darekplawecki left a comment

Choose a reason for hiding this comment

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

Now looks good, thanks!

Copy link
Contributor

@prafullaAtSB prafullaAtSB left a comment

Choose a reason for hiding this comment

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

Changes are good to go ahead.

@SB-venkatyadavilli SB-venkatyadavilli merged commit 47921de into main Dec 2, 2025
6 checks passed
@SB-venkatyadavilli SB-venkatyadavilli deleted the 4166-nested branch December 2, 2025 08:49
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.

7 participants