Skip to content

Conversation

@venkateshwaracholan
Copy link
Contributor

@venkateshwaracholan venkateshwaracholan commented Dec 7, 2025

Description

This change fixes an issue in the Query Set creation flow where the click-to-upload file picker under Manual Queries did not allow users to select valid .ndjson or .json files. While drag-and-drop worked correctly, the OS file picker was restricted due to an incorrect accept attribute.

The file picker now supports:

  • .ndjson (primary, recommended format)
  • .json (JSON array as a convenience)

This ensures consistent behavior between click upload and drag-and-drop and improves overall usability for manual Query Set creation.

Issues Resolved

Check List

  • No documentation changes are required for this fix.
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here:
https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin
Screenshot 2025-12-07 at 11 24 32 PM
Screenshot 2025-12-07 at 11 24 45 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant