Repository navigation
Revamp configurable persona AI context - #29973
Conversation
🟡 Playwright Results — all passed (29 flaky)✅ 4524 passed · ❌ 0 failed · 🟡 29 flaky · ⏭️ 96 skipped
🟡 29 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 |
|
Code Review ✅ Approved 6 resolved / 6 findingsRevamps the Persona AI Context UI with modern components, version history support, and optimistic state management. All previously identified issues with localization, validation, and data formatting have been addressed. ✅ 6 resolved✅ Quality: Naive English pluralization of localized entity labels
✅ Quality: Version badge shows raw float instead of formatted version
✅ Edge Case: maxAssets can be submitted empty despite being required
✅ Quality: Token estimate loses thousands separators in preview stats
✅ Edge Case: Generic-content bold label relies on '. ' split, fragile for i18n
...and 1 more resolved from earlier reviews OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |



Describe your changes:
Fixes #29826
Screen.Recording.2026-07-13.at.5.15.35.PM.mov
Screen.Recording.2026-07-13.at.1.51.07.PM.mov
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.Summary by Gitar
Ant Designcomponents withui-core-componentsandUntitleduiicons acrossPersonaAIContextandContextRuleEditor.ContextRuleCardandContextPreviewModalwith updated layouts, badges, and status indicators.VersionHistoryDrawerto track and visualize changes to thePersonaAI context definition.PersonaDetailsPageto improve tab content management and performance.This will update automatically on new commits.
Greptile Summary
This PR revamps the Persona AI Context experience. The main changes are:
Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
Comments Outside Diff (1)
openmetadata-ui/src/main/resources/ui/src/components/Settings/Persona/PersonaAIContext/ContextRuleEditor/RuleQueryBuilderField.component.tsx, line 45-52 (link)When the query builder clears the visible query,
updatedTreecan be empty and this fallback keeps the previousfilterJsonTree. The rule can then savequeryFilter: ''with a stale tree, so reopening the editor or rendering the card can show the old condition even though the actual filter was cleared.Reviews (9): Last reviewed commit: "fix unti test" | Re-trigger Greptile
Context used (3)