carloea2 opened a new pull request, #8157: URL: https://github.com/apache/texera/pull/8157
### What changes were proposed in this PR? Trim dashboard search keywords before removing empty values so whitespace-only input behaves like an empty search. Before: blank keyword -> empty full-text predicate After: blank keyword -> no full-text condition ### Any related issues, documentation, discussions? Closes #8156 ### How was this PR tested? Updated the regression test to cover spaces and a tab. Existing tests retain coverage for empty input, normal keywords, multiple fields, and both full-text implementations. `sbt "WorkflowExecutionService / Test / testOnly org.apache.texera.web.resource.dashboard.FulltextSearchQueryUtilsSpec"` `sbt scalafmtCheckAll` `sbt "scalafixAll --check"` Live local checks against the built branch: | Search input | Before | After | | --- | --- | --- | | omitted | 200 | 200 | | three spaces | 500 | 200 | | tab | empty full-text predicate | 200 | ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
