Skip to content

Conversation

@Paulie-Aditya
Copy link

Description

Changes proposed in this pull request:

  • When a user makes changes in the editor, the onChange handler triggers
  • The ChangeTracker compares the old and new schemas
    If changes are detected:
  • The affected section is identified
  • The Highlight component is rendered over that section
  • The section is scrolled into view
  • A blue highlight effect appears and fades out after 2 seconds

Related issue(s)
Resolves: #1161

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Paulie-Aditya Paulie-Aditya changed the title feature: implemented change tracker + highlighting feat: implemented change tracker + highlighting Sep 25, 2025
@catosaurusrex2003
Copy link
Contributor

Hey @Paulie-Aditya,
I checked the PR.
The tests and lint check are failing
Are you sure this PR is ready for review

@sonarqubecloud
Copy link

@catosaurusrex2003
Copy link
Contributor

@Paulie-Aditya could you please attach a video showcasing the changes this PR brings?

@sonarqubecloud
Copy link

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.

POC: Auto-scroll and highlight updated component in docs preview

3 participants