Repository navigation
Rename i18n key: what-should-ask-collate-remember → what-should-ai-remember - #32140
Conversation
…ai-remember Replace the old product-branded key with a generic AI key across the component and all 20 locale files, and move the key from the label namespace to the message namespace where the component expects it. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Restore natsConnection.json to match origin/main exactly. The formatting changes (multiline array expansion) were an unintended editor artifact bundled into the previous commit; this reverts them to keep the PR scoped to the i18n key rename only. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
| Count | Rule |
|---|---|
| 3 | sonarjs/cyclomatic-complexity |
| 1 | sonarjs/cognitive-complexity |
| 1 | sonarjs/expression-complexity |
| 1 | sonarjs/no-nested-functions |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:255:4 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 36 which is greater than 10 authorized.","cost":26,"secondaryLocations":[{"line":255,"column":3,"endLine":255,"endColum |
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:329:16 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 11 which is greater than 10 authorized.","cost":1,"secondaryLocations":[{"line":329,"column":15,"endLine":329,"endColum |
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:422:57 |
sonarjs/cognitive-complexity |
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed. |
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:422:57 |
sonarjs/cyclomatic-complexity |
{"message":"Function has a complexity of 18 which is greater than 10 authorized.","cost":8,"secondaryLocations":[{"line":422,"column":56,"endLine":422,"endColum |
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:706:22 |
sonarjs/expression-complexity |
Reduce the number of conditional operators (4) used in the expression (maximum allowed 3). |
| 🟡 | src/components/ContextCenter/CreateMemoryModal/CreateMemoryModal.component.tsx:864:47 |
sonarjs/no-nested-functions |
Refactor this code to not nest functions more than 4 levels deep. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed
Code Review ✅ Approved 1 resolved / 1 findingsRenames the deprecated ✅ 1 resolved✅ Quality: Unrelated natsConnection.json reformatting diverges from spec
OptionsDisplay: 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 ✅ 218 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) 47m 21s ⏱️ Max setup 2m 44s · max shard execution 10m 26s · max shard-job elapsed before upload 13m 19s · reporting 3s 🌐 143.08 requests/attempt · 2.02 app boots/UI scenario · 11.50% 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 |
🚦 Removed from the merge queue —
|



Describe your changes:
I updated the i18n key
what-should-ask-collate-remember(value: "What should AskCollate remember?") towhat-should-ai-remember(value: "What should AI remember?") because the old key referenced the deprecated product name "AskCollate". The key was also in the wronglabelnamespace — it has been moved to themessagenamespace wheret('message.what-should-ai-remember')inCreateMemoryModal.component.tsxexpects it.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
Verified the key is present in the
messagenamespace of all 20 locale files and absent from thelabelnamespace.UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Greptile Summary
The PR replaces the deprecated AskCollate memory-prompt translation with “What should AI remember?” and moves it into the message namespace.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Reviews (5): Last reviewed commit: "lint fix" | Re-trigger Greptile