Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: scrollTo navigation to right code block #994

Merged
merged 16 commits into from
Mar 20, 2024

Conversation

Saumya40-codes
Copy link
Contributor

Description
scrollTo to a editor line was only working (correctly) for JSON files only.
The fix was to handle the case of YAML file separately.

AsyncAPI.Studio.-.Brave.2024-03-09.00-16-39.mp4

Related issue(s) Resolves #986

Thanks to @satishkumarsajjan and @Vishal2002 for all the feedbacks!!!

Copy link

changeset-bot bot commented Mar 8, 2024

🦋 Changeset detected

Latest commit: c6f4106

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/studio Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

Copy link

netlify bot commented Mar 8, 2024

Deploy Preview for modest-rosalind-098b67 ready!

Name Link
🔨 Latest commit c6f4106
🔍 Latest deploy log https://app.netlify.com/sites/modest-rosalind-098b67/deploys/65fa1945c0f370000867c4ef
😎 Deploy Preview https://deploy-preview-994--modest-rosalind-098b67.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 site configuration.

Copy link

netlify bot commented Mar 8, 2024

Deploy Preview for asyncapi-studio-design-system ready!

Name Link
🔨 Latest commit c6f4106
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-studio-design-system/deploys/65fa194508349c00093e9a43
😎 Deploy Preview https://deploy-preview-994--asyncapi-studio-design-system.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 site configuration.

@Saumya40-codes Saumya40-codes changed the title update: scrollTo line for yaml works fix: scrollTo navigation to right code block Mar 8, 2024
Copy link
Member

@princerajpoot20 princerajpoot20 left a comment

Choose a reason for hiding this comment

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

Great work, @Saumya40-codes ! Just a small suggestion.
Thanks @satishkumarsajjan and @Vishal2002 for all your inputs.

apps/studio/src/services/navigation.service.ts Outdated Show resolved Hide resolved
apps/studio/src/services/parser.service.ts Outdated Show resolved Hide resolved
@Saumya40-codes
Copy link
Contributor Author

Hey @Amzani I've fixed the issue related to failed test (lint script)

image

Copy link

netlify bot commented Mar 14, 2024

Deploy Preview for studio-next ready!

Name Link
🔨 Latest commit c6f4106
🔍 Latest deploy log https://app.netlify.com/sites/studio-next/deploys/65fa1945f6f7470008bf096c
😎 Deploy Preview https://deploy-preview-994--studio-next.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 site configuration.

Copy link

sonarcloud bot commented Mar 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@KhudaDad414 KhudaDad414 left a comment

Choose a reason for hiding this comment

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

LGTM

@KhudaDad414
Copy link
Member

@princerajpoot20 anything from your side?

@princerajpoot20
Copy link
Member

@KhudaDad414 All good.

Copy link
Member

@princerajpoot20 princerajpoot20 left a comment

Choose a reason for hiding this comment

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

@Saumya40-codes Great work! 🚀

@princerajpoot20
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit 5c7b4c1 into asyncapi:master Mar 20, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Information bar isn't navigating to the right code block
6 participants