MAIT-76: Modify About tab to show only mAItion version#44
MAIT-76: Modify About tab to show only mAItion version#44
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds an inline client-side script to Changes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@patches/about.patch`:
- Around line 8-23: The stripAbout() routine currently hardcodes 'mAItion
Version' and leaves an always-on MutationObserver (_o) that rescans on every DOM
change; update stripAbout() to locate the About panel by a stable signal (prefer
using window.__WEBUI_NAME__ or matching a version regex like /\d+\.\d+\.\d+/ on
the panel text or a sibling label instead of the literal string), mark processed
panels with a data attribute (e.g. panel.dataset.aboutStripped = '1') to avoid
re-processing, call _o.disconnect() (or stop observing) after successfully
stripping the panel to avoid expensive global subtree observation, emit
console.warn if no candidate panel is found on the first run so regressions are
visible, and add a failsafe CSS rule that hides buttons inside
[data-about-stripped] to reduce FOUC until mutation handling runs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: f4446667-4481-4767-b9fb-a4765f3abcdb
📒 Files selected for processing (1)
patches/about.patch
Summary
patches/about.patchwhich injects aMutationObserverscript intobuild/index.htmlpatch -p0mechanism inentrypoint.shTest plan