🐛 Bug: Two JavaScript labels for filter on Tools page
Describe the bug
On the tools page, on the left side, there is a dropdown for 'Language.' In that dropdown, there are two labels pointing to the same thing: 'JavaScript' and 'Javascript.' The only difference is the capitalization of 's' and 'S.
Steps To Reproduce
- Go to tools page(https://json-schema.org/tools).
- Click on 'Language' dropdown.
- Scroll down to the names starting from letter 'J'.
- There you can see 'Javascript' and 'Javascript'.
Expected Behavior
There should be only one label 'JavaScript'.
Screenshots
Device Information [optional]
- OS: Ubantu 24.04
- Browser: Firefox
- version: 135.0.1 (64-bit)
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
Yes
@benjagm @DhairyaMajmudar, can you please assign this issue to me, so I can make a PR?.
Furthermore, I see another similar issue with 'macOS' and 'MacOS'.
here is the screenshot:
This issue occurs with TypeScript as well.
To Fix this we need:
- Correct the data in https://github.com/json-schema-org/website/blob/main/data/tooling-data.yaml and leave just valid values as per the schema.
- Make sure that this github action forces the case sensitive matching when evaluating the json instance against the schema. I am not sure how those occurrences ended up merged. It would be great to find what was the PR merging this and why the github action didn't avoid it.
okay @benjagm, I will make these changes and make a PR soon. Can you please assign this to me?
go ahead @Vishv0407
Hello @benjagm,
Could you please confirm if I have the correct understanding of the process for adding a tool to the Tools page?
- Go to the Tools page.
- Click on "Adding your tool".
- This opens a new issue using a predefined template, where I need to provide all the necessary details. Once the issue is created, what happens next?
From what I observe, the assignee of the issue manually adds the provided details to the tooling-data.yaml file.
Am I correct in understanding this process?
Thanks!
Issue will be resolved in PR: https://github.com/json-schema-org/website/pull/1513/
However their's still left the part suggested in https://github.com/json-schema-org/website/issues/1443#issuecomment-2692838326
- Make sure that this github action forces the case sensitive matching when evaluating the json instance against the schema. I am not sure how those occurrences ended up merged. It would be great to find what was the PR merging this and why the github action didn't avoid it.
@Vishv0407 pls. have a look into that point.
@DhairyaMajmudar I have proposed my solution idea in #1512(PR). Please review that PR and provide your feedback.
Just to clarify #1513 is only for changing words in tooling-data.yaml which solves this issue #1443.
Your PR #1513 consists of the same changes that were done in PR #1512, that's why it's no meaning reviewing it again
FYI: https://github.com/json-schema-org/website/pull/1513/files
@DhairyaMajmudar my apologies for confusion. I have added a comment in #1513 for a solution and not changed files as per that, I will wait for your confirmation to add that code in the GitHub workflow.
No worries @Vishv0407 , it seems like by mistake you committed the code changes to the same PR, it's fine as the PR size is small but take in the future while working with large PR sizes.
What can you do now?
The PR #1513 just requires a minor code change, rest its all done. As I mentioned here there's still left some work to be done for this issue #1443, for that you can open a separate PR.
@DhairyaMajmudar I have updated the PR #1512 and created a new separate PR #1516 which solving below mentioned point.
- Make sure that this github action forces the case sensitive matching when evaluating the json instance against the schema. I am not sure how those occurrences ended up merged. It would be great to find what was the PR merging this and why the github action didn't avoid it.
Hello! :wave:
This issue has been automatically marked as stale due to inactivity :sleeping:
It will be closed in 180 days if no further activity occurs. To keep it active, please add a comment with more details.
There can be many reasons why a specific issue has no activity. The most probable cause is a lack of time, not a lack of interest.
Let us figure out together how to push this issue forward. Connect with us through our slack channel : https://json-schema.org/slack
Thank you for your patience :heart:
@benjagm @DhairyaMajmudar If the case-sensitive CI part is still outstanding, could you assign #1443 to me? I’ll finish the GitHub-action check so duplicates like “JavaScript / Javascript” can’t slip in again.