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

Enhanced category filtering #1507

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,3 @@ Thanks for submitting a pull request! Please provide enough information so that
**Does this PR introduce a breaking change?**

<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->

# Checklist

Please ensure the following tasks are completed before submitting this pull request.

- [ ] Read, understood, and followed the [contributing guidelines](https://github.com/json-schema-org/website/blob/main/CONTRIBUTING.md).
4 changes: 2 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This document outlines the guidelines for contributing to and maintaining GitHub

Our YAML files are organized based on specific roles and event triggers. When creating or modifying workflows, ensure that:
- The file roles described below are strictly maintained.
- Job sequences within workflows are preserved using [GitHub Action job dependencies](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs).
- Job sequences within workflows are preserved using [GitHub Action job dependencies](https://docs.github.com/en/actions/using-workflows/using-jobs-in-a-workflow#defining-prerequisite-jobs).

### File Categorization

Expand Down Expand Up @@ -42,7 +42,7 @@ Separate files may be created for workflows that:

- Only work correctly if they have a dedicated file.
Examples:
- [Preview Deployment](./deploy-preview.yml): Deploys preview environments for pull requests.
- [Preview Deployment](./preview-deployment.yml): Deploys preview environments for pull requests.
- [Production Deployment](./production-deployment.yml): Handles production deployments.
- [CodeQL Code Scanning](./codeql.yml): Performs code security analysis.
- [Check PR Dependencies](./pr-dependencies.yml): Enforces dependencies between PRs based on opening comments.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Get Changed Unauthorized files
id: changed-unauth-files
uses: tj-actions/changed-files@v46
uses: tj-actions/changed-files@v45
with:
files: |
.github/**
Expand Down
110 changes: 0 additions & 110 deletions .github/workflows/pr-body-validation.yml

This file was deleted.

2 changes: 1 addition & 1 deletion INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This guide provides step-by-step instructions for installing the JSON Schema Web
- [Formatting](#formatting)
- [Linting](#linting)
- [Husky for Git Hooks](#husky-for-git-hooks)
6. [Run locally using Docker](#run-locally-using-docker)
6. [Run locally using Docker](#docker-deployment)
- [Prerequisites](#prerequisites)
- [Steps](#steps)

Expand Down
2 changes: 1 addition & 1 deletion components/AmbassadorsBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const AmbassadorBanner: React.FC = () => {
</p>
<div className='w-full grid grid-cols-1 sm:grid-cols-2 gap-4 my-4 mx-auto'>
<Link
href='https://github.com/json-schema-org/community/tree/main/programs/ambassadors#become-a-json-schema-ambassador'
href='https://github.com/json-schema-org/community/tree/main/programs/ambassadors#become-an-json-schema-ambassador'
className='inline-block px-6 py-3 bg-blue-600 text-white font-semibold text-center rounded hover:bg-blue-700 transition duration-300'
>
Become Ambassador
Expand Down
3 changes: 2 additions & 1 deletion components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import useStore from '~/store';
import { SectionContext } from '~/context';
import { useTheme } from 'next-themes';
import DarkModeToggle from './DarkModeToggle';
import extractPathWithoutFragment from '~/lib/extractPathWithoutFragment';
import ScrollButton from './ScrollButton';
import Image from 'next/image';

Expand Down Expand Up @@ -137,7 +138,7 @@ const MainNavLink = ({
className?: string;
}) => {
const router = useRouter();
const isActiveNav = router.asPath.startsWith(uri);
const isActiveNav = extractPathWithoutFragment(router.asPath) === uri;

return (
<Link
Expand Down
3 changes: 1 addition & 2 deletions components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const DocLinkBlank = ({
return (
<Link
href={uri}
className={classnames('flex text-sm py-1 pl-2', {
className={classnames('flex text-sm block py-1 pl-2', {
'font-medium': !isActive,
'text-primary text-bold border-l-2 border-l-primary font-semibold':
isActive,
Expand Down Expand Up @@ -111,7 +111,6 @@ const getDocsPath = [
'/overview/code-of-conduct',
'/overview/faq',
'/overview/roadmap',
'/overview/pro-help',
];
const getStartedPath = [
'/learn',
Expand Down
48 changes: 4 additions & 44 deletions data/tooling-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@

- name: Stoplight JSON Schema Tree
toolingTypes: ['schema-to-web-UI']
languages: ['TypeScript']
languages: ['Typescript']
maintainers:
- name: 'Stoplight'
username: 'stoplightio'
Expand All @@ -1751,7 +1751,7 @@
- name: Stoplight JSON Schema Viewer
description: 'A JSON Schema viewer React component'
toolingTypes: ['schema-to-web-UI']
languages: ['TypeScript']
languages: ['Typescript']
maintainers:
- name: 'Stoplight'
username: 'stoplightio'
Expand Down Expand Up @@ -2461,7 +2461,7 @@
- name: Jsonary
description: 'Quickly assemble clients for JSON-based APIs (powered by JSON Schema)'
toolingTypes: ['hyper-schema']
languages: ['JavaScript']
languages: ['Javascript']
license: 'MIT'
source: 'https://github.com/jsonary-js/jsonary'
supportedDialects:
Expand Down Expand Up @@ -3131,7 +3131,7 @@

- name: JSV
description: 'A generic JSON Schema validator for Elixir'
environments: ['Linux', 'macOS', 'Windows','Embedded platform']
environments: ['Linux', 'MacOS', 'Windows','Embedded platform']
toolingTypes: ['validator']
languages: ['Elixir', 'Erlang']
maintainers:
Expand Down Expand Up @@ -3183,44 +3183,4 @@
supportedDialects:
draft: ['2020-12']
toolingListingNotes: '[A reference to MetaConfigurator papers](https://rdcu.be/dJvgS).'

- name: 'json-2-joi'
description: 'Converts a JSON schema to a Joi schema for object validation'
toolingTypes:
['util-format-conversion', 'schema-to-types']
languages: ['JavaScript']
license: 'Apache License 2.0'
source: 'https://github.com/kenspirit/json-2-joi'

- name: 'joi-to-json'
description: 'Support converting different version''s joi schema to JSON Schema using describe api'
toolingTypes: ['code-to-schema','util-general-processing','util-format-conversion']
languages: ['JavaScript']
maintainers:
- name: 'kenspirit'
username: 'kenspirit'
platform: 'github'
license: 'MIT'
source: 'https://github.com/kenspirit/joi-to-json'
supportedDialects:
draft: ['4','6','7','2019-09','2020-12']
additional:
- name: 'OpenAPI 3.0'
source: 'https://spec.openapis.org/oas/v3.0.0'
- name: 'OpenAPI 3.1'
source: 'https://spec.openapis.org/oas/v3.1.0'

- name: 'json-schema'
description: 'A Ruby JSON Schema Validator ensures that JSON data adheres to a predefined structure, preventing errors and maintaining data integrity in applications.'
toolingTypes:
['validator']
languages: ['Ruby']
maintainers:
- name: 'Vox Pupuli'
platform: 'github'
license: 'MIT'
source: 'https://github.com/voxpupuli/json-schema/'
homepage: 'https://github.com/voxpupuli/json-schema/'
supportedDialects:
draft: ['1', '2', '3', '4', '6']

4 changes: 2 additions & 2 deletions data/use-cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
{
"title": "Data Serialization",
"summary": "Compress JSON data for storage/transmission. For example: <a href='https://jsonbinpack.sourcemeta.com' style='text-decoration: underline; font-weight: bold;'>JSON Bin Pack</a>"
"summary": "Compress JSON data for storage/transmission. For example: <a href='https://jsonbinpack.sourcemeta.com' style='text-decoration: underline; font-weight: bold;'>https://jsonbinpack.sourcemeta.com</a>"
},
{
"title": "Fuzzing, enumeration, and generation",
Expand All @@ -37,7 +37,7 @@
},
{
"title": "Automated Testing",
"summary": "Good definitions of input/output that schemas provide enable contract and property-based testing scenarios. For example: <a href='https://schemathesis.readthedocs.io/en/stable/' style='text-decoration: underline; font-weight: bold;'>Schemathesis</a>"
"summary": "Good definitions of input/output that schemas provide enable contract and property based testing scenarios. For example: <a href='https://schemathesis.readthedocs.io/en/stable/' style='text-decoration: underline; font-weight: bold;'>https://schemathesis.readthedocs.io/en/stable/</a>"
},
{
"title": "Machine-readable profiles of Web resources",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@cypress/code-coverage": "^3.13.12",
"@cypress/code-coverage": "^3.13.6",
"@next/eslint-plugin-next": "^14.0.1",
"@svgr/webpack": "^8.1.0",
"@types/babel__core": "^7",
Expand All @@ -72,7 +72,7 @@
"@types/react-text-truncate": "^0.19.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"autoprefixer": "^10.4.21",
"autoprefixer": "^10.4.20",
"babel-plugin-istanbul": "^7.0.0",
"cypress": "^13.13.1",
"eslint": "8.57.0",
Expand Down
51 changes: 0 additions & 51 deletions pages/404.page.tsx

This file was deleted.

Loading