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: link-redirect-fix #1043

Closed
wants to merge 0 commits into from
Closed

fix: link-redirect-fix #1043

wants to merge 0 commits into from

Conversation

Yashwanth1906
Copy link

@Yashwanth1906 Yashwanth1906 commented Oct 19, 2024

What kind of change does this PR introduce?

  • Change to correct wrong redirecting URLs

Issue Number:

Screenshots/videos:

If relevant, did you update the documentation?

Summary

This pull request addresses an issue related to incorrect URL redirection in the JSON Schema website. Users were being redirected to incorrect or unintended pages when clicking on certain links.

Changes Made:

  1. Corrected Redirecting URLs: Updated the wrong redirecting URLs in various components to ensure they point to the correct destinations. This change enhances navigation and provides users with access to the intended content.

  2. Refactored JSX Components: Adjusted the formatting of JSX components to comply with the project's style guide. Specifically, I ensured that there were proper spaces before closing brackets in the JSX tags, addressing the errors raised by the reviewers.

  3. Code Consistency: Ensured consistency in the codebase by adhering to Prettier and ESLint rules, which included correcting formatting issues to enhance code readability and maintainability.

These changes improve user experience by ensuring that links function correctly, reducing frustration caused by misdirected navigation.

Does this PR introduce a breaking change?

  • No

@Yashwanth1906 Yashwanth1906 requested a review from a team as a code owner October 19, 2024 14:27
@DhairyaMajmudar
Copy link
Member

DhairyaMajmudar commented Oct 19, 2024

@Yashwanth1906 run the command yarn run lint to fix the failing ci

Edit: Also please fill in the proper issue description

@DhairyaMajmudar DhairyaMajmudar changed the title link-redirect-fix fix: link-redirect-fix Oct 19, 2024
Copy link

github-actions bot commented Oct 19, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview f2fff72

Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7ecd915) to head (f2fff72).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1043   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          373       373           
  Branches        94        94           
=========================================
  Hits           373       373           

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

@Yashwanth1906
Copy link
Author

All the corrections done @DhairyaMajmudar

@DhairyaMajmudar
Copy link
Member

@Yashwanth1906 it seems like there were some complications with the PR since your forked repo is 11 commits behind,
Pls. sync your repo, with the latest commit, create a new branch, and open a PR again.

Feel free to ask on JSON Schema slack if you face any difficulty in doing so...

@Yashwanth1906
Copy link
Author

@DhairyaMajmudar Ok I will submitting the PR soon

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