The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8157-1cbe857007a6526c6087f187667ef3b3c9ade546
 has succeeded.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
16a70cd5a6ea48c87baee7d8b9fe8e17ca10a71a / carloea2 <[email protected]>
feat(amber): ignore blank dashboard keywords (#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

Report URL: https://github.com/apache/texera/actions/runs/33910720381

With regards,
GitHub Actions via GitBox

Reply via email to