Skip to content

Conversation

@Praneshxo
Copy link

@Praneshxo Praneshxo commented Jun 21, 2025

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code.
  • Include the URL where we can test the change in the body of your PR.

This pull request:

  • Fixes a bug
  • Adds additional features/functionality
  • Updates documentation or example code
  • Other

Preview Link :https://radixuittest.vercel.app/primitives/docs/overview/introduction

Closes #854

@Praneshxo Praneshxo requested a review from chaance as a code owner June 21, 2025 11:30
@vercel
Copy link

vercel bot commented Jun 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radix-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2025 11:32am

@chaance
Copy link
Member

chaance commented Oct 29, 2025

Thank you! Can you please run Prettier on all changed files to ensure formatting is consistent before I merge?

{
"index_name": "development_docs",
"start_urls": ["https://24fe-92-28-230-172.eu.ngrok.io/primitives/docs"],
"index_name": "radix_website_hf6d3bhd9_workos_vercel_app_co3q04we0u_pages",
Copy link
Member

Choose a reason for hiding this comment

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

We don't want to change the index since we use our own account for this.

"min_indexed_level": 1,
"selectors_exclude": ["[data-algolia-exclude]"],
"scrape_start_urls": false
"index_name": "radix_website_hf6d3bhd9_workos_vercel_app_co3q04we0u_pages",
Copy link
Member

Choose a reason for hiding this comment

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

We don't want to change the index since we use our own account for this.

package.json Outdated
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@10.2.0",
"packageManager": "pnpm@10.12.1",
Copy link
Member

Choose a reason for hiding this comment

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

Please do not change this value. Ensure you are using the same version of pnpm locally as we are using in the repo.

API_KEY=
APPLICATION_ID=CO3Q04WE0U
API_KEY=0715976de79c8c1bdb658b4189a605ff
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=radix_website_hf6d3bhd9_workos_vercel_app_co3q04we0u_pages
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this change.

.env.development Outdated
@@ -1 +1,3 @@
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=development_docs
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=radix_website_hf6d3bhd9_workos_vercel_app_co3q04we0u_pages
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this change.

.env.development Outdated
Comment on lines 2 to 3
ALGOLIA_APP_ID=CO3Q04WE0U
ALGOLIA_PUBLIC_API_KEY=0715976de79c8c1bdb658b4189a605ff
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
ALGOLIA_APP_ID=CO3Q04WE0U
ALGOLIA_PUBLIC_API_KEY=0715976de79c8c1bdb658b4189a605ff

.env.production Outdated
@@ -1 +1 @@
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=docs
NEXT_PUBLIC_ALGOLIA_INDEX_NAME=radix_website_hf6d3bhd9_workos_vercel_app_co3q04we0u_pages
Copy link
Member

Choose a reason for hiding this comment

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

Please revert this change.

Copy link
Author

Choose a reason for hiding this comment

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

Hi chaance,

I've addressed all feedback:

Functionality is fixed: The logic for the Algolia selectors has been corrected, and the search functionality is now working as expected in my testing environment.

All Reverts Complete: I have successfully reverted the index_name, start_urls, packageManager version, and all environment variables/API keys/IDs across all files as requested.

The search component will not function on this branch until the necessary secrets (API_KEY, APPLICATION_ID) are provided by your deployment environment and also update by your meta tag to allow the algolia to crawl the website.

The PR is now clean and ready for your final review and merge. Thanks!

@chaance
Copy link
Member

chaance commented Oct 29, 2025

We should not be hard coding or exposing API keys. I was unaware that we are doing this currently, but that's worth changing while we're addressing it here.

@vercel
Copy link

vercel bot commented Oct 30, 2025

@Praneshxo is attempting to deploy a commit to the WorkOS Team on Vercel.

A member of the Team first needs to authorize it.

@Praneshxo Praneshxo marked this pull request as draft October 30, 2025 16:05
@Praneshxo Praneshxo marked this pull request as ready for review October 30, 2025 16:53
@Praneshxo Praneshxo requested a review from chaance October 30, 2025 16:56
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.

Search is not working on the documentation website

2 participants