regression: unresolved @rocket.chat/string-helpers import breaks Omnichannel queue side panel - #41816
Conversation
…nichannel queue side panel Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 8 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (9)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
apps/meteor/**📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (2)📚 Learning: 2026-03-27T14:52:56.865ZApplied to files:
📚 Learning: 2026-05-06T12:21:44.083ZApplied to files:
🔇 Additional comments (1)
WalkthroughThe change updates the ChangesescapeHTML import
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized import fix restores the Omnichannel queue side panel build and preserves the intended escaped message preview behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #41816 +/- ##
========================================
Coverage 69.23% 69.23%
========================================
Files 4234 4234
Lines 167280 167283 +3
Branches 29796 29779 -17
========================================
+ Hits 115818 115821 +3
+ Misses 46302 46300 -2
- Partials 5160 5162 +2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Closing this one because it was fixed here: #41815 |
Proposed changes (including videos or screenshots)
InquireSidePanelItemimportsescapeHTMLfrom@rocket.chat/string-helpers, a package that no longer exists in the monorepo and is not a dependency ofapps/meteor. This points the import at nothing, so the Omnichannel queue side panel items break at runtime.Two PRs combined to produce this:
@rocket.chat/string-helpersin favor of@rocket.chat/tools#41763 (742009a091) dropped the@rocket.chat/string-helperspackage in favor of@rocket.chat/tools, which is whereescapeHTMLlives now.b2c16d5842) added theescapeHTMLimport while still pointing at@rocket.chat/string-helpers. The import was valid when that branch was written, but chore: drop@rocket.chat/string-helpersin favor of@rocket.chat/tools#41763 landed first and fix: special characters not escaped in Omnichannel queue side panel message preview #41595 merged without picking it up, sodevelopended up importing a deleted package.The Meteor bundler surfaces it as an unresolved module during the build:
This PR repoints the import to
@rocket.chat/tools, which is already a workspace dependency ofapps/meteorand exports the sameescapeHTML(packages/tools/src/escapeHTML.ts). It is the module every otherescapeHTMLcall site in the repo uses, so this only aligns the one straggler. No behavior change beyond restoring the escaping that #41595 intended.No changeset: the breakage exists only on
developand was never released, so there is nothing to tell end users about.Issue(s)
Regression from #41595, caused by the package removal in #41763.
Steps to test or reproduce
developatb2c16d5842or later and build the Meteor app. Note theUnable to resolve some modules: "@rocket.chat/string-helpers"warning.<b>bold</b> & "quoted".<b>bold</b> & "quoted"rather than crashing or rendering markup.Further comments
escapeHTMLmoved in #41763; the dangling import arrived in #41595.Summary by CodeRabbit