fix rules builder conjuction overllaping issue - #31700
Conversation
# Conflicts: # openmetadata-ui/src/main/resources/ui/src/components/Settings/Persona/PersonaAIContext/ContextRuleEditor/RuleQueryBuilderField.component.tsx
Code Review 👍 Approved with suggestions 0 resolved / 1 findingsRefactors the rules builder component by adding a persona-specific wrapper to fix conjunction overlapping issues in the UI. Consider adding a type guard to ensure fields.extension is always defined in the nested 'in' check. 💡 Edge Case: 'in' guard assumes fields.extension is always defined
Guard against a missing extension key before using the 'in' operator.🤖 Prompt for agentsOptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
✅ Playwright Results — workflow succeededValidated commit ✅ 614 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 54m 17s ⏱️ Max setup 3m 0s · max shard execution 16m 0s · max shard-job elapsed before upload 19m 12s · reporting 4s 🌐 210.99 requests/attempt · 2.71 app boots/UI scenario · 17.60% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
Failed to cherry-pick changes to the 1.13 branch. |
|
Changes have been cherry-picked to the 2.0 branch. |
(cherry picked from commit c6f7297)



Describe your changes:
Before -

After -
Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Greptile Summary
The PR adjusts the Persona AI context rule builder layout to prevent its conjunction control from overlapping condition rows.
Confidence Score: 5/5
The PR appears safe to merge because no blocking failure remains within the eligible follow-up review scope.
No blocking failure remains.
Important Files Changed
Reviews (2): Last reviewed commit: "Merge branch 'main' into rules-builder" | Re-trigger Greptile