json-schema-org / json-schema-org/website
🐛 Bug: Search button throws appId is missing error
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 169
- Forks
- 484
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Description
Describe the bug
When running the JSON Schema website locally, clicking the Search button in the navbar causes an unhandled runtime error. The error indicates that the Algolia DocSearch appId is missing.
Steps To Reproduce
1.Clone and install the project.
2.Run yarn dev.
3.Open http://localhost:3000.
4.Click the Search button in the navbar.
5.The application displays an Unhandled Runtime Error with the message: Error: appId is missing.
Expected Behavior
The Search button should open the search interface without throwing a runtime error.
Screenshots
I reproduced this issue locally on the current main branch. I also found the previous Algolia search issue (#13), which was closed as completed in 2023.
Device Information [optional]
- OS: Windows 11
- Browser: Google Chrome
- version: 151.0.0.0
Are you working on this issue?
Yes
Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the website locally with yarn dev and reproduce the error by clicking Search in the navbar. Trace the Algolia DocSearch setup from that entry point and verify that the Search button opens the search interface without the missing appId runtime error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, search, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100